[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Proc failure with gcc-2.95.2



Hello Marcus,

Roland pointed out what I should have done;  attached is a better report (I
hope).  Debugging operating systems is new to me,  I better read the man pages
and a book.

Chris

root        78 p3 S     0:00.07 boot -d -I -Tdevice /boot/servers.boot hd1s1
-           79  ? Sp    0:00.13 ?
-           80  ? Sp    0:00.03 ?
-           81  ? Sp    0:00.02 ?
-           82  ? p     0:00.00 ?
root        83 p5 S     0:00.02 ps -A
# gdb  /hurd/proc  82
GNU gdb 19990928
Copyright 1998 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 "i386-unknown-gnu0.2"...

home/cal/82: No such file or directory.
Attaching to program `/hurd/proc', pid 82

warning: Can't modify tracing state for pid 82: No signal thread

fetch inferior registers: 1: Invalid thread
(gdb) b 57
fetch inferior registers: 1: Invalid thread
(gdb) shared] 
(gdb) cont
Continuing.
warning: Can't wait for pid 82: No child processes

Program received signal EXC_BAD_ACCESS, Could not access memory.
0x11738f8 in ?? () from /lib/libmachuser.so.1
(gdb) shared
Reading symbols from /lib/libhurdbugaddr.so.0.2...done.
Reading symbols from /lib/libthreads.so.0.2...done.
Reading symbols from /lib/libihash.so.0.2...done.
Reading symbols from /lib/libports.so.0.2...done.
Reading symbols from /lib/libshouldbeinlibc.so.0.2...done.
Reading symbols from /lib/libc.so.0.2...done.
Reading symbols from /lib/ld.so...done.
Reading symbols from /lib/libmachuser.so.1...done.
Reading symbols from /lib/libhurduser.so.0.0...done.
(gdb) info shared
>From        To          Syms Read   Shared Object Library
0x0101e000  0x0101f5cc  Yes         /lib/libhurdbugaddr.so.0.2
0x01020000  0x0102582c  Yes         /lib/libthreads.so.0.2
0x01026000  0x010280d8  Yes         /lib/libihash.so.0.2
0x0102a000  0x01030540  Yes         /lib/libports.so.0.2
0x01031000  0x0103aa20  Yes         /lib/libshouldbeinlibc.so.0.2
0x0103b000  0x0116a5a4  Yes         /lib/libc.so.0.2
0x00001000  0x000181d8  Yes         /lib/ld.so
0x0116b000  0x0117bae0  Yes         /lib/libmachuser.so.1
0x0117c000  0x01199bd4  Yes         /lib/libhurduser.so.0.0
(gdb) bt
#0  0x11738f8 in mach_port_mod_refs () from /lib/libmachuser.so.1
#1  0x105767d in mig_dealloc_reply_port () from /lib/libc.so.0.2

Lots of looping

#898 0x1173980 in mach_port_mod_refs () from /lib/libmachuser.so.1
#899 0x105767d in mig_dealloc_reply_port () from /lib/libc.so.0.2
#900 0x1173980 in mach_port_mod_refs () from /lib/libmachuser.so.1
#901 0x105767d in mig_dealloc_reply_port () from /lib/libc.so.0.2
#902 0x1173572 in mach_port_allocate_rpc () from /lib/libmachuser.so.1
#903 0x10571e5 in mach_port_allocate () from /lib/libc.so.0.2
#904 0x102e621 in _ports_create_port_internal (class=0x8055210,
    bucket=0x80551d0, size=148, result=0x11afed0, install=1)
    at ../../libports/create-internal.c:40
#905 0x102e121 in ports_create_port (class=0x8055210, bucket=0x80551d0,
    size=148, result=0x11afed0) at ../../libports/create-port.c:31
#906 0x804cbec in allocate_proc (task=3) at ../../proc/mgt.c:504
#907 0x804c10f in main (argc=1, argv=0x11affa8, envp=0x11affb0)
    at ../../proc/main.c:87
(gdb)


Reply to: