Debian Bug report logs - #544339
Segfaults when reading my timidity configuration

version graph

Package: audacious; Maintainer for audacious is Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>; Source for audacious is src:audacious (PTS, buildd, popcon).

Reported by: hungerburg <dub@lazy.shacknet.nu>

Date: Sun, 30 Aug 2009 19:33:01 UTC

Severity: important

Found in version audacious/2.1-1

Fixed in versions audacious/2.3-1, 2.3-1

Done: Benjamin Drung <bdrung@ubuntu.com>

Bug is archived. No further changes may be made.

Forwarded to http://jira.atheme.org/browse/AUDPLUG-68

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>:
Bug#544339; Package audacious. (Sun, 30 Aug 2009 19:33:05 GMT) (full text, mbox, link).


Acknowledgement sent to hungerburg <dub@lazy.shacknet.nu>:
New Bug report received and forwarded. Copy sent to Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>. (Sun, 30 Aug 2009 19:33:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: hungerburg <dub@lazy.shacknet.nu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Segfaults when reading my timidity configuration
Date: Sun, 30 Aug 2009 21:22:46 +0200
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




Set Bug forwarded-to-address to 'http://jira.atheme.org/browse/AUDPLUG-68'. Request was from John Lindgren <john.lindgren@tds.net> to control@bugs.debian.org. (Mon, 31 Aug 2009 14:18:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>:
Bug#544339; Package audacious. (Sat, 03 Oct 2009 11:42:02 GMT) (full text, mbox, link).


Acknowledgement sent to Peter Rabbitson <rabbit+bugs@rabbit.us>:
Extra info received and forwarded to list. Copy sent to Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>. (Sat, 03 Oct 2009 11:42:02 GMT) (full text, mbox, link).


Message #12 received at 544339@bugs.debian.org (full text, mbox, reply):

From: Peter Rabbitson <rabbit+bugs@rabbit.us>
To: 544339@bugs.debian.org
Subject: Confirming
Date: Sat, 03 Oct 2009 13:23:18 +0200
Seeing absolutely the same problem here. The following changes allow
audacious to start. This is horrible >:(

--- /etc/timidity/timidity.cfg.orig	2009-10-03 13:21:56.000000000 +0200
+++ /etc/timidity/timidity.cfg	2009-10-03 13:22:24.000000000 +0200
@@ -32,12 +32,12 @@
 dir /usr/local/lib/timidity/patches

 ##############################################################################
 # Default patches
 #
-source gravis.cfg
-source sustain.cfg
+source /usr/local/lib/timidity/patches/gravis.cfg
+source /usr/local/lib/timidity/patches/sustain.cfg


 ##############################################################################
 # If you want the full GUS General MIDI patch set (doesn't sound too good),
 # uncomment the following lines




Added tag(s) fixed-upstream. Request was from bts-link-upstream@lists.alioth.debian.org to control@bugs.debian.org. (Mon, 16 Nov 2009 16:58:00 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>:
Bug#544339; Package audacious. (Mon, 12 Apr 2010 23:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to John Lindgren <john.lindgren@tds.net>:
Extra info received and forwarded to list. Copy sent to Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>. (Mon, 12 Apr 2010 23:21:03 GMT) (full text, mbox, link).


Message #19 received at 544339@bugs.debian.org (full text, mbox, reply):

From: John Lindgren <john.lindgren@tds.net>
To: hungerburg <dub@lazy.shacknet.nu>, Peter Rabbitson <rabbit+bugs@rabbit.us>, control@bugs.debian.org
Cc: 544339@bugs.debian.org
Subject: Re: audacious: Segfaults when reading my timidity configuration
Date: Mon, 12 Apr 2010 19:17:28 -0400
tags 544339 - fixed-upstream
fixed 544339 2.3-1
thanks

In 2.3-1, the misbehaving "timidity" plugin is removed, and output to
Timidity is done through the ALSA sequencer.

Peace,
John Lindgren





Removed tag(s) fixed-upstream. Request was from John Lindgren <john.lindgren@tds.net> to control@bugs.debian.org. (Mon, 12 Apr 2010 23:21:04 GMT) (full text, mbox, link).


Bug Marked as fixed in versions audacious/2.3-1. Request was from John Lindgren <john.lindgren@tds.net> to control@bugs.debian.org. (Mon, 12 Apr 2010 23:21:05 GMT) (full text, mbox, link).


Reply sent to Benjamin Drung <bdrung@ubuntu.com>:
You have taken responsibility. (Sat, 04 Sep 2010 19:36:15 GMT) (full text, mbox, link).


Notification sent to hungerburg <dub@lazy.shacknet.nu>:
Bug acknowledged by developer. (Sat, 04 Sep 2010 19:36:16 GMT) (full text, mbox, link).


Message #28 received at 544339-done@bugs.debian.org (full text, mbox, reply):

From: Benjamin Drung <bdrung@ubuntu.com>
To: 544339-done@bugs.debian.org
Subject: Re: audacious: Segfaults when reading my timidity configuration
Date: Sat, 04 Sep 2010 21:32:48 +0200
[Message part 1 (text/plain, inline)]
Version: 2.3-1

This bug was fixed upstream.

-- 
Benjamin Drung
Ubuntu Developer (www.ubuntu.com) | Debian Maintainer (www.debian.org)
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 03 Oct 2010 07:37:17 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 00:04:49 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.