[Lucid] Audacious hangs on audmap_stop when trying to change song

Bug #567890 reported by Dmitry Tantsur
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ALSA Libraries
Invalid
Undecided
Unassigned
alsa-lib (Ubuntu)
Invalid
Undecided
Unassigned
audacious-plugins (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: audacious-plugins

Backtrace:

#0 0x00007f7a0342703d in pthread_join (threadid=140161716590352, thread_return=0x7fffbe732e28) at pthread_join.c:89
#1 0x00007f7a060f40b1 in g_thread_join_posix_impl (thread=<value optimized out>) at /build/buildd/glib2.0-2.24.0/gthread/gthread-posix.c:385
#2 0x00007f7a0635e703 in IA__g_thread_join (thread=0x1da8650) at /build/buildd/glib2.0-2.24.0/glib/gthread.c:2038
#3 0x00007f79f19a32d2 in audmad_stop (playback=0x1ae0e00) at plugin.c:457
#4 0x0000000000416cc4 in playback_finalize (playback=0x1ae0e00) at playback.c:266
#5 0x0000000000416cf4 in playback_stop () at playback.c:285
#6 0x0000000000417f35 in playlist_set_playing (playlist_num=<value optimized out>) at playlist-new.c:683
#7 0x00007f79f706a64b in ui_skinned_playlist_button_press (widget=0x1704840, event=<value optimized out>) at ui_skinned_playlist.c:1049
#8 0x00007f7a05a0a0b8 in _gtk_marshal_BOOLEAN__BOXED (closure=0xf2bb50, return_value=0x7fffbe7330b0, n_param_values=<value optimized out>,
    param_values=0x26dc320, invocation_hint=<value optimized out>, marshal_data=0x7f79f706a530) at /build/buildd/gtk+2.0-2.20.0/gtk/gtkmarshalers.c:84
#9 0x00007f7a03cae5de in IA__g_closure_invoke (closure=0xf2bb50, return_value=0x7fffbe7330b0, n_param_values=2, param_values=0x26dc320,
    invocation_hint=0x7fffbe733070) at /build/buildd/glib2.0-2.24.0/gobject/gclosure.c:767
#10 0x00007f7a03cc21dd in signal_emit_unlocked_R (node=0xf2bf10, detail=<value optimized out>, instance=<value optimized out>,
    emission_return=<value optimized out>, instance_and_params=<value optimized out>) at /build/buildd/glib2.0-2.24.0/gobject/gsignal.c:3286
#11 0x00007f7a03cc38b9 in IA__g_signal_emit_valist (instance=0x1704840, signal_id=<value optimized out>, detail=0, var_args=0x7fffbe733260)
    at /build/buildd/glib2.0-2.24.0/gobject/gsignal.c:2991
#12 0x00007f7a03cc4033 in IA__g_signal_emit (instance=0x7f79f15419e0, signal_id=0, detail=17748) at /build/buildd/glib2.0-2.24.0/gobject/gsignal.c:3038
#13 0x00007f7a05b20e9f in gtk_widget_event_internal (widget=0x1704840, event=0x1d91550) at /build/buildd/gtk+2.0-2.20.0/gtk/gtkwidget.c:4951
#14 0x00007f7a05a02583 in IA__gtk_propagate_event (widget=0x1704840, event=0x1d91550) at /build/buildd/gtk+2.0-2.20.0/gtk/gtkmain.c:2447
#15 0x00007f7a05a0365b in IA__gtk_main_do_event (event=0x1d91550) at /build/buildd/gtk+2.0-2.20.0/gtk/gtkmain.c:1647
#16 0x00007f7a0567780c in gdk_event_dispatch (source=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>)
    at /build/buildd/gtk+2.0-2.20.0/gdk/x11/gdkevents-x11.c:2372
#17 0x00007f7a063358c2 in g_main_dispatch (context=0xeec8e0) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:1960
#18 IA__g_main_context_dispatch (context=0xeec8e0) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2513
#19 0x00007f7a06339748 in g_main_context_iterate (context=0xeec8e0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2591
#20 0x00007f7a06339c55 in IA__g_main_loop_run (loop=0xff56f0) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2799
#21 0x00007f7a05a03af7 in IA__gtk_main () at /build/buildd/gtk+2.0-2.20.0/gtk/gtkmain.c:1219
#22 0x00007f79f705441a in skins_init (cbs=0x687820) at plugin.c:142
#23 0x0000000000414c62 in main (argc=1, argv=0x7fffbe733728) at main.c:554

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: audacious-plugins 2.3-1ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Wed Apr 21 17:29:11 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
ProcEnviron:
 PATH=(custom, no user)
 LANG=ru_RU.utf8
 SHELL=/bin/bash
SourcePackage: audacious-plugins
---
Architecture: amd64
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
NonfreeKernelModules: nvidia
Package: audacious-plugins 2.3-1ubuntu4
PackageArchitecture: amd64
ProcEnviron:
 PATH=(custom, no user)
 LANG=ru_RU.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Tags: lucid
Uname: Linux 2.6.32-22-generic x86_64
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev nopasswdlogin plugdev sambashare tape vboxusers video

Revision history for this message
Dmitry Tantsur (divius) wrote :
Revision history for this message
Dmitry Tantsur (divius) wrote :

Function causing hang (src/madplug/plugin.c):

static void audmad_stop (InputPlayback * playback)
{
    g_mutex_lock (control_mutex);
    info.playback->playing = FALSE;
    g_cond_signal (control_cond);
    g_mutex_unlock (control_mutex);
    g_thread_join (playback->thread); // !!! it hangs here !!!
    playback->thread = NULL;

    input_term (& info);
}

Revision history for this message
Dmitry Tantsur (divius) wrote :

Created upstream bug: http://jira.atheme.org/browse/AUDPLUG-220
but stupid launchpad refuses to link this bug to it

Revision history for this message
Dmitry Tantsur (divius) wrote :

Upstream says it's alsa or driver bug.

Revision history for this message
Dmitry Tantsur (divius) wrote :

Upstream comment:

John Lindgren added a comment - 23/Apr/10 06:03 PM
This is a long-standing bug in ALSA:

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3150

Changed in alsa-lib:
status: Unknown → In Progress
Revision history for this message
Benjamin Drung (bdrung) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner.
There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test Audacious 2.3 from the latest stable Ubuntu version (10.04) or the current Ubuntu development version (10.10). If you can test it, and it is still an issue, we would appreciate if you could upload updated logs by running apport-collect #567890, and any other logs that are relevant for this particular issue.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

Changed in audacious-plugins (Ubuntu):
status: New → Incomplete
Revision history for this message
Dmitry Tantsur (divius) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Dmitry Tantsur (divius) wrote :

This bug is valid for Lucid. Please also have a look at http://jira.atheme.org/browse/AUDPLUG-220

Changed in audacious-plugins (Ubuntu):
status: Incomplete → New
Daniel T Chen (crimsun)
Changed in alsa-lib (Ubuntu):
status: New → Triaged
Revision history for this message
Daniel Letzeisen (dtl131) wrote :

Please test a newer version of audacious for this error, as newer versions use mpg123 instead of libmad, and I cannot reproduce the error. I'm marking the issue fixed released for audacious because of this reason. If you're still interested in having the bug fixed in Lucid, please ask an Ubuntu bug control member to open a specific task against Lucid (but beware that Lucid/10.04 is only supported for a few more months).
Thanks.

Changed in audacious-plugins (Ubuntu):
status: New → Fix Released
Revision history for this message
Daniel Letzeisen (dtl131) wrote :

The upstream bug report no longer exists and Lucid desktop is now EOL.

Changed in alsa-lib (Ubuntu):
status: Triaged → Invalid
Changed in alsa-lib:
importance: Unknown → Undecided
status: In Progress → New
status: New → Invalid
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.