This is a discussion on Re: gdb fault within the lucky.openbsd.tech forums, part of the OpenBSD category; --> On Tue, Mar 14, 2006 at 13:30 +0300, Mike Belopuhov wrote: > Hi, I've recently had locks while playing ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On Tue, Mar 14, 2006 at 13:30 +0300, Mike Belopuhov wrote: > Hi, I've recently had locks while playing with old SCSI scanner > (Mustek Paragon 600 II CD) and Tekram DC315/U SCSI host adapter. > > (If it is interesting to someone, please contact me privately.) > > So i've made a debug kernel (adding makeoptions DEBUG="-g") to > a kernel config and ran a scanner poweroff test again (just switch > it's power off while system is running), got a lock, core was dumped, > i rebooted, wanted to trace it with gdb, but failed: > > # gdb bsd.gdb > GNU gdb 6.3 > 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 "i386-unknown-openbsd3.9"... > (gdb) target kvm /var/crash/bsd.0.core > gdb in free(): error: page is already free > Abort trap (core dumped) > Mark Kettenis has fixed this bug in src/lib/libkvm/kvm_i386.c, rev1.14 thanks! |