Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#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)

media_addon_server-995-debug-22-12-2020-14-06-23.report (20.1 KB ) - added by Starcrasher 4 years ago.
media_addon_server-998-debug-22-12-2020-14-15-45.report (20.1 KB ) - added by Starcrasher 4 years ago.
syslog_extracts.txt (31.3 KB ) - added by Starcrasher 4 years ago.
corresponding syslog extracts

Download all attachments as: .zip

Change History (10)

by Starcrasher, 4 years ago

Attachment: syslog_extracts.txt added

corresponding syslog extracts

comment:1 by Starcrasher, 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 Starcrasher, 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 Starcrasher, 4 years ago

Also reported here so everyone is aware https://github.com/HaikuArchives/USBDeskbar/issues/4

comment:4 by madmax, 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:5 by waddlesplash, 4 years ago

Resolution: fixed
Status: newclosed

Fix merged in hrev54811

comment:6 by waddlesplash, 4 years ago

Component: - GeneralKits/Media Kit
Milestone: UnscheduledR1/beta3

comment:7 by Starcrasher, 4 years ago

I updated to 54811, associated sound to USB device mount. No more crash on boot. Thank you!

Note: See TracTickets for help on using tickets.