Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2015 23:50:21 +0200
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        Mateusz Guzik <mjguzik@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Instant panic while trying run ports-mgmt/poudriere
Message-ID:  <20150713235021.5824ee48@FreeBSD.org>
In-Reply-To: <20150713212820.GA21313@dft-labs.eu>
References:  <20150713231205.627bab36@FreeBSD.org> <20150713212820.GA21313@dft-labs.eu>

index | next in thread | previous in thread | raw e-mail

Hi Mateusz,

On 2015-07-13 23:28 +0200, Mateusz Guzik <mjguzik@gmail.com> wrote:
>On Mon, Jul 13, 2015 at 11:12:05PM +0200, Pawel Pekala wrote:
>> Hi
>> 
>> I'm getting 100% reproducible kernel crash while trying build ports
>> with poudriere on my system. This started to show up about 2-3 weeks
>> ago. I upgrade my system on weekly basis usually on saturday.
>> Here's backtrace:
>> 
>> (kgdb) bt
>[..]
>>     at /hdd/src/sys/amd64/amd64/trap.c:201
>> #25 0xffffffff80dace32 in calltrap ()
>> at /hdd/src/sys/amd64/amd64/exception.S:235 #26 0xffffffff80941430
>> in knote (list=0xfffff801a2589408, hint=2147483648, lockflags=<value
>> optimized out>) at /hdd/src/sys/kern/kern_event.c:1920 #27
>> 0xffffffff80946a51 in exit1 (td=0xfffff801b84014d0, rv=<value
>> optimized out>) at /hdd/src/sys/kern/kern_exit.c:560 #28
>> 0xffffffff80945f1e in sys_sys_exit (td=0x0, uap=<value optimized
>> out>) at /hdd/src/sys/kern/kern_exit.c:178 #29 0xffffffff80dcdaa2 in
>> out>amd64_syscall (td=0xfffff801b84014d0, traced=0)
>>     at subr_syscall.c:133
>> #30 0xffffffff80dad11b in Xfast_syscall ()
>> at /hdd/src/sys/amd64/amd64/exception.S:395 #31 0x0000000800922eea
>> in ?? () Previous frame inner to this frame (corrupt stack?)
>> Current language:  auto; currently minimal
>> 
>> Let me know if you need more details.
>
>
>Well, if the problem is really that reproducible it would be best if
>you narrowed it down to the exact commit.
>
>However, quick look suggests you may be a "victim" of r284861.
>
>Can you enter kgdb and:
>f 26
>p *list
>
>?

(kgdb) f 26
#26 0xffffffff80941430 in knote (list=0xfffff801a2589408, hint=2147483648, 
    lockflags=<value optimized out>) at /hdd/src/sys/kern/kern_event.c:1920
1920                    } else if ((lockflags & KNF_NOKQLOCK) != 0) {
Current language:  auto; currently minimal
(kgdb) p *list
$1 = {kl_list = {slh_first = 0x0}, kl_lock = 0xffffffff809418e0 <knlist_mtx_lock>, 
  kl_unlock = 0xffffffff80941900 <knlist_mtx_unlock>, 
  kl_assert_locked = 0xffffffff80941920 <knlist_mtx_assert_locked>, 
  kl_assert_unlocked = 0xffffffff80941940 <knlist_mtx_assert_unlocked>, 
  kl_lockarg = 0xfffff801a2589120}


Forgot to add my uname -a last time:

FreeBSD blaviken.slowicza.org 11.0-CURRENT FreeBSD 11.0-CURRENT #44 r285509: Mon Jul 13 22:38:11 CEST 2015     corn@blaviken.slowicza.org:/usr/obj/hdd/src/sys/GENERIC  amd64

-- 
pozdrawiam / with regards
Paweł Pękala


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150713235021.5824ee48>