[Qt-jambi-interest] Modifying a QTreeWidgetItem causes the JVM to crash. (Similar to bug #80337?)
Gunnar Sletta
gunnar at trolltech.com
Fri Jul 25 08:14:05 CEST 2008
Florian Hübner wrote:
> 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
Hi Florian,
Do you have an example I could look at?
-
Gunnar
More information about the Qt-jambi-interest
mailing list