| Summary: | multimedia/webcamd: Never creates device nodes if HAL is enabled | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Patrick McMunn <doctorwhoguy> | ||||
| Component: | Individual Port(s) | Assignee: | Hans Petter Selasky <hselasky> | ||||
| Status: | Closed Overcome By Events | ||||||
| Severity: | Affects Only Me | CC: | 0mp, grahamperrin, hselasky | ||||
| Priority: | --- | Keywords: | needs-qa | ||||
| Version: | Latest | Flags: | koobs:
maintainer-feedback?
(hselasky) |
||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Bug Depends on: | 244958 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Patrick McMunn
2020-03-18 05:29:36 UTC
Can you do a ktrace on webcamd, to figure out why it doesn't connect to hal? --HPS I've never used ktrace before, so I had to read the man page. I hope I used it correctly. I started hal with "service hald start" then ran "ktrace -tcnisuw -i webcamd -N Logitech-Logitech-Dual-Action -M 0 -H" from the command line. But even though there are some /var/run/hald/dbus-xxxxxxxxxx files with the timestamp of when I started hal, I can't find in top or KDE's system monior any sign that hal is remaining resident after starting it. So maybe hal is starting and immediately exiting for some reason? Created attachment 212515 [details]
ktrace.out
This appears that it may just be a hald issue and not a webcamd issue. Hal is indeed crashing, so I opened a bug for hald crashing on startup. It's bug 244958. Hi, Is hald installed in your system? ps auxw | grep hal --HPS I followed up on the HAL bug I filed. HAL is no longer crashing and I haven't been able to reproduce the crash. Since this turned out to be primarily an issue with HAL, maybe this should be closed. The only suggestion I would have is, if possible, implement either a fallback mechanism or maybe have a timeout period and emit an error message if webcamd is unable to connect to HAL. A fallback mechanism would probably result in just masking an issue if one were to occur and it not being discovered. At least if it failed and exited with something like "Unable to connect to HAL. Is HAL running?" it could provide enough information to a user to pinpoint the problem if HAL were to act up again. HAL has been removed from the ports tree in https://svnweb.freebsd.org/ports?view=revision&revision=564691. I'm closing this issue for now because of that. |