gcj-dbtool segfaults on hppa-linux
Bug #89408 reported by
Matthias Klose
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc |
Invalid
|
Medium
|
|||
gcj-4.1 (Debian) |
Fix Released
|
Unknown
|
|||
gcj-4.1 (Ubuntu) |
Fix Released
|
Medium
|
Ubuntu HPPA Architecture Team |
Bug Description
Binary package hint: gcj-4.1
gcj-dbtool segfaults, when trying to add jar files to the database; see the
debian and upstream reports for more information.
Changed in gcj-4.1: | |
status: | Unconfirmed → Confirmed |
importance: | Undecided → Medium |
Changed in gcj-4.1: | |
assignee: | nobody → ubuntu-hppa |
Changed in gcj-4.1: | |
status: | Unknown → Confirmed |
Changed in gcc: | |
status: | Unknown → Unconfirmed |
Changed in gcc: | |
status: | New → Confirmed |
Changed in gcc: | |
importance: | Unknown → Medium |
Changed in gcc: | |
status: | Confirmed → Incomplete |
Changed in gcc: | |
status: | Incomplete → Invalid |
Changed in gcj-4.1 (Debian): | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
[forwarded from http:// bugs.debian. org/387875 ] bugs.debian. org/388505 ]
[forwarded from http://
gcj-dbtool segfaults on hppa-linux-gnu and arm-linux-gnu; arm doesn't have libjava support yet; the patches available from http:// gcc.gnu. org/ml/ java/2006- 08/msg00123. html were used.
rechecked both with a new 4.2 as a debian package and a vanilla
upstream build. the installed gcj-dbtool crashes. I don't see the
segfault, when gcj-dbtool is called during the build.
GNU gdb 6.4.90-debian gnu"... Using host libthread_db library "/lib/libthread _db.so\
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "hppa-linux-
.1".
(gdb) set args -n packages/ gcc/4.2/ tstinstall/ bin/gcj- dbtool -n
(gdb) run
Starting program: /scratch/
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 17786)]
Program received signal SIGSEGV, Segmentation fault. 4]HB� \003@B& #65533; � � O� � ") ./gcc-20060910/ boehm-gc/ mark.c: 1468 4]HB� \003@B& #65533; � � O� � ") ./gcc-20060910/ boehm-gc/ mark.c: 1468 ./gcc-20060910/ boehm-gc/ pthread_ stop_world. c:307 frame=0xc0345b4 8 "B� � @") ./gcc-20060910/ boehm-gc/ mark_rts. c:646 frame=0xc0345d4 8 "� 4]HB� \003@B& #65533; � � O� � ") ./gcc-20060910/ boehm-gc/ mark.c: 326 ./gcc-20060910/ boehm-gc/ alloc.c: 531 to_collect_ inner (stop_func=0x4000) ./gcc-20060910/ boehm-gc/ alloc.c: 378 ./gcc-20060910/ boehm-gc/ misc.c: 789 ./gcc-20060910/ boehm-gc/ misc.c: 493 -1078702080, mp=0xc0345d48) ./gcc-20060910/ boehm-gc/ gcj_mlc. c:60 ./gcc-20060910/ libjava/ boehm.cc: 503 ./gcc-20060910/ libjava/ prims.cc: 1434 � @", argc=2, argv=0xc034540c, is_jar=false) ./gcc-20060910/ libjava/ prims.cc: 1520
[Switching to Thread 16384 (LWP 17786)]
GC_push_all_eager (bottom=<value optimized out>,
top=0xc0345d48 "�
at ../../.
1468 q = *p;
(gdb) p p
$1 = (word *) 0xbfb45000
(gdb) p *p
Cannot access memory at address 0xbfb45000
(gdb) bt
#0 GC_push_all_eager (bottom=<value optimized out>,
top=0xc0345d48 "�
at ../../.
#1 0x4214f74c in GC_push_all_stacks ()
at ../../.
#2 0x42147d58 in GC_push_roots (all=16384, cold_gc_
at ../../.
#3 0x42147438 in GC_mark_some (cold_gc_
at ../../.
#4 0x4213d5cc in GC_stopped_mark (stop_func=0x4000)
at ../../.
#5 0x4213d9c4 in GC_try_
at ../../.
#6 0x42149718 in GC_init_inner () at ../../.
#7 0x421499e4 in GC_init () at ../../.
#8 0x42142f94 in GC_init_gcj_malloc (mp_index=
at ../../.
#9 0x4146df2c in _Jv_InitGC () at ../../.
#10 0x41414664 in _Jv_CreateJavaVM (vm_args=0x0)
at ../../.
#11 0x41414e48 in _Jv_RunMain (vm_args=0x4000, klass=0x26770,
name=0xc0345b48 "B�
at ../../.
#12 0x414151c8 in _Jv_RunMain (klass=0xc0345d48,
name=0xb <Address 0xb out of bounds>, argc=1119747456,
argv=<value optimized out>, is_jar=false)
...