This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/10746] [3.3/3.4 regression] [win32] garbage collection crash in GCJ
- From: "oyvind dot harboe at zylin dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jul 2003 11:47:42 -0000
- Subject: [Bug libgcj/10746] [3.3/3.4 regression] [win32] garbage collection crash in GCJ
- References: <20030512122601.10746.oyvind.harboe@zylin.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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 oyvind dot harboe at zylin dot com 2003-07-25 11:47 -------
No big news, just more evidence that this is a Windows specific problem:
- I've got RedHat 9 running on a 200MHz PPro w/128 MB ram. Works like a
charm. :-)
- Downloaded the latest GCC 3.4
- ran configure + make
- gcj -static --main=Test -o test Test.java
- Ran ./test for ~1 hour. No GP or other visible problems.
I did run into something unexpected when I tried to run the test app from GDB
under Linux, but thats probably just my limited linux skills... Or its most
certainly something unrelated. The application recieves a "signal" as soon as I
launch it.
[oyvind@fury test]$ gdb test
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...run
(gdb) run
Starting program: /home/oyvind/gcc/test/test
Program received signal SIG32, Real-time event 32.
0x08167799 in sigsuspend ()
(gdb) bt
#0 0x08167799 in sigsuspend ()
#1 0xbfffd850 in ?? ()
#2 0x08152835 in __pthread_wait_for_restart_signal ()
#3 0x08152a93 in pthread_create ()
#4 0x080bfa04 in GC_pthread_create (new_thread=0xfffffffc, attr=0xbfffda00,
start_routine=0xfffffffc, arg=0xfffffffc)
at ../../../gcc-3.4-20030723/boehm-gc/linux_threads.c:1424
#5 0x080b9c27 in _Jv_ThreadStart(java::lang::Thread*, _Jv_Thread_t*, void (*)(j
ava::lang::Thread*)) (thread=0x834fc80, data=0x8356e20, meth=0xfffffffc)
at ../../../gcc-3.4-20030723/libjava/posix-threads.cc:424
#6 0x0807b6ff in java::lang::Thread::start() (this=0x8392ff8)
at ../../../gcc-3.4-20030723/libjava/java/lang/natThread.cc:316
#7 0x08049fea in _Jv_CreateJavaVM(void*) ()
at ../../../gcc-3.4-20030723/libjava/prims.cc:935
#8 0x0804a06e in _Jv_RunMain(java::lang::Class*, char const*, int, char const**
, bool) (klass=0x824e440, name=0xbfffda00 "\001", argc=137719328,
argv=0x834fc80, is_jar=false)
at ../../../gcc-3.4-20030723/libjava/prims.cc:958
#9 0x0804a1ff in JvRunMain (klass=0xfffffffc, argc=-4, argv=0xfffffffc)
at ../../../gcc-3.4-20030723/libjava/prims.cc:996
#10 0x0804820e in main (argc=1, argv=0xbfffdd64) at /tmp/ccWOni7Z.i:11
#11 0x08159dd7 in __libc_start_main ()
(gdb)