[Qt-jambi-interest] Modifying a QTreeWidgetItem causes the JVM to crash. (Similar to bug #80337?)
Florian Hübner
florian.huebner at psi.ch
Wed Jul 9 16:42:54 CEST 2008
Hello,
after upgrading from jambi 4.3.3_01 to 4.4.0_01 I noticed that modifying
a QTreeWidgetItem can crash the JVM under certain conditions.
I have a method that takes a QTreeWidgetItem as argument, removes all
child nodes with takeChildren() and then adds more nodes afterwards. The
first time I activate this method everything works fine but when I click
on it twice in a row the jvm crashes with the crash log attached below.
Testing it some time I found out the following:
1. Nodes that have a lot nested child nodes are more likely to crash,
Nodes without children seem not to crash at all.
2. Clicking on other nodes before clicking on one that would crash
prevents the crash.
3. Repeating #2 often enough sometimes makes it possible to click on a
node that would normally crash, after clicking it twice, multiple times
without crashing the jvm.
4. Removing the takeChildren() crashes the jvm when adding nodes instead.
5. Using version 4.3.3_01 stops the crashes altogether.
best regards
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hs_err_pid7335.log
Type: text/x-log
Size: 31126 bytes
Desc: not available
Url : http://lists.qt.nokia.com/pipermail/qt-jambi-interest/attachments/20080709/f5d3d43f/attachment.bin
More information about the Qt-jambi-interest
mailing list