Pathological crash on startup

Bug #269155 reported by obiwanbendover on 2008-09-11
Affects Status Importance Assigned to Milestone
pathological (Ubuntu)

Bug Description

Binary package hint: pathological

Ubuntu 8.10 alpha 4
Pathological 1.1.3-8Ubuntu
Pathological-Music v2
I get the following error message only if Pathological is run with music enabled.
"Fatal Python error: (pygame parachute) Segmentation Fault
Aborted (core dumped)"
Program runs fine regardless of settings of 'full screen' or 'sound effects' Also runs fine if 'music' is set to Off

It Works if you disable sound. Perhaps a problem with pulseaudio. But deactivating pulseaudio to alsa don't change anything.

thom (tsk) wrote :

I can confirm this bug.

Ubuntu 8.10
Kernel: Linux 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:20 UTC 2008 i686 GNU/Linux

  Geïnstalleerd: 1.1.3-8ubuntu2
  Kandidaat: 1.1.3-8ubuntu2
 *** 1.1.3-8ubuntu2 0
        500 intrepid/universe Packages
        100 /var/lib/dpkg/status

thom (tsk) wrote :

managed to enable music from within the game by pressing F4.
soundfx however keep on having an unbearable latency of >200ms

I can confirm this bug.

Martin Schwenke (martin-meltin) wrote :

I see this too in Jaunty:

  Installed: 1.1.3-8ubuntu2
  Candidate: 1.1.3-8ubuntu2
  Version table:
 *** 1.1.3-8ubuntu2 0
        500 http://proxy jaunty/universe Packages
        100 /var/lib/dpkg/status

As mentioned above, turning off music and sound effects stops the crash.

Running under gdb, I end up with this:

(gdb) bt
#0 0xb7713dde in pt_UpdateVoices () from /usr/lib/
#1 0xb7715973 in Player_HandleTick () from /usr/lib/
#2 0xb772024b in VC2_WriteSamples () from /usr/lib/
#3 0xb7721e72 in VC2_WriteBytes () from /usr/lib/
#4 0xb7722055 in VC_WriteBytes () from /usr/lib/
#5 0xb773a2d2 in music_mixer () from /usr/lib/
#6 0xb7737c3b in ?? () from /usr/lib/
#7 0xb7b3ace2 in ?? () from /usr/lib/
#8 0xb7b4283b in ?? () from /usr/lib/
#9 0xb7b9071d in ?? () from /usr/lib/
#10 0xb80464ff in start_thread () from /lib/tls/i686/cmov/
#11 0xb7f7c49e in clone () from /lib/tls/i686/cmov/

So it definitely looks to be sound related.

I notice that a couple of other SDL games (supertux2 - binary) and frozen-bubble (perl) work fine... so I wonder if there's a problem with python-pygame? Or perhaps it is specific to pathological?

For me on intrepid, sound works just fine, but if music is left on, then it crashes.
Run from the command line, this is the error:

Fatal Python error: (pygame parachute) Segmentation Fault

I don't know any python, but I read the man page and tried running with options. No further information was found at the time of the crash, but I could get some startup info:
-W module gives the following warnings:

/usr/lib/python2.5/site-packages/pygame/ ImportWarning: Not importing directory '/usr/lib/python2.5/site-packages/Numeric': missing
  import pygame._numericsurfarray as numericsf

-v gives nothing useful, only a list of libraries loaded (all lines include one of: import, matches, dlopen).

thom (tsk) wrote :

Update on this issue:

On Karmic the game no longer crashes. :-)

The only bug now is the (even bigger) extreme latency of the soundeffects (>300ms)

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

Other bug subscribers