simutrans crashes with segfault when disabling music

Bug #594461 reported by Nicholas Fechner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sdl-mixer1.2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: simutrans

When starting simutrans, there is no sound and music. If i then disable the music button, the game crashes after about 20 seconds.

I've added debug console output as an attachment.

Steps to reproduce:
- Start simutrans
- Open options
- Select "Disable music" (if it was already disabled, enable first)

I've added my user to the audio group to have the neccessary rights on /dev/sequencer and /dev/snd/seq, but that didn't help.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: simutrans 102.2.2~ds1-1
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue Jun 15 08:01:13 2010
InstallationMedia: Kubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: simutrans

Revision history for this message
Nicholas Fechner (ich-nicholas-fechner) wrote :
TimWintle (timwintle)
Changed in simutrans (Ubuntu):
status: New → Confirmed
Revision history for this message
TimWintle (timwintle) wrote :

I've confirmed this behaviour - starting the game with music enabled causes this for me (on AMD-64).

Starting from a terminal with the "-nomidi" flag does not cause this behaviour for me.

the -nomidi flag has been a long-time recommendation for avoiding this on linux from upstream - According to the release notes for 101.0 ( http://forum.simutrans.com/index.php?topic=1205.0 ),

"disabling sound and midi will be now saved and will disable them completely to avoid the SDL_mixer troubles"

Revision history for this message
Ansgar Burchardt (aburch) wrote :

I cannot reproduce this on Debian (amd64).

Could you please try to get a backtrace to see weather the crash happens in Simutrans itself or in some library? See [1] for some help how to get a backtrace.

Ansgar

[1] https://wiki.ubuntu.com/Backtrace

Revision history for this message
Nicholas Fechner (ich-nicholas-fechner) wrote :

Here is the requested backtrace.
Even though I don't understand much about backtraces, it certainly reads like an SDL problem.

Revision history for this message
Nicholas Fechner (ich-nicholas-fechner) wrote :

I tried the -nomidi option as suggested, but was still able to reproduce the segfault. Although I probably cheated: I enabled and disabled the music button in the settings to get simutrans to crash. Don't know, if the start parameter just sets the switch to off by default or if it disables the music completely.

Revision history for this message
Ansgar Burchardt (aburch) wrote :

Reassign to sdl-mixer1.2 as the crash happens there.

affects: simutrans (Ubuntu) → sdl-mixer1.2 (Ubuntu)
Revision history for this message
Manuel A. Fernandez Montecelo (mafm) wrote :

It would be worth trying with 1.2.11 recently synced from Debian.

Revision history for this message
Manuel A. Fernandez Montecelo (mafm) wrote :

This is probably fixed in recent Debian releases, please see similar bug report in Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688369

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.