FretsOnFire.py crashed with error in open()

Bug #123433 reported by Benjamin Rubin
172
This bug affects 5 people
Affects Status Importance Assigned to Milestone
fretsonfire (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: fretsonfire

Crash when applying video settings, regardless of what change had been made.

ProblemType: Crash
Architecture: i386
Date: Sun Jul 1 16:26:40 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/share/games/fretsonfire/game/FretsOnFire.py
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: fglrx
Package: fretsonfire-game 1.2.451.dfsg-1
PackageArchitecture: all
ProcCmdline: /usr/bin/python FretsOnFire.py
ProcCwd: /usr/share/games/fretsonfire/game
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['FretsOnFire.py']
SourcePackage: fretsonfire
Title: FretsOnFire.py crashed with error in open()
Uname: Linux romulus 2.6.22-7-generic #1 SMP Mon Jun 25 17:33:14 GMT 2007 i686 GNU/Linux

Tags: apport-crash
Revision history for this message
Benjamin Rubin (bnrubin) wrote :
Revision history for this message
Adam Dunn (dunnadam) wrote :

This seems to occur for me any time I apply settings from within FoF. This could be any settings, whether it's in the video configuration area, the audio, or the game settings config.
Command line output from the crash:
ALSA lib pcm_dmix.c:866:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:866:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:866:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:866:(snd_pcm_dmix_open) unable to open slave
Traceback (most recent call last):
  File "FretsOnFire.py", line 64, in <module>
    engine = GameEngine(config)
  File "/usr/share/games/fretsonfire/game/GameEngine.py", line 149, in __init__
    self.audio.open(frequency = frequency, bits = bits, stereo = stereo, bufferSize = bufferSize)
  File "/usr/share/games/fretsonfire/game/Audio.py", line 49, in open
    pygame.mixer.init()
pygame.error: No available audio device

I've got a VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60) onboard integrated sound card, and am running libasound2 1.0.15-3ubuntu3.

Reproduction: Open fretsonfire, go to settings, go to game settings, change any setting in the menu, go to apply settings, and then crash.

Revision history for this message
solovizium (solovizium) wrote :

I've got a CreativeLabs Soundblaster 1024 Live, FoF doesn't even start.

Revision history for this message
aberlanas (angel-berlanas) wrote :

When I start Fretsonfire the message is the next:

ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
Traceback (most recent call last):
  File "./FretsOnFire.py", line 64, in <module>
    engine = GameEngine(config)
  File "/usr/share/games/fretsonfire/game/GameEngine.py", line 149, in __init__
    self.audio.open(frequency = frequency, bits = bits, stereo = stereo, bufferSize = bufferSize)
  File "/usr/share/games/fretsonfire/game/Audio.py", line 49, in open
    pygame.mixer.init()
pygame.error: No available audio device

Revision history for this message
Zarius (zariust+ubuntu) wrote :

I got the same error as above on Ubuntu Hardy Heron Beta, running onboard sound (82801H (ICH8 Family) HD Audio Controller (P5B)).

Changed in fretsonfire:
status: New → Confirmed
Revision history for this message
Zarius (zariust+ubuntu) wrote :

Update: noticed my original problem was a little different than the OP (not caused by video settings). I solved my problem by restarting GDM (seems something was holding onto the sound device - or at least ALSA thought so, I couldn't find anything with 'fuser -v /dev/snd/*'). Upon successfully starting the program I changed the video settings and it crashed in a similar fashion to the OP. Tested a second time with fresh start & no change to video settings (just entered video settings & selected 'Apply') - crashed.

Revision history for this message
Carlos Hellin (carloshellin) wrote :

Same error after using VLC and run FretsOnFire:

$ fretsonfire
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
Traceback (most recent call last):
  File "./FretsOnFire.py", line 64, in <module>
    engine = GameEngine(config)
  File "/usr/share/games/fretsonfire/game/GameEngine.py", line 149, in __init__
    self.audio.open(frequency = frequency, bits = bits, stereo = stereo, bufferSize = bufferSize)
  File "/usr/share/games/fretsonfire/game/Audio.py", line 49, in open
    pygame.mixer.init()
pygame.error: No available audio device

My audio is:
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02

Revision history for this message
linuxatico88 (simo88-47) wrote :

i had this bug too on my dv2570el hp laptop...more than what you have already said, i can add that after the closing of FOF my mouse became inexistent, i must restart X if i want it back :(

Revision history for this message
etienne (boulanger-e) wrote : Re: [Bug 123433] Re: FretsOnFire.py crashed with error in open()
  • unnamed Edit (1.9 KiB, text/html; charset=ISO-8859-1)

same thing here.. also desktop was way down on resolution... tring to make
it work again and again but no avail as of now

On Sun, Apr 20, 2008 at 11:01 AM, linuxatico88 <email address hidden> wrote:

> i had this bug too on my dv2570el hp laptop...more than what you have
> already said, i can add that after the closing of FOF my mouse became
> inexistent, i must restart X if i want it back :(
>
> --
> FretsOnFire.py crashed with error in open()
> https://bugs.launchpad.net/bugs/123433
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Source Package "fretsonfire" in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: fretsonfire
>
> Crash when applying video settings, regardless of what change had been
> made.
>
> ProblemType: Crash
> Architecture: i386
> Date: Sun Jul 1 16:26:40 2007
> DistroRelease: Ubuntu 7.10
> ExecutablePath: /usr/share/games/fretsonfire/game/FretsOnFire.py
> InterpreterPath: /usr/bin/python2.5
> NonfreeKernelModules: fglrx
> Package: fretsonfire-game 1.2.451.dfsg-1
> PackageArchitecture: all
> ProcCmdline: /usr/bin/python FretsOnFire.py
> ProcCwd: /usr/share/games/fretsonfire/game
> ProcEnviron:
>
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> PythonArgs: ['FretsOnFire.py']
> SourcePackage: fretsonfire
> Title: FretsOnFire.py crashed with error in open()
> Uname: Linux romulus 2.6.22-7-generic #1 SMP Mon Jun 25 17:33:14 GMT 2007
> i686 GNU/Linux
>

Revision history for this message
Michael Nagel (nailor) wrote :

had this happen right now, too. is there any useful information that i could provide?

Revision history for this message
Hew (hew) wrote :

This is still happening in Intrepid. Game crashes on opening if sound device is busy. It also crashes later in the menu after opening when the device is not busy, but that may be another issue.

fretsonfire/intrepid uptodate 1.2.451.dfsg-2
python/intrepid uptodate 2.5.2-1ubuntu1

Changed in fretsonfire:
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Hew (hew) wrote :

Still present with fretsonfire 1.2.512.dfsg-3.

Revision history for this message
Philipp Kern (pkern) wrote :

Did you try it on Gnome or KDE? I can't reproduce it with pulseaudio running.

Revision history for this message
Krypto0 (zerosneaker) wrote :

I tried it by running it in Gnome

2009/3/3 Philipp Kern <<email address hidden><phil%<email address hidden>>
>

> Did you try it on Gnome or KDE? I can't reproduce it with pulseaudio
> running.
>
> --
> FretsOnFire.py crashed with error in open()
> https://bugs.launchpad.net/bugs/123433
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “fretsonfire” source package in Ubuntu: Triaged
>
> Bug description:
> Binary package hint: fretsonfire
>
> Crash when applying video settings, regardless of what change had been
> made.
>
> ProblemType: Crash
> Architecture: i386
> Date: Sun Jul 1 16:26:40 2007
> DistroRelease: Ubuntu 7.10
> ExecutablePath: /usr/share/games/fretsonfire/game/FretsOnFire.py
> InterpreterPath: /usr/bin/python2.5
> NonfreeKernelModules: fglrx
> Package: fretsonfire-game 1.2.451.dfsg-1
> PackageArchitecture: all
> ProcCmdline: /usr/bin/python FretsOnFire.py
> ProcCwd: /usr/share/games/fretsonfire/game
> ProcEnviron:
>
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> PythonArgs: ['FretsOnFire.py']
> SourcePackage: fretsonfire
> Title: FretsOnFire.py crashed with error in open()
> Uname: Linux romulus 2.6.22-7-generic #1 SMP Mon Jun 25 17:33:14 GMT 2007
> i686 GNU/Linux
>

Revision history for this message
Michael Nagel (nailor) wrote :

i can no longer reproduce using
- intrepid
- gnome
- pulseaudio
- fglrx
- metacity

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Is this still an issue for you? Which Ubuntu version do you use? Thank you for telling us!

Changed in fretsonfire (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
solovizium (solovizium) wrote :

No
Am 22.11.2012 09:20 schrieb "Thomas Hotz" <email address hidden>:

> Is this still an issue for you? Which Ubuntu version do you use? Thank
> you for telling us!
>
> ** Changed in: fretsonfire (Ubuntu)
> Status: Triaged => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/123433
>
> Title:
> FretsOnFire.py crashed with error in open()
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/fretsonfire/+bug/123433/+subscriptions
>

Changed in fretsonfire (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Nicolas Borie (nicolas-borie42) wrote :

Le 22/11/2012 09:15, Thomas Hotz a écrit :
> Is this still an issue for you? Which Ubuntu version do you use? Thank
> you for telling us!
>
> ** Changed in: fretsonfire (Ubuntu)
> Status: Triaged => Incomplete
>
This seems to be resolve on my computer. I am currently runing an 12.4
(32 bits) up to date on my macbook santa rosa 4,1.

Thanks for all your work...
N.B.

Revision history for this message
Samuel MC (mcambron76) wrote :

Fixed problem already, thanks ... Ubuntu 12.04 is the versión

Enviado desde mi iPhone

El 22/11/2012, a las 05:23, Nicolas Borie <email address hidden> escribió:

> Le 22/11/2012 09:15, Thomas Hotz a écrit :
>> Is this still an issue for you? Which Ubuntu version do you use? Thank
>> you for telling us!
>>
>> ** Changed in: fretsonfire (Ubuntu)
>> Status: Triaged => Incomplete
> This seems to be resolve on my computer. I am currently runing an 12.4
> (32 bits) up to date on my macbook santa rosa 4,1.
>
> Thanks for all your work...
> N.B.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (318090).
> https://bugs.launchpad.net/bugs/123433
>
> Title:
> FretsOnFire.py crashed with error in open()
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/fretsonfire/+bug/123433/+subscriptions

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.