NetBSD Problem Report #43840

From spz@NetBSD.org  Sat Sep  4 15:49:43 2010
Return-Path: <spz@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 2B90163BC5B
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  4 Sep 2010 15:49:43 +0000 (UTC)
Message-Id: <20100904154942.5CB0170781@mollari.NetBSD.org>
Date: Sat,  4 Sep 2010 15:49:42 +0000 (UTC)
From: spz@NetBSD.org
Reply-To: spz@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: panic kassert "so->so_head == NULL" failed
X-Send-Pr-Version: 3.95

>Number:         43840
>Category:       kern
>Synopsis:       panic: kassert "so->so_head == NULL" failed: file "/usr/src/sys/kern/uipc_socket.c", line 703
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 04 15:50:00 +0000 2010
>Last-Modified:  Sun Mar 10 13:54:15 +0000 2013
>Originator:     S.P.Zeidler
>Release:        netbsd-5 2010-04-27
>Organization:
	TNF
>Environment:
System: NetBSD mollari.netbsd.org 5.1_RC1 NetBSD 5.1_RC1 (MOLLARI) #2: Tue Apr 27 20:41:27 UTC 2010 root@franklin.NetBSD.org:/home/netbsd/5/amd64/kern-compile/MOLLARI amd64
Architecture: x86_64
Machine: amd64
>Description:

panic: kernel diagnostic assertion "so->so_head == NULL" failed: file "/usr/src/
sys/kern/uipc_socket.c", line 703
fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip ffffffff803bce95 cs 8 rflags 246 cr2  520120 cpl 4 rsp ff
ff800030eef820
Stopped in pid 0.3 (system) at  netbsd:breakpoint+0x5:  leave

db{0}> bt
breakpoint() at netbsd:breakpoint+0x5
cpu_Debugger() at netbsd:cpu_Debugger+0x9
panic() at netbsd:panic+0x24d
__kernassert() at netbsd:__kernassert+0x2d
soabort() at netbsd:soabort+0xc4
syn_cache_get() at netbsd:syn_cache_get+0x6a3
tcp_input() at netbsd:tcp_input+0x1242
ip_input() at netbsd:ip_input+0x438
ipintr() at netbsd:ipintr+0x6a
softint_dispatch() at netbsd:softint_dispatch+0xc3
db{0}> sh reg
ds          0xf7f0
es          0x3
fs          0x8
gs          0x596e
rdi         0x4
rsi         0x3f8
rbp         0xffff800030eef820
rbx         0xffff800030eef840
rdx         0x8
rcx         0x4
rax         0x1
r8          0xffffffff8057800a  copyright+0x3f26a
r9          0x1
r10         0xffff800030eef750
r11         0x8
r12         0x104
r13         0xffffffff805b3630  copyright+0x7a890
r14         0xffff800030eefb50
r15         0xffff80002edeb022
rip         0xffffffff803bce95  breakpoint+0x5
cs          0x8
rflags      0x246
rsp         0xffff800030eef820
ss          0
netbsd:breakpoint+0x5:  leave

>How-To-Repeat:
>Fix:


>Release-Note:

>Audit-Trail:
	still with us in 5.2:
	panic: kernel diagnostic assertion "so->so_head == NULL" failed: file "/home/trees/src-5/sys/kern/uipc_socket.c", line 688
	fatal breakpoint trap in supervisor mode
	trap type 1 code 0 rip ffffffff803bf555 cs 8 rflags 246 cr2  7f7fffff9f60 cpl 4 rsp ffff800030eef820
	Stopped in pid 0.3 (system) at  netbsd:breakpoint+0x5:  leave

	db{0}> bt
	breakpoint() at netbsd:breakpoint+0x5
	cpu_Debugger() at netbsd:cpu_Debugger+0x9
	panic() at netbsd:panic+0x24d
	__kernassert() at netbsd:__kernassert+0x2d
	soabort() at netbsd:soabort+0xc4
	syn_cache_get() at netbsd:syn_cache_get+0x6a2
	tcp_input() at netbsd:tcp_input+0x1242
	ip_input() at netbsd:ip_input+0x438
	ipintr() at netbsd:ipintr+0x6a
	softint_dispatch() at netbsd:softint_dispatch+0xc3
	DDB lost frame for netbsd:Xsoftintr+0x50, trying 0xffff800030eefd70
	Xsoftintr() at netbsd:Xsoftintr+0x50
	--- interrupt ---
	0:
	db{0}> sh reg
	ds          0xf7f0
	es          0x3
	fs          0x8
	gs          0x540e
	rdi         0x4
	rsi         0x3f8
	rbp         0xffff800030eef820
	rbx         0xffff800030eef840
	rdx         0x8
	rcx         0x4
	rax         0x1
	r8          0xffffffff8058365b  copyright+0x4033b
	r9          0x1
	r10         0xffff800030eef750
	r11         0x8
	r12         0x104
	r13         0xffffffff805c06c8  copyright+0x7d3a8
	r14         0xffff800030eefb50
	r15         0xffff80002ee91022
	rip         0xffffffff803bf555  breakpoint+0x5
	cs          0x8
	rflags      0x246
	rsp         0xffff800030eef820
	ss          0x10
	netbsd:breakpoint+0x5:  leave

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.