Date: Sun, 17 Dec 2017 07:33:35 -0600 From: Lucas Young <youngluc@gmail.com> To: Hans Petter Selasky <hps@selasky.org> Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd-4.12.0.1 segfault when using WinTV-HV-950Q Message-ID: <CAP0m9o3zYO3D6qxmnx9QWaTE=Zh1HuNwfjDO4e3UV%2BfSGkw52g@mail.gmail.com> In-Reply-To: <e5f10be7-c6a1-15e9-658e-5a5c3ee9bb84@selasky.org> References: <63966a1d-1244-4ea0-0bf8-15b485f63cd4@gmail.com> <a78060a6-38f5-09d4-9139-75e732b2cbd1@selasky.org> <d35dba0c-5953-a856-3d6f-0010ce05cb27@gmail.com> <e5f10be7-c6a1-15e9-658e-5a5c3ee9bb84@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 17, 2017 at 3:40 AM, Hans Petter Selasky <hps@selasky.org> wrote: > On 12/17/17 04:03, Lucas Young wrote: >> >> #0 0x0000000000415262 in timer_exec (arg=0x0) at kernel/linux_timer.c:142 >> 142 TAILQ_REMOVE(&timer_head, t, >> entry); >> (gdb) bt >> #0 0x0000000000415262 in timer_exec (arg=0x0) at kernel/linux_timer.c:142 >> #1 0x00000008014cfbc5 in pthread_create () from /lib/libthr.so.3 >> #2 0x0000000000000000 in ?? () >> Current language: auto; currently minimal >> (gdb) p &timer_head >> $1 = (struct timer_head *) 0xc32bf8 >> (gdb) p t >> $2 = (struct timer_list *) 0x802843130 > > > Instead of dumping &timer_head, can you dump "timer_head" and the tree of > elements that follow? > > p timer_head > > p *t > > --HPS I sure can. Here is the output: #0 0x0000000000415262 in timer_exec (arg=0x0) at kernel/linux_timer.c:142 142 TAILQ_REMOVE(&timer_head, t, entry); (gdb) set print pretty on Current language: auto; currently minimal (gdb) bt #0 0x0000000000415262 in timer_exec (arg=0x0) at kernel/linux_timer.c:142 #1 0x00000008014cfbc5 in pthread_create () from /lib/libthr.so.3 #2 0x0000000000000000 in ?? () (gdb) p &timer_head $1 = (struct timer_head *) 0xc32bf8 (gdb) p timer_head $2 = { tqh_first = 0x802843078, tqh_last = 0x802843130 } (gdb) p t $3 = (struct timer_list *) 0x802843130 (gdb) p *t $4 = { entry = { tqe_next = 0x802843130, tqe_prev = 0x0 }, function = 0x413260 <delayed_work_timer_fn>, expires = 4494, data = 34401956120 }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP0m9o3zYO3D6qxmnx9QWaTE=Zh1HuNwfjDO4e3UV%2BfSGkw52g>