This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: boehm-gc: 'cant fork daemon' on Solaris2.7?


I don't recall seeing this before.  A thr_create call failed.  It was
trying to start a daemon that's used to handle joins as part of the GC's
support for Solaris threads. A system call trace might tell you a little
more.

Currently Solaris thread support is completely different from pthread
support on other platforms.  That has some performance advantages there,
but it also means that parallel collection and thread-local allocation
don't currently work, and parallel collection can't work with the current
scheme.  I would prefer to see the code merged.

Hans

On 15 Jul 2003, Adam Megacz wrote:

>
> Any idea what this means?
>
>   - a
>
>
> Starting program: /accounts/staff/megacz/./xwt.solaris
> ln: cannot create .bash_profile: File exists
> Cant fork daemon
>
> Program received signal SIGABRT, Aborted.
> 0xff11f8d8 in ?? ()
> (gdb) bt
> #0  0xff11f8d8 in ?? ()
> #1  0x0011e3b4 in GC_abort (msg=0xff13c004 "")
>     at ../../../../../src/gcc-3.3/boehm-gc/misc.c:964
> #2  0x00121730 in GC_thr_init ()
>     at ../../../../../src/gcc-3.3/boehm-gc/solaris_threads.c:805
> #3  0x0011dec4 in GC_init_inner ()
>     at ../../../../../src/gcc-3.3/boehm-gc/misc.c:597
> #4  0x0011dce4 in GC_init () at ../../../../../src/gcc-3.3/boehm-gc/misc.c:463
> #5  0x00119394 in GC_init_gcj_malloc (mp_index=0, mp=0x115258)
>     at ../../../../../src/gcc-3.3/boehm-gc/gcj_mlc.c:60
> #6  0x00115dc0 in _Jv_InitGC() ()
>     at ../../../../../src/gcc-3.3/libjava/boehm.cc:479
> #7  0x0009d2b4 in _Jv_CreateJavaVM(void*) ()
>     at ../../../../../src/gcc-3.3/libjava/prims.cc:897
> #8  0x0009d620 in _Jv_RunMain(java::lang::Class*, char const*, int, char const**, bool) (klass=0x1e9f40, name=0x0, argc=1, argv=0xffbefa5c, is_jar=false)
>     at ../../../../../src/gcc-3.3/libjava/prims.cc:973
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]