After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 339788 - iter.getParent() kills app
iter.getParent() kills app
Status: RESOLVED FIXED
Product: java-gnome
Classification: Bindings
Component: GTK
mainline
Other Windows
: Normal normal
: ---
Assigned To: Remy Suen
java-gnome bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-26 09:21 UTC by Rob Staudinger
Modified: 2006-05-06 12:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
TreeTest.java (2.93 KB, text/plain)
2006-04-26 09:23 UTC, Rob Staudinger
  Details
Patch to prevent the test case from crashing. (752 bytes, patch)
2006-04-30 11:01 UTC, Remy Suen
accepted-commit_now Details | Review

Description Rob Staudinger 2006-04-26 09:21:43 UTC
Calling "iter.getParent()" on a TreeIter makes the whole app silently exit (regardless of whether there actually is a parent or not).
Comment 1 Rob Staudinger 2006-04-26 09:23:13 UTC
Created attachment 64304 [details]
TreeTest.java

add testcase
Comment 2 Remy Suen 2006-04-26 10:56:48 UTC
This may be related to bug #328612. I have reproduced the crash against CVS head.
Comment 3 Remy Suen 2006-04-26 21:33:43 UTC
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.
Comment 4 Remy Suen 2006-04-30 11:01:54 UTC
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.
Comment 5 Rob Staudinger 2006-04-30 15:50:50 UTC
The patch works for me, thanks.
Comment 6 Andrew Cowie 2006-05-01 03:41:42 UTC
Looks good.

AfC
Comment 7 Remy Suen 2006-05-06 12:15:14 UTC
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. :)