webcamd-4.12.0.1 segfault when using WinTV-HV-950Q
Lucas Young
youngluc at gmail.com
Sun Dec 17 13:33:38 UTC 2017
On Sun, Dec 17, 2017 at 3:40 AM, Hans Petter Selasky <hps at 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
}
More information about the freebsd-multimedia
mailing list