GNOME Bugzilla – Bug 339788
iter.getParent() kills app
Last modified: 2006-05-06 12:15:14 UTC
Calling "iter.getParent()" on a TreeIter makes the whole app silently exit (regardless of whether there actually is a parent or not).
Created attachment 64304 [details] TreeTest.java add testcase
This may be related to bug #328612. I have reproduced the crash against CVS head.
I forgot to mention that my VM actually crashes instead of "silently exit"-ing, which I presume is the same thing that was happening to Lars in the other bug.
Created attachment 64553 [details] [review] Patch to prevent the test case from crashing. This ought to do it. Please apply this patch and see if it fixes your problem.
The patch works for me, thanks.
Looks good. AfC
Committed to CVS head, and closing. Lars, per our email exchange, please reopen this bug or the one you originally filed if this fix doesn't solve your problem. Rob, thanks for the bug report, do let us know if you bump into any other problems. :)