NetBSD-Bugs archive

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

kern/57703: kernel panic in eventfd_fop_close()



>Number:         57703
>Category:       kern
>Synopsis:       kernel panic in eventfd_fop_close()
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 18 06:20:00 +0000 2023
>Originator:     Paul Goyette
>Release:        NetBSD 10.99.8
>Organization:
+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+
>Environment:
	
	
System: NetBSD speedy.whooppee.com 10.99.8 NetBSD 10.99.8 (SPEEDY 2023-09-07 23:08:48 UTC) #0: Sat Sep 9 03:34:26 UTC 2023 paul%speedy.whooppee.com@localhost:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY amd64
Architecture: x86_64
Machine: amd64
>Description:
firefox got confused loading a particular website, so I attempted to
bounce the network.  did not fix the problem so I started a shutdown.
It paniced rather than normal shutdown.

I got a 20gb crash file!

[ 4235856.8095913] wm0: link state DOWN (was UP)
[ 4235860.4814167] wm0: link state UP (was DOWN)
[ 4236043.6425062] pid 27107 (pulseaudio), uid 1000: exited on signal 11 (core n
ot dumped, err = 78)
[ 4236044.0427050] panic: kernel diagnostic assertion "efd->efd_has_read_waiters
 == false" failed: file "/build/netbsd-local/src_ro/sys/kern/sys_eventfd.c", lin
e 120
[ 4236044.0427050] cpu1: Begin traceback...
[ 4236044.0427050] vpanic() at netbsd:vpanic+0x173
[ 4236044.0427050] kern_assert() at netbsd:kern_assert+0x4b
[ 4236044.0927296] eventfd_fop_close() at netbsd:eventfd_fop_close+0xe7
[ 4236044.0927296] closef() at netbsd:closef+0xa3
[ 4236044.0927296] fd_free() at netbsd:fd_free+0x1ee
[ 4236044.0927296] exit1() at netbsd:exit1+0x126
[ 4236044.0927296] sigexit() at netbsd:sigexit+0x2e7
[ 4236044.0927296] postsig() at netbsd:postsig+0x35b
[ 4236044.1027348] lwp_userret() at netbsd:lwp_userret+0x20c
[ 4236044.1027348] mi_userret() at netbsd:mi_userret+-0x979b4
[ 4236044.1027348] trap() at netbsd:trap+0x12b
[ 4236044.1027348] --- trap (number 6) ---
[ 4236044.1027348] 70223343862e:
[ 4236044.1027348] cpu1: End traceback...
[ 4236044.1027348] fatal breakpoint trap in supervisor mode
[ 4236044.1027348] trap type 1 code 0 rip 0xffffffff80232835 cs 0x8 rflags 0x202
 cr2 0x70222d61f010 ilevel 0 rsp 0xffffd92125fa0aa0
[ 4236044.1027348] curlwp 0xffffb0e3e5267b40 pid 27107.11854 lowest kstack 0xfff
fd92125f9c2c0
Stopped in pid 27107.11854 (pulseaudio) at      netbsd:breakpoint+0x5:  leave
breakpoint() at netbsd:breakpoint+0x5
vpanic() at netbsd:vpanic+0x173
kern_assert() at netbsd:kern_assert+0x4b
eventfd_fop_close() at netbsd:eventfd_fop_close+0xe7
closef() at netbsd:closef+0xa3
fd_free() at netbsd:fd_free+0x1ee
exit1() at netbsd:exit1+0x126
sigexit() at netbsd:sigexit+0x2e7
postsig() at netbsd:postsig+0x35b
lwp_userret() at netbsd:lwp_userret+0x20c
mi_userret() at netbsd:mi_userret+-0x979b4
trap() at netbsd:trap+0x12b
[ 4236044.1027348] --- trap (number 6) ---
70223343862e[ 4236044.1027348] :
ds          8
es          1
fs          180
gs          a50
rdi         0
rsi         1
rbp         ffffd92125fa0aa0
rbx         ffffb0dcbff90780
rdx         1
rcx         ffffffffffffff
rax         800000000000000
r8          0
r9          0
r10         0
r11         0
r12         ffffffff80ac8010    ostype+0x8f8
r13         ffffd92125fa0ae8
r14         104
r15         18
rip         ffffffff80232835    breakpoint+0x5
cs          8
rflags      202
rsp         ffffd92125fa0aa0
ss          0
netbsd:breakpoint+0x5:  leave

[ 4236044.1027348] dumping to dev 168,3 (offset=8, size=33531543):
[ 4236044.1027348] dump

	
>How-To-Repeat:
see above
	
>Fix:
	
please do

>Unformatted:
 	
 	



Home | Main Index | Thread Index | Old Index