Package: schism
Version: 1:0.5rc1-1
Severity: normal

How to reproduce: start schism, press enter to continue, press Shift-F5.

The crash has something to do with the way the Debian version is built and
uses Alsa for sound. If you start schism with the "-a nosound" option, you
can get to the preferences screen without any trouble.

I believe the problem is in the function preferences_set_page in
schism/page_preferences.c where lim in the division can be zero when the
mixer_get_max_volume function does not succeed.

I tried building a local debug version of the Debian source to investigate
further but I cannot reproduce the bug. Apparently rebuilding with my local
(newer?) versions of gcc and libraries is enough to make things work. Maybe
a rebuild is all it takes to fix the Debian version too?

On another note could you read the part on USE_DLTRICK_ALSA in
sys/alsa/midi-alsa.c and find out whether Debian needs this dl-trickery? I
believe the Debian version of libSDL is linked to libasound. Unfortunately
the --enable-alsadltrick option of the configure script seems to be removed
or is broken so building always uses the -DUSE_DLTRICK_ALSA option without a
way of turning it off.


Arjan


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.1
Locale: LANG=C, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)

Versions of packages schism depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libgcc1                     1:4.1.1-21   GCC support library
ii  libsdl1.2debian             1.2.11-8     Simple DirectMedia Layer
ii  libstdc++6                  4.1.1-21     The GNU Standard C++ Library v3

Versions of packages schism recommends:
pn  opencubicplayer               <none>     (no description available)
pn  xmms-modplug                  <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to