fault
Boehm, Hans
hans_boehm@hp.com
Sat Sep 16 15:36:00 GMT 2000
Unfortunately, this doesn't look familiar to me. GC_thr_init invokes
sigaction(<sig>, &act, NULL), for SIGPWR and SIGXCPU. act is a local struct
sigaction. Was there some version of glibc/linuxthreads that couldn't
handle a NULL third argument? Any other guesses?
Hans
> -----Original Message-----
> From: mark kimsal [ mailto:chugadie.geo@yahoo.com ]
> Sent: Saturday, September 16, 2000 1:59 PM
> To: java-discuss@sources.redhat.com
> Subject: fault
>
>
> > Here is the backtrace from a program that I made with GCJ.
> It gives a
> > segmentation fault whenever i use -lpthread with the
> linking program.
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x2ad8e02f in sigaction () from /lib/libc.so.6
> > (gdb) backtrace
> > #0 0x2ad8e02f in sigaction () from /lib/libc.so.6
> > #1 0x2aacd6a0 in sigaction () from /lib/libpthread.so.0
> > #2 0x2ad4b7fb in GC_thr_init () at
> ../../../egcs/boehm-gc/linux_threads.c:458
> > #3 0x2ad4e8ff in GC_init_inner () at
> ../../../egcs/boehm-gc/misc.c:456
> > #4 0x2ad4bd92 in GC_generic_malloc_inner (lb=10, k=0)
> > at ../../../egcs/boehm-gc/malloc.c:61
> > #5 0x2ad4bef3 in GC_generic_malloc (lb=10, k=0)
> > at ../../../egcs/boehm-gc/malloc.c:129
> > #6 0x2ac9851b in _Jv_AllocBytes (size=10)
> > at ../../../egcs/libjava/boehm.cc:327
> > #7 0x2ac1c262 in _Jv_makeUtf8Const (s=0x2acbee39 "()V", len=3)
> > at ../../../egcs/libjava/prims.cc:235
> > #8 0x2ac833f1 in __static_initialization_and_destruction_0
> (__initialize_p=1,
> > __priority=65535) at
> ../../../egcs/libjava/java/lang/natClass.cc:70
> > #9 0x2ac83498 in global constructors keyed to
> java::lang::Class::forName ()
> > at ../../../egcs/libjava/java/lang/natClass.cc:73
> > #10 0x2ac9b78d in __do_global_ctors_aux ()
> > at ../../../egcs/libjava/java/lang/natClass.cc:73
> > #11 0x2ac16462 in _init () from /usr/local/ag/lib/libgcj.so.1
>
More information about the Java
mailing list