Java programs segfault on exit
Tue Apr 24 19:53:00 GMT 2001
On Wednesday, April 25, 2001, at 07:49 AM, Andrew Haley wrote:
> At the present time, gcj (x86 Linux) on the trunk is not working.
> Every Java programs crashes at exit. This is because the routine
> gnu.gcj.runtime.FileDeleter.deleteOnExitNow() is being miscompiled at
> This will cause gcj tests to fail or hang.
It has been doing this (on the trunk, not the branch) for some time.
IIRC the existing hypothesis was that it had to do with exit() and
pthreads and the order in which things were being linked by libtool.
However, if its a miscompilation then that might better explain why it
occurs on the trunk but not the branch (but not why it doesn't occur
with static linking, unless its a PIC thing).
[ bryce ]
More information about the Java