NetBSD-Bugs archive

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

Re: bin/47271: host (1) dumps core on latest netbsd-6



htodd@kerry:~ > sudo gdb /usr/bin/host host.core GNU gdb (GDB) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486--netbsdelf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/host...Reading symbols from 
/usr/libdata/debug/usr/bin/host.debug...done.
done.
[New process 1]
Core was generated by `host'.
Program terminated with signal 11, Segmentation fault.
#0  0xbb6c442e in _lwp_makecontext () from /usr/lib/libc.so.12
(gdb) bt
#0  0xbb6c442e in _lwp_makecontext () from /usr/lib/libc.so.12
#1  0xbb96591e in pthread_create (thread=0xbb5130c8, attr=0xbfbfecd4, 
startfunc=0xbb9ae3c2 <run>, arg=0xbb514000)
    at /usr/src/lib/libpthread/pthread.c:426
#2  0xbb9af5c9 in isc_thread_create (func=0xbb9ae3c2 <run>, arg=0xbb514000, 
thread=0xbb5130c8)
    at /usr/src/external/bsd/bind/dist/lib/isc/pthreads/thread.c:62
#3  0xbb9ae8c5 in isc__taskmgr_create (mctx=0xbb5010e0, workers=1, 
default_quantum=5, managerp=0x805b034)
    at /usr/src/external/bsd/bind/dist/lib/isc/task.c:1410
#4  0x080502ee in setup_libs () at 
/usr/src/external/bsd/bind/dist/bin/dig/dighost.c:1330
#5  0x0804dca5 in main (argc=2, argv=0xbfbfedb0) at 
/usr/src/external/bsd/bind/dist/bin/dig/host.c:876
(gdb)  disas _lwp_makecontext
Dump of assembler code for function _lwp_makecontext:
   0xbb6c43d0 <+0>:     push   %ebp
   0xbb6c43d1 <+1>:     mov    %esp,%ebp
   0xbb6c43d3 <+3>:     push   %ebx
   0xbb6c43d4 <+4>:     sub    $0x14,%esp
   0xbb6c43d7 <+7>:     call   0xbb6c43dc <_lwp_makecontext+12>
   0xbb6c43dc <+12>:    pop    %ebx
   0xbb6c43dd <+13>:    add    $0xb51e0,%ebx
   0xbb6c43e3 <+19>:    mov    0x8(%ebp),%eax
   0xbb6c43e6 <+22>:    mov    %eax,(%esp)
   0xbb6c43e9 <+25>:    call   0xbb69e67c <_getcontext@plt>
   0xbb6c43ee <+30>:    mov    0x8(%ebp),%edx
   0xbb6c43f1 <+33>:    movl   $0x0,0x4(%edx)
   0xbb6c43f8 <+40>:    mov    0x18(%ebp),%eax
   0xbb6c43fb <+43>:    mov    %eax,0x18(%edx)
   0xbb6c43fe <+46>:    mov    0x1c(%ebp),%eax
   0xbb6c4401 <+49>:    mov    %eax,0x1c(%edx)
   0xbb6c4404 <+52>:    mov    0xc(%ebp),%eax
   0xbb6c4407 <+55>:    mov    %eax,0x5c(%edx)
   0xbb6c440a <+58>:    mov    0x18(%ebp),%eax
   0xbb6c440d <+61>:    add    0x1c(%ebp),%eax
   0xbb6c4410 <+64>:    and    $0xfffffffc,%eax
   0xbb6c4413 <+67>:    mov    0x10(%ebp),%edx
   0xbb6c4416 <+70>:    mov    %edx,-0x4(%eax)
   0xbb6c4419 <+73>:    lea    -0x8(%eax),%edx
   0xbb6c441c <+76>:    mov    -0x238(%ebx),%ecx
   0xbb6c4422 <+82>:    mov    %ecx,-0x8(%eax)
   0xbb6c4425 <+85>:    mov    0x8(%ebp),%eax
   0xbb6c4428 <+88>:    mov    %edx,0x68(%eax)
   0xbb6c442b <+91>:    mov    0x14(%ebp),%edx
=> 0xbb6c442e <+94>:    mov    %edx,0x2f4(%eax)
   0xbb6c4434 <+100>:   orl    $0x80000,(%eax)
   0xbb6c443a <+106>:   add    $0x14,%esp
   0xbb6c443d <+109>:   pop    %ebx
   0xbb6c443e <+110>:   pop    %ebp
0xbb6c443f <+111>: ret End of assembler dump.
(gdb)


--
Hisashi T Fujinaka - htodd%twofifty.com@localhost
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte


Home | Main Index | Thread Index | Old Index