#16683 closed bug (fixed)
media_addon_server crashed on startup
Reported by: | Starcrasher | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta3 |
Component: | Kits/Media Kit | Version: | R1/beta2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
I also have no audio unless I restart it manually. Trying to play a video before restarting it makes browser crashed silently. Is it trying to play startup sound before hardware is ready?
Attachments (3)
Change History (10)
by , 4 years ago
Attachment: | media_addon_server-995-debug-22-12-2020-14-06-23.report added |
---|
by , 4 years ago
Attachment: | media_addon_server-998-debug-22-12-2020-14-15-45.report added |
---|
by , 4 years ago
Attachment: | syslog_extracts.txt added |
---|
comment:1 by , 4 years ago
Answering my own question: I tried without the starting sound, it also crashed.
For few days already, I noticed an increased delay between the moment when Haiku leaves the rocket launch page and the moment when desktop is operational.
Since I have Haiku on a USB key, I don't keep a lot of old states but I tried hrev 54795 with same results.
comment:2 by , 4 years ago
Actually, it is USBDeskbar applet which is adding two sound events: USB device mount and USB device unmount. I had associated those events with device_connect.wav and device_discconnect.wav from our new sound scheme.
Booting without the applet, there's no crash.
Booting with the applet and no sound associated to USB device mount results in no crash.
Booting with the applet and a sound associated to USB device mount crashed everytime.
Maybe wouldn't it crash if I wasn't booting from an USB device...
I see two opttions, first it is to make those sounds available only later (anyway after startup sound) or second fix USBDesbar so it doesn't play sounds at boot time.
comment:3 by , 4 years ago
Also reported here so everyone is aware https://github.com/HaikuArchives/USBDeskbar/issues/4
comment:4 by , 4 years ago
I don't think USBDeskbar is doing anything wrong here, and even if it did it should not crash the server. At first glance it seems the node would be null without the roster and we should check that before releasing it. I'll check tomorrow if no one else does before.
comment:6 by , 4 years ago
Component: | - General → Kits/Media Kit |
---|---|
Milestone: | Unscheduled → R1/beta3 |
comment:7 by , 4 years ago
I updated to 54811, associated sound to USB device mount. No more crash on boot. Thank you!
corresponding syslog extracts