Re: pointyhat panic

From: Kip Macy <kmacy_at_freebsd.org>
Date: Mon, 11 May 2009 16:06:13 -0700
yup this is a residual issue with the new rpc stuff - so_upcall
locking is somewhat deficient

On Mon, May 11, 2009 at 2:37 PM, Artem Belevich <fbsdlist_at_src.cx> wrote:
> Last Friday I've got a crash in sowakeup as well, though the stack
> trace looks different. I'm unable to reproduce it, but I do have core
> saved, if someone wants me to do some post-mortem investigation. Box
> is quad-core amd64 running -current as of May 8th. The crash was
> observed when I attempted to interrupt parallel make that did access
> fair amount of stuff over NFS.
>
> --Artem
>
> Tracing pid 12 tid 100012 td 0xffffff0004460390
> _mtx_lock_sleep() at _mtx_lock_sleep+0x4e
> clnt_dg_soupcall() at clnt_dg_soupcall+0x168
> sowakeup() at sowakeup+0xd9
> udp_append() at udp_append+0x20b
> udp_input() at udp_input+0x6b5
> ip_input() at ip_input+0xaa
> swi_net() at swi_net+0xf7
> intr_event_execute_handlers() at intr_event_execute_handlers+0x100
> ithread_loop() at ithread_loop+0x8e
> fork_exit() at fork_exit+0x118
> fork_trampoline() at fork_trampoline+0xe
> --- trap 0, rip = 0, rsp = 0xfffffff800063d40, rbp = 0 ---
>
>
> 2009/5/11 Pav Lucistnik <pav_at_freebsd.org>:
>> panic: mtx_lock() of destroyed mutex _at_ /usr/src/sys/rpc/clnt_vc.c:953
>> cpuid = 2
>> KDB: enter: panic
>> [thread pid 0 tid 100029 ]
>> Stopped at      kdb_enter+0x3d: movq    $0,0x3f5fb8(%rip)
>> db> bt
>> Tracing pid 0 tid 100029 td 0xffffff00018e1000
>> kdb_enter() at kdb_enter+0x3d
>> panic() at panic+0x17b
>> _mtx_lock_flags() at _mtx_lock_flags+0xc5
>> clnt_vc_soupcall() at clnt_vc_soupcall+0x273
>> sowakeup() at sowakeup+0xf8
>> tcp_do_segment() at tcp_do_segment+0x23c9
>> tcp_input() at tcp_input+0x9ec
>> ip_input() at ip_input+0xbc
>> ether_demux() at ether_demux+0x1ed
>> ether_input() at ether_input+0x171
>> em_rxeof() at em_rxeof+0x201
>> em_handle_rxtx() at em_handle_rxtx+0x4b
>> taskqueue_run() at taskqueue_run+0x96
>> taskqueue_thread_loop() at taskqueue_thread_loop+0x3f
>> fork_exit() at fork_exit+0x12a
>> fork_trampoline() at fork_trampoline+0xe
>> --- trap 0, rip = 0, rsp = 0xffffffff240a6d40, rbp = 0 ---
>>
>> The box is in kdb on serial console for now. May 9 -CURRENT, I think.
>>
>> --
>> Pav Lucistnik <pav_at_oook.cz>
>>              <pav_at_FreeBSD.org>
>> A spoonful of curry, garlic and mustard helps the medicine go down...
>> and come straight back up again. -- JLE on #angband
>>
>



-- 
When bad men combine, the good must associate; else they will fall one
by one, an unpitied sacrifice in a contemptible struggle.

    Edmund Burke
Received on Mon May 11 2009 - 21:06:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:47 UTC