From owner-freebsd-multimedia@freebsd.org Sun Dec 17 13:33:38 2017 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D681E8A003 for ; Sun, 17 Dec 2017 13:33:38 +0000 (UTC) (envelope-from youngluc@gmail.com) Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 959A370C12 for ; Sun, 17 Dec 2017 13:33:37 +0000 (UTC) (envelope-from youngluc@gmail.com) Received: by mail-wm0-x243.google.com with SMTP id b199so24914674wme.1 for ; Sun, 17 Dec 2017 05:33:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ly05Kd8DXs4jrG3ZF5hDkUFKVv2cQMOLa10v/XQqfQ4=; b=GfKqUlD72WnyEtu8+BDkvzJFNx9ykf6RVeBKhVM/DYNNFuSAK1DYzQsI9Yx8XtZsKd AGhh3rNZWLERx+EGlxGW8vqVlqbKZvicJeruGOiPE8oqovAmhuQypgSJrH8oRm6fSj91 5VDptQR9+HoMMKGw6Opx7qdEMCYuATcJxbOp1Je5OKBfbWCGcuKU4oULIJ85ElpyKnY7 bob6+eW7xB+r1QqQLucex64y8yr9sdYGCoCRUC7GUC7s9tjJC8Ju6k4rsd09IxeqLKa1 Q3zmm/iCacGvGC7+v2UjZT2oQh6+g7goJjB5iyfz1gmeI2ky5UmMsgFF0CJt/yCBAWGV kBHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ly05Kd8DXs4jrG3ZF5hDkUFKVv2cQMOLa10v/XQqfQ4=; b=iwL4kD4yqPpGO9WlK+CaFseykTaUWyQLq/lK51pVWoi/oQ1fwN4TVuwMvETu8Qn31j oy9MMIHuTxPtPlXSq7iraO/K0dgqJpE3QZrf2obG/SHRBhv9lLs4GnrpOpbV+oityuUh jluDFhmQ2+SQ++JW0W+QuvXNktcsgqBi+0mK/u4qz9T5TMfDnsPbDkW08Rxrys9x0/EI aV+HawpzZpP2q24qFX5HaAOV2ZU25+QSIum3/tF8ykY/Ek2E0UCz7BdPl9Hsvwv2n2NV Nyh9YGsO1AwWhIvDR+A020A+24gnvhsW/xdWHxXVhfy3kK/5IR9/xJqpBJinRKHoV6B8 SQzA== X-Gm-Message-State: AKGB3mIYwc6IPZB1nvauh+9tokgfUIygSlQlU/1UZ9+qBTehkAz2gS/L mXkIOOPj+050nqg9akkHpdCAAo2RGzLsSFuwNaeMeA== X-Google-Smtp-Source: ACJfBotH+6Z7YGh/5DV12kKz/BLVJ00a6xShV63r/ECeyijX3ppHPUHO+xldhtHqon2VotkrbhYzlLtzkoRyGB0nf2M= X-Received: by 10.28.236.28 with SMTP id k28mr9370487wmh.120.1513517615749; Sun, 17 Dec 2017 05:33:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.32.146 with HTTP; Sun, 17 Dec 2017 05:33:35 -0800 (PST) In-Reply-To: References: <63966a1d-1244-4ea0-0bf8-15b485f63cd4@gmail.com> From: Lucas Young Date: Sun, 17 Dec 2017 07:33:35 -0600 Message-ID: Subject: Re: webcamd-4.12.0.1 segfault when using WinTV-HV-950Q To: Hans Petter Selasky Cc: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2017 13:33:38 -0000 On Sun, Dec 17, 2017 at 3:40 AM, Hans Petter Selasky 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 , expires = 4494, data = 34401956120 }