This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/13212] AttachCurrentThread() not working
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Nov 2003 16:30:57 -0000
- Subject: [Bug libgcj/13212] AttachCurrentThread() not working
- References: <20031127132523.13212.alessio@itapac.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-27 16:30 -------
I can confirm it on a target that uses pthread (powerpc-apple-darwin):
#0 GC_local_gcj_malloc (bytes=40, ptr_to_struct_containing_descr=0x2531cc) at /Volumes/
UFS_Partition/pinskia/src/fsf/gcc-clean/src/boehm-gc/pthread_support.c:353
#1 0x0005f7a4 in _Jv_AllocObjectNoFinalizer (klass=0x25321c, size=40) at ./include/java-gc.h:
38
#2 0x0005f7f8 in _Jv_AllocObject (klass=0x25321c, size=72) at /Volumes/UFS_Partition/pinskia/
src/fsf/gcc-clean/src/libjava/prims.cc:421
#3 0x0006a398 in _Jv_AllocString (len=8) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/
src/libjava/gcj/javaprims.h:461
#4 0x0006a65c in _Jv_NewString (chars=0xf0101d84, len=8) at /Volumes/UFS_Partition/pinskia/
src/fsf/gcc-clean/src/libjava/java/lang/natString.cc:431
#5 0x000692ac in java::lang::Thread::gen_name() () at /Volumes/UFS_Partition/pinskia/src/fsf/
gcc-clean/src/libjava/gcj/cni.h:52
#6 0x00069438 in _Jv_AttachCurrentThread (name=0x0, group=0x0) at /Volumes/UFS_Partition/
pinskia/src/fsf/gcc-clean/src/libjava/java/lang/natThread.cc:406
#7 0x000027f4 in JvAttachCurrentThread(java::lang::String*, java::lang::ThreadGroup*)
(name=0x0, group=0x0)
#8 0x00002724 in subStart(void*) (th=0x10754a0)
#9 0x900247e8 in _pthread_body ()
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-11-27 16:30:56
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13212