This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/13877] New: gdb coredumps on FreeBSD ia64


http://sourceware.org/bugzilla/show_bug.cgi?id=13877

             Bug #: 13877
           Summary: gdb coredumps on FreeBSD ia64
           Product: gdb
           Version: 6.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
        AssignedTo: unassigned@sourceware.org
        ReportedBy: mexas@bristol.ac.uk
    Classification: Unclassified


I've GDB 6.1.1 on FreeBSD 10-current ia64.

(There's 7.4 in FreeBSD ports, but it doesn't build:

configure: error: "*** Gdb does not support native target
ia64-portbld-freebsd9.9"
gmake[1]: *** [configure-gdb] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/gdb/work/gdb-7.4')

It dumps core while analysing coredumps produced
by other programs, e.g.:


% gdb /usr/local/bin/surf surf.core 
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "ia64-marcel-freebsd"...
Core was generated by `surf'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libwebkitgtk-1.0.so.0...Segmentation fault
(core dumped)
%

% gdb /usr/bin/gdb gdb.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "ia64-marcel-freebsd"...
Core was generated by `gdb'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libreadline.so.8...done.
Loaded symbols for /lib/libreadline.so.8
Reading symbols from /lib/libncurses.so.8...done.
Loaded symbols for /lib/libncurses.so.8
Reading symbols from /usr/lib/libgnuregex.so.5...done.
Loaded symbols for /usr/lib/libgnuregex.so.5
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/lib/libthread_db.so...done.
Loaded symbols for /usr/lib/libthread_db.so
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0000000120ae4e31 in bcopy () from /lib/libc.so.7
(gdb) bt
#0  0x0000000120ae4e31 in bcopy () from /lib/libc.so.7
#1  0x0000000120aa9e10 in fseek () from /lib/libc.so.7
#2  0x0000000000000000 in ?? ()
Previous frame identical to this frame (corrupt stack?)
(gdb)

Please advise

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]