[Bug 252099] multimedia/webcamd after a stop of the webcamd service, the service will not start
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 08 Apr 2025 22:05:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252099 --- Comment #29 from Tatsuki Makino <tatsuki_makino@hotmail.com> --- I will use the following file for the line numbers. https: //cgit.freebsd.org /ports/tree/multimedia/webcamd/files/webcamd.conf.in?id=b12212190261b8694be357bf2f052effacc06cc0 https: //cgit.freebsd.org /ports/tree/multimedia/webcamd/files/webcamd.in?id=3262e6b155e17c66aaff42d1eeedb0bce730f1cd 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 there 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 started 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 :) -- You are receiving this mail because: You are on the CC list for the bug.