[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-multimedia
Subject: Re: webcamd-4.12.0.1 segfault when using WinTV-HV-950Q
From: Lucas Young <youngluc () gmail ! com>
Date: 2017-12-17 13:33:35
Message-ID: CAP0m9o3zYO3D6qxmnx9QWaTE=Zh1HuNwfjDO4e3UV+fSGkw52g () mail ! gmail ! com
[Download RAW message or body]
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
}
_______________________________________________
freebsd-multimedia@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic