This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/954: gdb core dump while debugging
- From: bje at prosafe dot as
- To: gdb-gnats at sources dot redhat dot com
- Date: 23 Jan 2003 10:25:20 -0000
- Subject: gdb/954: gdb core dump while debugging
- Reply-to: bje at prosafe dot as
>Number: 954
>Category: gdb
>Synopsis: gdb core dump while debugging
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 23 10:28:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: bje@prosafe.as
>Release: GNU gdb 5.3
>Organization:
>Environment:
GNU gdb 5.3
GDB was compiled with GCC 3.2.1
GDB was running on Linux serv1.safedevel.net 2.4.18-6mdk #1 Fri Mar 15 02:59:08 CET 2002 i686 unknown
>Description:
Gdb dumped core while running a program:
(gdb) run safedevel.net ../etc/config.xml
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/bje/full-server/bin/safeipd safedevel.net ../etc/config.xml
Segmentation fault (core dumped)
[bje@serv1 log]$
The program being runned by gdb was a threaded C++ program compiled with a version of gcc distributed for Mandrake GNU/linux called gcc-2.96-0.76mdk.
Gdb itself was compiled by a clean gcc 3.2.1.
The stack trace is:
(gdb) bt
#0 check_typedef (type=0x8cfbfd4) at gdbtypes.c:1339
#1 0x080b00b4 in total_number_of_methods (type=0x8cfbfd4) at linespec.c:99
#2 0x080b00ed in total_number_of_methods (type=0x8ad6a64) at linespec.c:105
#3 0x080b00ed in total_number_of_methods (type=0x8aff090) at linespec.c:105
#4 0x080b159d in decode_line_1 (argptr=0xbfffeadc, funfirstline=1, default_symtab=0x8d0b4c4,
default_line=810, canonical=0x0) at linespec.c:803
#5 0x0808a114 in breakpoint_re_set_one (bint=0x8cff758) at breakpoint.c:6942
#6 0x081007d1 in do_catch_errors (uiout=0x82749a8, data=0x7379732f) at top.c:492
#7 0x081006e6 in catcher (func=0x81007c0 <do_catch_errors>, func_uiout=0x82749a8,
func_args=0xbfffec30, func_val=0xbfffec28, func_caught=0xbfffec2c,
errstring=0x7379732f <Address 0x7379732f out of bounds>, mask=6) at top.c:424
#8 0x0810082a in catch_errors (func=0x7379732f, func_args=0x7379732f,
errstring=0x7379732f <Address 0x7379732f out of bounds>, mask=1937339183) at top.c:504
#9 0x0808a337 in breakpoint_re_set () at breakpoint.c:7102
#10 0x080aaf6a in new_symfile_objfile (objfile=0x7379732f, mainline=0, verbo=0) at symfile.c:817
#11 0x080ab0be in symbol_file_add (
name=0x8489a28 "/usr/local/CommonC++-1.2.5-safeip/lib/libccxx-1.2.so.0", from_tty=0,
addrs=0x7379732f, mainline=0, flags=8) at symfile.c:931
#12 0x080d2d96 in symbol_add_stub (arg=0x8489820) at solib.c:341
#13 0x081007d1 in do_catch_errors (uiout=0x82749a8, data=0x7379732f) at top.c:492
#14 0x081006e6 in catcher (func=0x81007c0 <do_catch_errors>, func_uiout=0x82749a8,
func_args=0xbfffee80, func_val=0xbfffee78, func_caught=0xbfffee7c,
errstring=0x7379732f <Address 0x7379732f out of bounds>, mask=6) at top.c:424
#15 0x0810082a in catch_errors (func=0x7379732f, func_args=0x7379732f,
errstring=0x7379732f <Address 0x7379732f out of bounds>, mask=1937339183) at top.c:504
#16 0x080d30cf in solib_add (pattern=0x0, from_tty=0, target=0x7379732f, readsyms=1) at solib.c:568
#17 0x080b6664 in handle_inferior_event (ecs=0xbfffef90) at infrun.c:2434
#18 0x080b557f in wait_for_inferior () at infrun.c:1226
#19 0x080b5326 in proceed (addr=9, siggnal=TARGET_SIGNAL_0, step=0) at infrun.c:1021
#20 0x080d8560 in lin_lwp_create_inferior (
exec_file=0x7379732f <Address 0x7379732f out of bounds>,
allargs=0x7379732f <Address 0x7379732f out of bounds>, env=0x7379732f) at lin-lwp.c:1331
#21 0x081159fe in thread_db_create_inferior (
exec_file=0x7379732f <Address 0x7379732f out of bounds>,
allargs=0x7379732f <Address 0x7379732f out of bounds>, env=0x7379732f) at thread-db.c:868
#22 0x080b1eca in run_command (args=0x8254895 "safedevel.net ../etc/config.xml", from_tty=1)
at infcmd.c:465
#23 0x08074c09 in do_cfunc (c=0x7379732f, args=0x7379732f <Address 0x7379732f out of bounds>,
from_tty=1937339183) at cli/cli-decode.c:53
#24 0x08076a5c in cmd_func (cmd=0x82617b8, args=0x7379732f <Address 0x7379732f out of bounds>,
from_tty=1937339183) at cli/cli-decode.c:1523
#25 0x08100b95 in execute_command (p=0x82548b3 "l", from_tty=136714168) at top.c:711
#26 0x080c0151 in command_handler (command=0x8254890 "") at event-top.c:504
#27 0x080c057d in command_line_handler (rl=0x1 <Address 0x1 out of bounds>) at event-top.c:799
#28 0x081acbf5 in rl_callback_read_char () at callback.c:114
#29 0x080bfabb in rl_callback_read_char_wrapper (client_data=0x0) at event-top.c:168
#30 0x080c004a in stdin_event_handler (error=0, client_data=0x7379732f) at event-top.c:418
#31 0x080bf33e in handle_file_event (event_file_desc=147832788) at event-loop.c:714
#32 0x080bede7 in process_event () at event-loop.c:334
#33 0x080bee48 in gdb_do_one_event (data=0x0) at event-loop.c:371
#34 0x081007d1 in do_catch_errors (uiout=0x82749a8, data=0x7379732f) at top.c:492
#35 0x081006e6 in catcher (func=0x81007c0 <do_catch_errors>, func_uiout=0x82749a8,
func_args=0xbffff370, func_val=0xbffff368, func_caught=0xbffff36c,
errstring=0x7379732f <Address 0x7379732f out of bounds>, mask=6) at top.c:424
#36 0x0810082a in catch_errors (func=0x7379732f, func_args=0x7379732f,
errstring=0x7379732f <Address 0x7379732f out of bounds>, mask=1937339183) at top.c:504
#37 0x080bee84 in start_event_loop () at event-loop.c:395
#38 0x08072692 in captured_command_loop (data=0x0) at main.c:96
#39 0x081007d1 in do_catch_errors (uiout=0x82749a8, data=0x7379732f) at top.c:492
#40 0x081006e6 in catcher (func=0x81007c0 <do_catch_errors>, func_uiout=0x82749a8,
func_args=0xbffff4e0, func_val=0xbffff4d8, func_caught=0xbffff4dc,
errstring=0x7379732f <Address 0x7379732f out of bounds>, mask=6) at top.c:424
#41 0x0810082a in catch_errors (func=0x7379732f, func_args=0x7379732f,
errstring=0x7379732f <Address 0x7379732f out of bounds>, mask=1937339183) at top.c:504
#42 0x08073154 in captured_main (data=0x7379732f) at main.c:729
#43 0x081007d1 in do_catch_errors (uiout=0x8236720, data=0x7379732f) at top.c:492
#44 0x081006e6 in catcher (func=0x81007c0 <do_catch_errors>, func_uiout=0x8236720,
func_args=0xbffff7a0, func_val=0xbffff798, func_caught=0xbffff79c,
errstring=0x7379732f <Address 0x7379732f out of bounds>, mask=6) at top.c:424
#45 0x0810082a in catch_errors (func=0x7379732f, func_args=0x7379732f,
errstring=0x7379732f <Address 0x7379732f out of bounds>, mask=1937339183) at top.c:504
#46 0x080732f1 in gdb_main (args=0x8cfbfd4) at main.c:738
#47 0x08072637 in main (argc=1937339183, argv=0x7379732f) at gdb.c:33
#48 0x400a5280 in __libc_start_main () from /lib/libc.so.6
(gdb)
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: