audacious crashed with SIGSEGV in mowgli_dictionary_retune()

Bug #273908 reported by hype
88
This bug affects 19 people
Affects Status Importance Assigned to Milestone
audacious (Fedora)
Fix Released
Medium
audacious (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: audacious

Audacious crashed when i dragged a mp3 file on the playbar.

IT seems that audacious has some issues recently: i have issues when launching a file while audacious isnt opened; instead of playing the track i clicked, it plays the latest track played before. (didnt check for bug reports yet)

ProblemType: Crash
Architecture: i386
CrashCounter: 1
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/audacious
NonfreeKernelModules: nvidia
Package: audacious 1.5.1-3ubuntu1
ProcAttrCurrent: unconfined
ProcCmdline: audacious file:///media/stock/audio/dub%5Creaggea/07_Gladiators%20-%20My%20Thoughts.mp3
ProcEnviron:
 PATH=/home/User Name/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: audacious
StacktraceTop:
 mowgli_dictionary_retune () from /usr/lib/libmowgli.so.1
 mowgli_dictionary_find () from /usr/lib/libmowgli.so.1
 mowgli_dictionary_retrieve () from /usr/lib/libmowgli.so.1
 ?? ()
 ?? ()
Title: audacious crashed with SIGSEGV in mowgli_dictionary_retune()
Uname: Linux 2.6.27-4-generic i686
UserGroups: adm admin cdrom dialout fuse lpadmin plugdev sambashare

Tags: apport-crash
Revision history for this message
hype (hypeuser-lp) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:mowgli_dictionary_retune (dict=0x8d772e8, key=0xb3000b60 "file://") at mowgli_dictionary.c:260
mowgli_dictionary_find (dict=0x8d772e8, key=0xb3000b60 "file://") at mowgli_dictionary.c:712
mowgli_dictionary_retrieve (dtree=0x8d772e8, key=0xb3000b60 "file://") at mowgli_dictionary.c:816
uri_get_plugin (
input_check_file (

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in audacious:
importance: Undecided → Medium
Revision history for this message
Bryce Harrington (bryce) wrote :

It appears that the mowgli hashtable lacks a definition for file:// or something. Not sure why mowgli would segfault rather than just return false or something, but the attached patch should prevent mowgli from being accessed for file://'s. Dunno if this is an appropriate fix, probably needs more review by upstream.

Bryce Harrington (bryce)
Changed in audacious:
status: New → In Progress
Revision history for this message
William Pitcock (nenolod) wrote :

umm. no. the only time mowgli_dictionary_retune() will crash is if the dtree memory is corrupted, which means this reporter has bad RAM, or something really bad is going on elsewhere.

this is not happening in Debian, so I blame your extra patches...

Revision history for this message
Daniel Santibáñez Polanco (dansanti) wrote :

also ubuntu 9.04

Revision history for this message
Andrei Ciobanu (gnomemory) wrote :

confirmed on xubuntu 9.04

Revision history for this message
Daniel Santibáñez Polanco (dansanti) wrote :

happend on ubuntu 9.04 amd64 too

Changed in audacious (Fedora):
status: Unknown → In Progress
Changed in audacious (Fedora):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package audacious - 2.1-1ubuntu3

---------------
audacious (2.1-1ubuntu3) lucid; urgency=low

  * Add 101_ui_vis_pixmap_nullptr.patch: Check return value of
    gdk_pixmap_new() before dereferencing it.
    (LP: #292020)
  * Add 102_playlist_compare_path_assert.patch: Check input parameters
    for NULL values before dereferencing them.
    (LP: #197027)
  * Add 103_playlist_get_length.patch: Check for NULL playlist before
    dereferencing it.
    (LP: #268747)
  * Add 104_fix-playlist-eof-hook.diff: Trigger hook for reaching the
    end of the playlist.
    (LP: #499700)
  * Add 105_custom_uri.patch: Don't try looking up incomplete "file://"
    URI in mowgli.
    (LP: #273908)
 -- Bryce Harrington <email address hidden> Tue, 06 Apr 2010 20:55:59 -0700

Changed in audacious (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Michael Schwendt (mschwendt) wrote :

Where can 105_custom_uri.patch be found? By reading the short description of it, I have doubts that it is a good fix. The SIGSEGV in mowgli_dictionary_retune() is due to heap corruption, not due to looking up missing keys in a mowgli dictionary.

Revision history for this message
Benjamin Drung (bdrung) wrote :
Revision history for this message
Michael Schwendt (mschwendt) wrote :

That's the one from comment 4.
It won't suffice.

If you want to do your users a favour, evaluate Audacious 2.2 (and see how many of the patches in the Fedora packages help you). Meanwhile, 2.3 has been released, but it isn't a bullet-proof upgrade option.

Changed in audacious (Fedora):
importance: Unknown → Medium
status: Fix Committed → Fix Released
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.