[Pkg-audacious-maintainers] Bug#544339: Segfaults when reading my timidity configuration

hungerburg dub at lazy.shacknet.nu
Sun Aug 30 19:22:46 UTC 2009


Package: audacious
Version: 2.1-1+b1
Severity: important

Audacious2 cannot handle my timidity configuration. From looking at
strace, when it reads "/etc/timidity/timidity.cfg", it follows the
include "/etc/timidity/eawpats.cfg" until it encounters the source
"gravis.cfg". The file is not found and audacious terminates by
segmentation fault.

WORKAROUND: Yet, the file is just not found, because audacious
ignores the "dir /usr/share/midi/eawpats" statement before the
source line. Putting the full path before the following sources
there makes audacious happy.

Still, there are two BUGS: First the application should not crash
due to a missing file mentioned in timidity config, second the
file is actually not missing at all, because the "dir" is a valid
statement in this context.

Below gdb backtrace to help locate the code:

(gdb) run
Starting program: /usr/bin/audacious2 
[Thread debugging using libthread_db enabled]
[New Thread 0xb6ea1b90 (LWP 3880)]
[New Thread 0xb1283b90 (LWP 3881)]

Program received signal SIGSEGV, Segmentation fault.
0xb7daadba in ?? () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0  0xb7daadba in ?? () from /usr/lib/libglib-2.0.so.0
#1  0xb7dab60f in g_filename_from_uri () from /usr/lib/libglib-2.0.so.0
#2  0xb7fbe9f5 in vfs_file_test (path=0x0, test=G_FILE_TEST_EXISTS) at vfs.c:362
#3  0xb39c4bb7 in open_file (name=0xbfffeebb "gravis.cfg") at libtimidity/common.c:57
#4  0xb39ccc08 in read_config_file (name=0x66 <Address 0x66 out of bounds>) at libtimidity/timidity.c:89
#5  0xb39cd59e in read_config_file (name=<value optimized out>) at libtimidity/timidity.c:219
#6  0xb39cd59e in read_config_file (name=<value optimized out>) at libtimidity/timidity.c:219
#7  0xb39c43bb in xmmstimid_init () at xmms-timidity.c:104
#8  0x0806427c in plugin_system_init () at pluginenum.c:974
#9  0x0805b23a in main (argc=Cannot access memory at address 0x66) at main.c:553



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages audacious depends on:
ii  audacious-plugins             2.1-1      Base plugins for audacious
ii  dbus                          1.2.16-2   simple interprocess messaging syst
ii  dbus-x11                      1.2.16-2   simple interprocess messaging syst
ii  gtk2-engines-pixbuf           2.16.5-1   Pixbuf-based theme for GTK+ 2.x
ii  libatk1.0-0                   1.26.0-1   The ATK accessibility toolkit
ii  libaudclient2                 2.1-1+b1   audacious dbus remote control libr
ii  libaudcore1                   2.1-1+b1   audacious core engine library
ii  libaudid3tag2                 2.1-1+b1   audacious id3 tag manipulation lib
ii  libaudutil1                   2.1-1+b1   audacious utility library
ii  libc6                         2.9-25     GNU C Library: Shared libraries
ii  libcairo2                     1.8.8-2    The Cairo 2D vector graphics libra
ii  libdbus-1-3                   1.2.16-2   simple interprocess messaging syst
ii  libdbus-glib-1-2              0.82-1     simple interprocess messaging syst
ii  libfontconfig1                2.6.0-4    generic font configuration library
ii  libfreetype6                  2.3.9-5    FreeType 2 font engine, shared lib
ii  libglib2.0-0                  2.20.4-1   The GLib library of C routines
ii  libgtk2.0-0                   2.16.5-1   The GTK+ graphical user interface 
ii  libice6                       2:1.0.5-1  X11 Inter-Client Exchange library
ii  libmcs1                       0.7.1-1    Abstraction library to store confi
ii  libmowgli1                    0.6.1-1    a high performance development fra
ii  libpango1.0-0                 1.24.5-1   Layout and rendering of internatio
ii  libsad2                       2.1-1+b1   audacious scale and dither library
ii  libsamplerate0                0.1.7-2    audio rate conversion library
ii  libsm6                        2:1.1.0-2  X11 Session Management library

Versions of packages audacious recommends:
ii  audacious-plugins-extra       2.1-1      Various extra plugins for audaciou
ii  unzip                         6.0-1      De-archiver for .zip files

audacious suggests no packages.

-- no debconf information





More information about the Pkg-audacious-maintainers mailing list