[Bug libgcj/10746] [3.3/3.4 regression] [win32] garbage collection crash in GCJ
rmathew at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Aug 21 06:16:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10746
------- Additional Comments From rmathew at hotmail dot com 2003-08-21 06:16 -------
FWIW, the test program does not crash for me even after repeated
attempts. I am using GCC 3.4 snapshot for Win32 dated 20030802 as
available on Mohan's GCJ site: http://www.thisiscool.com/gcc_mingw.htm
(This snapshot has Boehm-GC 6.3 alpha 1.)
My machine is running Win2K with SP4 on a P4/1.7GHz with
512MB RAM.
I would also like to point out that getting a SEGV in the GC
while running inside a debugger is common and expected as
noted in this GCJ FAQ entry:
http://gcc.gnu.org/java/faq.html#5_2
I quote:
------------------------------- 8< -------------------------------
5.2 When I run the debugger I get a SEGV in the GC! What's going on?
This is "normal"; the Garbage Collector (GC) uses it to determine
stack boundaries. It is ordinarily caught and handled by the GC -- you
can see this in the debugger by using cont to continue to the "real"
segv.
------------------------------- 8< -------------------------------
BTW, Dara's compilation error was simply because the shell tries
to expand the "$1" in Test$1.class on the command line and expands
it to the empty string since the variable "1" is not defined.
More information about the Gcc-bugs
mailing list