Quick-Turn-Studio / CLionSupportForQt

19 stars 0 forks source link

[Bug]: IDE hangs/crashes randomly #65

Open moqmar opened 1 year ago

moqmar commented 1 year ago

Plugin

QML Editor

Describe the bug

When editing QML files, IDEA sometimes hangs completely and is basically unrecoverable - I waited for 15 minutes before killing it from task manager. This happened a couple of times now.

There are some threadDump files which might help with this issue (all look basically the same): threadDumps-freeze-20230327-103903-IU-223.8836.41/threadDump-20230327-103918.txt I couldn't find anything related to QML or threadDumps in the idea.log file, it seems like the error isn't logged there.

Reproduction steps

I have no idea how to reproduce this issue, it happens seemingly randomly whenever I edit text in a QML file (mostly when adding new lines).

grabusr commented 1 year ago

Hi Moritz

Could you provide example QML file? We will try to work on it and reproduce this bug.

moqmar commented 1 year ago

Finally it happened again, and now I was even able to reproduce it. :D

All you need is the following QML file:

A {
  b.o
  onC: {}
}

Now, adding an n after the b.o (e.g. to write b.onX: {}), the IDE hangs as described.

Edit: I've also had that happen without the b., just by adding another signal handler before another one.

moqmar commented 12 months ago

@grabusr Did you get a chance to look into this & can reproduce the issue?