Re: [BETA7-panic] sodealloc(): so_count 1

From: Marc <ubm_at_u-boot-man.de>
Date: Wed, 6 Oct 2004 21:55:32 +0200
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 ;-)
Received on Wed Oct 06 2004 - 17:51:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:15 UTC