Bug 33746 - atexit call in Gtk+ peers causing problems with JikesRVM
Summary: atexit call in Gtk+ peers causing problems with JikesRVM
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: classpath (show other bugs)
Version: 0.95
: P3 normal
Target Milestone: 0.96
Assignee: Andrew John Hughes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-12 09:56 UTC by Andrew John Hughes
Modified: 2007-10-12 10:16 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
Patch from JikesRVM-51 (329 bytes, patch)
2007-10-12 09:57 UTC, Andrew John Hughes
Details | Diff
Patch committed to Classpath (404 bytes, patch)
2007-10-12 10:16 UTC, Andrew John Hughes
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew John Hughes 2007-10-12 09:56:27 UTC
http://jira.codehaus.org/browse/RVM-51

So the failure is that gtk peers uses an atexit routine. When we call the system call exit this is triggering the atexit routine that is calling JNI methods that can never enter as the system call doesn't transition the virtual processor status from IN_JAVA to IN_NATIVE.
Comment 1 Andrew John Hughes 2007-10-12 09:57:06 UTC
Created attachment 14345 [details]
Patch from JikesRVM-51
Comment 2 Andrew John Hughes 2007-10-12 10:16:34 UTC
Created attachment 14346 [details]
Patch committed to Classpath
Comment 3 Andrew John Hughes 2007-10-12 10:16:50 UTC
Committed.