Opened 17 years ago
Closed 17 years ago
#1233 closed bug (fixed)
Prefs Sounds application crash
Reported by: | cebif | Owned by: | korli |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Kits/Game Kit | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
While playing boot Bestartup.aiff file in preferences/sounds, sound preferences crashed. I had just copied the sound file over from Beos R4.5 CD, into a folder /sounds, that I created in /boot/beos/etc.
- Open prefs/sounds from the Deskbar.
- Click on a type of sound in the Sounds window.
- Assign a sound to it such as BeStartup or any preferred.
- Click play, the sound plays then Sounds crashes.
The expected result is any sound should play without crashing. This is reproduceable every time.
If I play some wav music tracks copied from a audio CD, there is no problem using Media Player.
Attachments (2)
Change History (13)
by , 17 years ago
Attachment: | Haiku Sounds Crash Debug Info added |
---|
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Owner: | removed |
---|
by , 17 years ago
Attachment: | gdb debug and a bactrace added |
---|
comment:3 by , 17 years ago
I have made the bug to happen again. This time with a backtrace added to the gdb debug info.
comment:4 by , 17 years ago
Component: | - Preferences/Sounds → Kits/Game Kit |
---|
The problem seems to lie in the game kit's BFileGameSound. Switching component...
comment:5 by , 17 years ago
Owner: | set to |
---|
Reassigning this bug to korli, as he did the most recent work on game sounds, perhaps he can help fixing this problem.
comment:6 by , 17 years ago
I had a look at BFileGameSound::FillBuffer(). It seems it doesn't handle a NULL buffer gracefully. Actually I don't know if it should at all (in this case, the problem would be in the calling method).
comment:7 by , 17 years ago
Just to add some more concerning this bug which is probably part of the same bug or connected, If I select a sound in preferences/sounds but do not play it, then reboot, no startup sound plays. I then go to the sounds application and the startup sound I chose is not selected anymore.
comment:9 by , 17 years ago
comment:10 by , 17 years ago
Just a slight correction to my last comment. The media player does not exactly lock the mouse when playing *.aiff files. I can still move the pointer around but cannot click to activate anything and the context menu does not work either.
comment:11 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Could I suggest to open a new bug for aiff files ? Thanks.
I was using the r21175_raw.tar.bz2 on itś own partition. Also added an attachment.