From nobody Tue Apr 08 22:05:06 2025 X-Original-To: multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZXKrL4h92z5s2Wm for ; Tue, 08 Apr 2025 22:05:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZXKrL2YC4z3cXG for ; Tue, 08 Apr 2025 22:05:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744149906; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MRPvQjqPZU1CH+IbgBQt205Xc8ik+cv68d8eG9BVEq8=; b=lyd/d39KP5D7BIlCxEpotxPhSLZdrh8xScNX4YDAyuW/HIkgizH1gBWk6YFoYaOrQU7xVm JdvHxpumoNeQZj70F+aOahXiQEZ8nVHpdCALA0t4PLt5CP6LK53YgZvMOhWJjqpNdh7wBI MUvOqItVs53sQ9TOre/xKAenTabli42i3Lph/nZZive0X0lVk4mw0Ob/ReE/n6zNIT/f07 0Wdmn8nBkZ/p9fW/+xN/uUWSVeXALqQAXga2ZFnoIDWIUEhEUxQF4XkOva2EtHsD5sHMmG w0yttaiRcJCvwPP82LRHETJrheGJUGbxO4w7Wbi2kF2+YSFPPdd8wX4w+1bdQA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1744149906; a=rsa-sha256; cv=none; b=Bhg0EFeEe1sDXoGEPM1uSwX5hSVOPVo1kEfrJeK1gYEXCEB5jq9XlPjLrYE614TIIW64zr oFfBe6GIC76fzob6nem9kZeEqhUs6SBPx+UAttEKiTSV0NTMhf7yM/6YsTRXAUgWn+nTyA UtGXDpP+xab4tCkMHFgWjdNpn20uXf6PXbNd04j0o0c+Pfg9DZoCInCla1tGFuzT3VEPPn nz7XF6ajvQ0qxASjr2w5iC6UmjqCGkTWzBER54tQLNk71CQkwljW8l8WX1383DOroomi8m vy0sxkdTK8KMDqPycdwPED4vm5qu6/6/X7kbycoBH63BRAtMWwh1JtYqSDn4nA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744149906; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MRPvQjqPZU1CH+IbgBQt205Xc8ik+cv68d8eG9BVEq8=; b=gAsgpE3bvommzmWEa5/7ypDq2m3ndqkmN2golUiAcEWAtFIwhZYtPcVihUYb0iCiyBjpu2 X25ec6tnR7K1vNT9ZW+NFr3CjiFIEI8TNwcq66xzpP8vC3owG5asK59o5612uMYEJ58SLd AxXE3T4H3HE3U5Vl8r097VKleqIZthB8crIzIQDSmLYglbRA2lWW4/BeNLWdcT9LWrxAq1 2QWO3jSrrAxFg6F6KMrpSVByzvKLEM6XNWLUY+ohYWQfz4t68HPmqW5uCKJqY7uLKrOHdZ n88HnVKWEvYP3fVVd5wwUyJnojHgPa4wsTz/LSboNpXisSsVUZSb8ebTkVT7/Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZXKrL1sgxzqhP for ; Tue, 08 Apr 2025 22:05:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 538M56xg034634 for ; Tue, 8 Apr 2025 22:05:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 538M56u1034633 for multimedia@FreeBSD.org; Tue, 8 Apr 2025 22:05:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 252099] multimedia/webcamd after a stop of the webcamd service, the service will not start Date: Tue, 08 Apr 2025 22:05:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tatsuki_makino@hotmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252099 --- Comment #29 from Tatsuki Makino --- I will use the following file for the line numbers. https: //cgit.freebsd.org /ports/tree/multimedia/webcamd/files/webcamd.conf.in?id=3Db12212190261b8694= be357bf2f052effacc06cc0 https: //cgit.freebsd.org /ports/tree/multimedia/webcamd/files/webcamd.in?id=3D3262e6b155e17c66aaff42= d1eeedb0bce730f1cd One reason why webcamd generates core dumps is the execution of "service webcamd stop". There are signals to send in line 216 of webcamd.in, and that is because th= ere is a SIGQUIT. If the process takes more than 2 seconds to terminate, SIGQUIT may likely be sent during that time. It behaves differently depending on whether there are additional arguments = at the time of "service webcamd start". The junction is at line 169 of webcamd.in. As seen in the contents of webcamd.conf.in, webcamd for USB devices is star= ted by it. To restart, either a attach event is awaited or the same command is executed manually. Executing usbconfig reset to trigger attach events has significant adverse effects, especially on storage :) --=20 You are receiving this mail because: You are on the CC list for the bug.=