Ticket #1233 (closed bug: fixed)

Opened 17 months ago

Last modified 17 months ago

Prefs Sounds application crash

Reported by: cebif Owned by: korli
Priority: normal Milestone: R1
Component: Kits/Game Kit Version: R1 development
Cc: Blocked By:
Platform: All Blocking:

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.

1. Open prefs/sounds from the Deskbar. 2. Click on a type of sound in the Sounds window. 3. Assign a sound to it such as BeStartup or any preferred. 4. 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

Haiku Sounds Crash Debug Info (2.2 kB) - added by cebif 17 months ago.
gdb debug and a bactrace (3.3 kB) - added by cebif 17 months ago.

Change History

Changed 17 months ago by cebif

Changed 17 months ago by cebif

I was using the r21175_raw.tar.bz2 on itś own partition. Also added an attachment.

Changed 17 months ago by marcusoverhagen

  • owner marcusoverhagen deleted

Changed 17 months ago by cebif

Changed 17 months ago by cebif

I have made the bug to happen again. This time with a backtrace added to the gdb debug info.

Changed 17 months ago by jackburton

  • component changed from - Preferences/Sounds to Kits/Game Kit

The problem seems to lie in the game kit's BFileGameSound. Switching component...

Changed 17 months ago by marcusoverhagen

  • owner set to korli

Reassigning this bug to korli, as he did the most recent work on game sounds, perhaps he can help fixing this problem.

Changed 17 months ago by jackburton

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

Changed 17 months ago by cebif

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.

Changed 17 months ago by korli

  • status changed from new to assigned

Please test with revision 21221.

Changed 17 months ago by cebif

I tested with r21231. Could not see r21221 on the list. Sounds do not crash if I play a *.wav file but the whole system crashes when playing *.aiff files. They play then the keyboard locks up and a little time after that the mouse locks up. Using media player the same thing happens.

Changed 17 months ago by cebif

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.

Changed 17 months ago by korli

  • status changed from assigned to closed
  • resolution set to fixed

Could I suggest to open a new bug for aiff files ? Thanks.

Note: See TracTickets for help on using tickets.