[BETA7-panic] sodealloc(): so_count 1

Marc UBM Bocklet ubm at u-boot-man.de
Wed Oct 6 12:51:22 PDT 2004


On Wed, 6 Oct 2004 15:25:18 -0400
Brian Fundakowski Feldman <green at freebsd.org> wrote:


> Do you have a crashdump?  Whether you do or don't, can you, using
> that kernel you just got this crash with, do the following:
> $ kgdb <debug-kernel> /dev/mem
> (kgdb) l *(tcp_input+0x1d36)

No crashdump, but:

root at greatsheep:/home/sheep# kgdb
/usr/obj/usr/src/sys/SUBMARINE_SMP/kernel.debug /dev/mem 
[GDB will not
be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined
symbol "ps_pglobal_lookup"] 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 "i386-marcel-freebsd".
0x00000000 in ?? ()
(kgdb) l *(tcp_input+0x1d36)
0xc064f996 is in tcp_input (/usr/src/sys/netinet/tcp_input.c:1639).
1634                            case TCPS_CLOSE_WAIT:
1635                                    so->so_error = ECONNRESET;
1636                            close:
1637                                    tp->t_state = TCPS_CLOSED;
1638                                    tcpstat.tcps_drops++;
1639                                    tp = tcp_close(tp);
1640                                    break;
1641
1642                            case TCPS_CLOSING:
1643                            case TCPS_LAST_ACK:
(kgdb) 


Is this enough or would a crashdump be more useful?

Bye
Marc,
who is learning a lot about debugging ;-)



More information about the freebsd-current mailing list