This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Error messages
- To: java at gcc dot gnu dot org
- Subject: Error messages
- From: Torsten Rüger <torsten dot rueger at firsthop dot com>
- Date: Fri, 12 Oct 2001 13:22:57 +0300
Hi,
as a newbie, I keep making silly mistakes. These usually end in "core
dumped", which to me is not very informative. (Especially being used to
Java stack traces)
So I get the debuger out and look. Below are some stack traces:
1 - I think was because by linking in one of those object files where
the class has a $ at the end. So that would be an UnresolvedClassError
2 - ?? anyone has a clue ?
Thanks
Torsten
1 --
Starting program: /tmp/platform/Main
[New Thread 1024 (LWP 4228)]
Program received signal SIGABRT, Aborted.
[Switching to Thread 1024 (LWP 4228)]
0x4051c801 in __kill () from /lib/i686/libc.so.6
(gdb) where
#0 0x4051c801 in __kill () from /lib/i686/libc.so.6
#1 0x404cf61b in raise (sig=6) at signals.c:65
#2 0x4051dd82 in abort () at ../sysdeps/generic/abort.c:88
#3 0x4019d7c7 in _Jv_Throw (value=0x859cff0) at
../../../gcc/libjava/exception.cc:100
#4 0x401b1eb2 in _Jv_RegisterClassHookDefault () at
../../../gcc/libjava/gcj/cni.h:64
#5 0x401b1d82 in _Jv_RegisterClasses (classes=0x84ed860) at
../../../gcc/libjava/java/lang/natClassLoader.cc:444
#6 0x08065ccd in frame_dummy ()
#7 0x08062b8d in _init ()
#8 0x4050b161 in __libc_start_main (main=0x8065cd8 <main>, argc=1,
ubp_av=0xbffff7c4, init=0x8062b7c <_init>,
fini=0x8345cbc <_fini>, rtld_fini=0x4000e184 <_dl_fini>,
stack_end=0xbffff7bc)
at ../sysdeps/generic/libc-start.c:122
2 --
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 7657)]
0x0841596c in GC_exclude_static_roots (start=0x86c9de0,
finish=0x86c9f20) at ../../../gcc/boehm-gc/mark_rts.c:412
412
GC_excl_table[next_index].e_start = (ptr_t)start;
(gdb) where
#0 0x0841596c in GC_exclude_static_roots (start=0x86c9de0,
finish=0x86c9f20)
at ../../../gcc/boehm-gc/mark_rts.c:412
#1 0x08416131 in GC_init_inner () at ../../../gcc/boehm-gc/misc.c:516
#2 0x08415fbb in GC_init () at ../../../gcc/boehm-gc/misc.c:442
#3 0x0841014f in GC_init_gcj_malloc (mp_index=0, mp=0x83ec690) at
../../../gcc/boehm-gc/gcj_mlc.c:59
#4 0x083ed32a in _Jv_InitGC() () at ../../../gcc/libjava/boehm.cc:491
#5 0x08343eb1 in _Jv_RegisterClasses (classes=0x86d3058) at
../../../gcc/libjava/java/lang/natClassLoader.cc:435
#6 0x080481e9 in frame_dummy ()
#7 0x080480c5 in _init ()
#8 0x0842801a in __libc_start_main (main=0x80481f4 <main>, argc=3,
ubp_av=0xbffff7b4, init=0x80480b4 <_init>,
fini=0x8477a60 <_fini>, rtld_fini=0, stack_end=0xbffff7ac) at
../sysdeps/generic/libc-start.c:122