From owner-freebsd-current@FreeBSD.ORG Fri Jul 16 20:05:42 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9D4F16A4CE for ; Fri, 16 Jul 2004 20:05:41 +0000 (GMT) Received: from freebee.digiware.nl (dsl390.iae.nl [212.61.63.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 387D743D2F for ; Fri, 16 Jul 2004 20:05:41 +0000 (GMT) (envelope-from wjw@withagen.nl) Received: from dual (dual [212.61.27.71]) by freebee.digiware.nl (8.12.10/8.12.10) with SMTP id i6GK43sD099457 for ; Fri, 16 Jul 2004 22:04:03 +0200 (CEST) (envelope-from wjw@withagen.nl) Message-ID: <0c4c01c46b6f$2475d360$471b3dd4@digiware.nl> From: "Willem Jan Withagen" To: Date: Fri, 16 Jul 2004 21:57:36 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: gdb crashes while trying to debug a core..... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 20:05:42 -0000 > gdb /tmp/bin/rex rex.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 "amd64-marcel-freebsd"...Segmentation fault (core dumped) Fortunatly gdb6 from ports does still work..... > gdb6 /usr/obj/home2/src/gnu/usr.bin/gdb/gdb/gdb gdb.core GNU gdb 20040511 [GDB v6.x for 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 "x86_64-portbld-freebsd5.2"... Core was generated by `gdb'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libm.so.2...done. Loaded symbols for /lib/libm.so.2 Reading symbols from /lib/libreadline.so.4...done. Loaded symbols for /lib/libreadline.so.4 Reading symbols from /lib/libncurses.so.5...done. Loaded symbols for /lib/libncurses.so.5 Reading symbols from /lib/libc.so.5...done. Loaded symbols for /lib/libc.so.5 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x000000000044f9c3 in gdbarch_info_fill (gdbarch=0x832010, info=0x7fffffffe240) at /home2/src/contrib/gdb/gdb/arch-utils.c:728 728 info->osabi = gdbarch_lookup_osabi (info->abfd); (gdb) bt #0 0x000000000044f9c3 in gdbarch_info_fill (gdbarch=0x832010, info=0x7fffffffe240) at /home2/src/contrib/gdb/gdb/arch-utils.c:728 #1 0x00000000004491a4 in find_arch_by_info (old_gdbarch=0x832010, info= {bfd_arch_info = 0x65edc0, byte_order = 2, abfd = 0x838600, tdep_info = 0x0, osabi = GDB_OSABI_UNINITIALIZED}) at /home2/src/contrib/gdb/gdb/gdbarch.c:5720 #2 0x000000000044955a in deprecated_current_gdbarch_select_hack ( new_gdbarch=0x832010) at /home2/src/contrib/gdb/gdb/gdbarch.c:5855 #3 0x000000000044f5ba in initialize_current_architecture () at /home2/src/contrib/gdb/gdb/arch-utils.c:591 #4 0x000000000044f5d5 in initialize_current_architecture () at /home2/src/contrib/gdb/gdb/arch-utils.c:597 #5 0x000000000044da88 in exec_file_command ( args=0x9
, from_tty=32767) at /home2/src/contrib/gdb/gdb/exec.c:302 #6 0x00000000004980b8 in quit_cover (s=0x7fffffffe560) at /home2/src/contrib/gdb/gdb/top.c:590 #7 0x0000000000498011 in catch_errors (func=0x839880, func_args=0x7fffffffe510, errstring=0x7fffffffe510 "\214\200I", mask=0) at /home2/src/contrib/gdb/gdb/top.c:540 #8 0x0000000000497d92 in catcher (func=0x497fe8 , func_uiout=0x839880, func_args=0x7fffffffe510, func_val=0x7fffffffe530, func_caught=0x7fffffffe52c, errstring=0x6057a7 " not a command, just a help topic.", gdberrmsg=0x0, mask=6) at /home2/src/contrib/gdb/gdb/top.c:459 #9 0x000000000049806e in catch_command_errors ( command=0x49808c , arg=0x7fffffffe560 "ðØD", from_tty=0, mask=6313895) at /home2/src/contrib/gdb/gdb/top.c:570 #10 0x000000000049810e in do_restore_instream_cleanup (stream=0x44d8f0) at /home2/src/contrib/gdb/gdb/top.c:636 #11 0x00007fffffffec4c in ?? () #12 0x0000000000000001 in ?? () #13 0x0000000000000000 in ?? () #14 0x00007fffffffe5a0 in ?? () #15 0x0000000100000006 in ?? () #16 0x00007fffffffec4c in ?? () #17 0x000000000044d8f0 in exec_file_attach ( filename=0x8b4cc78948fffe39
, from_tty=-1578631073) at /home2/src/contrib/gdb/gdb/exec.c:197 Previous frame inner to this frame (corrupt stack?) I'll leave the dumped gdb.core for the time being, in case Marcel wants to have a look at it. --WjW