Opened 18 years ago

Closed 18 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.

  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 (2)

Haiku Sounds Crash Debug Info (2.2 KB ) - added by cebif 18 years ago.
gdb debug and a bactrace (3.3 KB ) - added by cebif 18 years ago.

Download all attachments as: .zip

Change History (13)

by cebif, 18 years ago

comment:1 by cebif, 18 years ago

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

comment:2 by marcusoverhagen, 18 years ago

Owner: marcusoverhagen removed

by cebif, 18 years ago

Attachment: gdb debug and a bactrace added

comment:3 by cebif, 18 years ago

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

comment:4 by jackburton, 18 years ago

Component: - Preferences/SoundsKits/Game Kit

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

comment:5 by marcusoverhagen, 18 years ago

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.

comment:6 by jackburton, 18 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 cebif, 18 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:8 by korli, 18 years ago

Status: newassigned

Please test with revision 21221.

comment:9 by cebif, 18 years ago

I tested with hrev21231. Could not see hrev21221 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.

comment:10 by cebif, 18 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 korli, 18 years ago

Resolution: fixed
Status: assignedclosed

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

Note: See TracTickets for help on using tickets.