public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/29206]  New: [4.2 regression] gcj-dbtool segfaults
@ 2006-09-24 23:04 debian-gcc at lists dot debian dot org
  2006-09-25 15:05 ` [Bug target/29206] " steven at gcc dot gnu dot org
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-09-24 23:04 UTC (permalink / raw)
  To: gcc-bugs

[forwarded from http://bugs.debian.org/387875 ]
[forwarded from http://bugs.debian.org/388505 ]

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 
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-gnu"...Using host libthread_db library
"/lib/libthread_db.so\
.1". 

(gdb) set args -n 
(gdb) run 
Starting program: /scratch/packages/gcc/4.2/tstinstall/bin/gcj-dbtool -n 
[Thread debugging using libthread_db enabled] 
[New Thread 16384 (LWP 17786)] 

Program received signal SIGSEGV, Segmentation fault. 
[Switching to Thread 16384 (LWP 17786)] 
GC_push_all_eager (bottom=<value optimized out>,  
    top=0xc0345d48
"&#65533;4]HB&#65533;\003@B&#65533;&#65533;&#65533;O&#65533;&#65533;") 
    at ../../../gcc-20060910/boehm-gc/mark.c:1468 
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
"&#65533;4]HB&#65533;\003@B&#65533;&#65533;&#65533;O&#65533;&#65533;") 
    at ../../../gcc-20060910/boehm-gc/mark.c:1468 
#1  0x4214f74c in GC_push_all_stacks () 
    at ../../../gcc-20060910/boehm-gc/pthread_stop_world.c:307 
#2  0x42147d58 in GC_push_roots (all=16384, cold_gc_frame=0xc0345b48
"B&#65533;&#65533;@") 
    at ../../../gcc-20060910/boehm-gc/mark_rts.c:646 
#3  0x42147438 in GC_mark_some (cold_gc_frame=0xc0345d48
"&#65533;4]HB&#65533;\003@B&#65533;&#65533;&#65533;O&#65533;&#65533;") 
    at ../../../gcc-20060910/boehm-gc/mark.c:326 
#4  0x4213d5cc in GC_stopped_mark (stop_func=0x4000) 
    at ../../../gcc-20060910/boehm-gc/alloc.c:531 
#5  0x4213d9c4 in GC_try_to_collect_inner (stop_func=0x4000) 
    at ../../../gcc-20060910/boehm-gc/alloc.c:378 
#6  0x42149718 in GC_init_inner () at ../../../gcc-20060910/boehm-gc/misc.c:789 
#7  0x421499e4 in GC_init () at ../../../gcc-20060910/boehm-gc/misc.c:493 
#8  0x42142f94 in GC_init_gcj_malloc (mp_index=-1078702080, mp=0xc0345d48) 
    at ../../../gcc-20060910/boehm-gc/gcj_mlc.c:60 
#9  0x4146df2c in _Jv_InitGC () at ../../../gcc-20060910/libjava/boehm.cc:503 
#10 0x41414664 in _Jv_CreateJavaVM (vm_args=0x0) 
    at ../../../gcc-20060910/libjava/prims.cc:1434 
#11 0x41414e48 in _Jv_RunMain (vm_args=0x4000, klass=0x26770,  
    name=0xc0345b48 "B&#65533;&#65533;@", argc=2, argv=0xc034540c,
is_jar=false) 
    at ../../../gcc-20060910/libjava/prims.cc:1520 
#12 0x414151c8 in _Jv_RunMain (klass=0xc0345d48,  
    name=0xb <Address 0xb out of bounds>, argc=1119747456,  
    argv=<value optimized out>, is_jar=false) 
    at ../../../gcc-20060910/libjava/prims.cc:1593 
#13 0x414151f4 in JvRunMain (klass=0xbfb45000, argc=1, argv=0x42bdfd80) 
    at ../../../gcc-20060910/libjava/prims.cc:1599 
#14 0x42f14338 in __libc_start_main () from /lib/libc.so.6 
#15 0x00012610 in _start () at ../sysdeps/hppa/elf/start.S:84


-- 
           Summary: [4.2 regression] gcj-dbtool segfaults
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
GCC target triplet: hppa-linux-gnu arm-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29206


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2010-05-22 18:17 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-24 23:04 [Bug target/29206] New: [4.2 regression] gcj-dbtool segfaults debian-gcc at lists dot debian dot org
2006-09-25 15:05 ` [Bug target/29206] " steven at gcc dot gnu dot org
2006-09-28 19:30 ` [Bug target/29206] [4.2 regression] " debian-gcc at lists dot debian dot org
2006-09-28 19:31 ` debian-gcc at lists dot debian dot org
2006-09-28 20:53 ` dave at hiauly1 dot hia dot nrc dot ca
2006-10-08 11:05 ` debian-gcc at lists dot debian dot org
2006-10-24  8:15 ` [Bug target/29206] [4.2/4.3 " pinskia at gcc dot gnu dot org
2006-11-06 19:34 ` drow at gcc dot gnu dot org
2006-11-06 21:09 ` dave at hiauly1 dot hia dot nrc dot ca
2006-11-06 21:48 ` drow at gcc dot gnu dot org
2006-11-06 22:14 ` debian-gcc at lists dot debian dot org
2007-02-19 20:27 ` mmitchel at gcc dot gnu dot org
2007-05-14 21:32 ` mmitchel at gcc dot gnu dot org
2007-10-09 19:30 ` mmitchel at gcc dot gnu dot org
2008-02-01 16:55 ` jsm28 at gcc dot gnu dot org
2008-05-19 20:35 ` [Bug target/29206] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2009-03-31 19:44 ` [Bug target/29206] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
2009-08-04 12:35 ` rguenth at gcc dot gnu dot org
2009-10-26 12:29 ` dl9pf at gmx dot de
2010-05-22 18:17 ` [Bug target/29206] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).