From nobody@FreeBSD.org  Sat Jul 17 01:14:11 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5B93C16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 17 Jul 2004 01:14:11 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3BF4B43D1D
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 17 Jul 2004 01:14:11 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i6H1EAsI044026
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 17 Jul 2004 01:14:10 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i6H1EAil044025;
	Sat, 17 Jul 2004 01:14:10 GMT
	(envelope-from nobody)
Message-Id: <200407170114.i6H1EAil044025@www.freebsd.org>
Date: Sat, 17 Jul 2004 01:14:10 GMT
From: Marcel Moolenaar <marcel@xcllnt.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: GDB/amd64: coredump while debugging a core file.
X-Send-Pr-Version: www-2.3

>Number:         69164
>Category:       bin
>Synopsis:       gdb(1) amd64: coredump while debugging a core file.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 17 01:20:18 GMT 2004
>Closed-Date:    
>Last-Modified:  Mon Feb 21 18:51:40 UTC 2011
>Originator:     Marcel Moolenaar
>Release:        FreeBSD5 2004/7/2
>Organization:
>Environment:
FreeBSD opteron.digiware.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #70: Fri Jul 16 07:56:03 CEST 2004
root@opteron.digiware.nl:/usr/obj/home2/src/sys/OPTERON.amd64  amd64


>Description:
Originator: "Willem Jan Withagen" <wjw@withagen.nl>
Core files: http://withagen.dyndns.org/FreeBSD/cores
CFLAGS: -g

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 <Address 0x9 out of bounds>, 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 <catch_errors+76>,
    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 <catch_command_errors+56>, 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

>How-To-Repeat:
TBD
>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->marcel 
Responsible-Changed-By: marcel 
Responsible-Changed-When: Sat Jul 17 01:33:43 GMT 2004 
Responsible-Changed-Why:  
Mine, all mine! Whooaaa!! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69164 
Responsible-Changed-From-To: marcel->freebsd-bugs 
Responsible-Changed-By: marcel 
Responsible-Changed-When: Mon Feb 21 18:51:20 UTC 2011 
Responsible-Changed-Why:  
Assign back to the pool. I haven't been working on it and it's unlikely 
I will in the near future.  

http://www.freebsd.org/cgi/query-pr.cgi?pr=69164 
>Unformatted:
