This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
-----BEGIN PGP SIGNED MESSAGE-----
Hello all,
I just get the latest egcs and libgcj sources from cvs.
I have compiled them, installed in /opt
Than I wrote a simple app:
bash-2.02$ cat Main.java
public class Main {
public static void main(String argv[]) {
System.out.println("Hello world");
}
}
Than I compiled it:
gcj --main=Main Main.java -o m -lpthread
And successully get a core :-)))
bash-2.02$ ./m
Segmentation fault (core dumped)
GDB says:
(gdb) bt
#0 GC_push_all_stack (bottom=0x7ffff9cc "üùÿ\177Ê¡\a\bÌùÿ\177",
top=0xc0000000 <Address 0xc0000000 out of bounds>)
at ../../../libgcj/boehm-gc/mark.c:805
#1 0x807a1ca in GC_push_roots (all=1)
at ../../../libgcj/boehm-gc/mark_rts.c:453
#2 0x8078e08 in GC_mark_some () at ../../../libgcj/boehm-gc/mark.c:271
#3 0x80769b6 in GC_stopped_mark (stop_func=0x8076640 <GC_never_stop_func>)
at ../../../libgcj/boehm-gc/alloc.c:396
#4 0x80768c7 in GC_try_to_collect_inner (
stop_func=0x8076640 <GC_never_stop_func>)
at ../../../libgcj/boehm-gc/alloc.c:290
#5 0x807a6b4 in GC_init_inner () at ../../../libgcj/boehm-gc/misc.c:538
#6 0x8078467 in GC_generic_malloc_inner (lb=2052, k=0)
at ../../../libgcj/boehm-gc/malloc.c:91
#7 0x8051a43 in _Jv_InitGC () at ../../../libgcj/libjava/boehm.cc:335
#8 0x804cf98 in _Jv_RegisterClasses (classes=0x7ffffb54)
at ../../../libgcj/libjava/java/lang/natClass.cc:582
#9 0x804d013 in _Jv_RegisterClass (klass=0x809ac80)
at ../../../libgcj/libjava/java/lang/natClass.cc:602
#10 0x80765f3 in gnu.gcj.convert.Output_8859_1.Output_8859_1 ()
at ../../../libgcj/libjava/gnu/gcj/convert/Output_8859_1.java:30
#11 0x807f179 in __do_global_ctors_aux () at include/typeinfo:22
#12 0x8049962 in _init ()
Any comments?
--
Sincerely Yours,
Denis Y. Pershin
----------------------------------
E-Mail: dyp@inetlab.com
HomePage: http://www.software.ru/dyp/
FidoNet: 2:5000/120.5
----------------------------------
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: dUqsqnQmhMFH+Szi1VjX9Z6dbiUnuIBb
iQA/AwUANwxCfOfFA21UsklCEQIHyACggo+br8qDp/sv95bbtH4pjykdp6MAoMjd
u3TKsOLfujfLkwCaIRlBLRvT
=W9PK
-----END PGP SIGNATURE-----