Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25739 - [Audacious] randomly crashes

Attached to Project: Arch Linux
Opened by Nesser (Decepteiskon) - Tuesday, 23 August 2011, 23:56 GMT
Last edited by Gaetan Bisson (vesath) - Wednesday, 24 August 2011, 17:27 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: after a random time or some tracks, Audacious crashes giving only a segfault error. Audacious -V shows nothing.

Strangely, pausing a song gives something about Alsa.
Maybe mplayer/gstreamer related?

I've tried to increase the buffer size to 1500ms from 500, but same segfault.

Gdbing now, but after audacious starts i found:
file:///home/user/.config/audacious/playlist.xspf:1: parser error : Document is empty

^
file:///home/user/.config/audacious/playlist.xspf:1: parser error : Start tag expected, '<' not found


Additional info:
* package version(s)
audacious: 3.0.1-1
audacious-plugins: 3.0.1-1
mplayer: 34007-1
gstreamer0.10: 0.10.35-1
gstreamer0.10-bad: 0.10.22-1 (gstreamer0.10-plugins)
gstreamer0.10-bad-plugins: 0.10.22-1 (gstreamer0.10-plugins)
gstreamer0.10-base: 0.10.35-1
gstreamer0.10-base-plugins: 0.10.35-1 (gstreamer0.10-plugins)
gstreamer0.10-ffmpeg: 0.10.11-1 (gstreamer0.10-plugins)
gstreamer0.10-good: 0.10.30-1
gstreamer0.10-good-plugins: 0.10.30-1 (gstreamer0.10-plugins)
gstreamer0.10-python: 0.10.21-1
gstreamer0.10-ugly: 0.10.18-2
gstreamer0.10-ugly-plugins: 0.10.18-2 (gstreamer0.10-plugins)

* config and/or log files etc.

//pausing a file
alsa.c:596 [alsa_pause]: Pause.
alsa: snd_pcm_pause failed: Input/output error.


Steps to reproduce: play some songs with audacious and wait until it crashes.
This task depends upon

Closed by  Gaetan Bisson (vesath)
Wednesday, 24 August 2011, 17:27 GMT
Reason for closing:  Upstream
Comment by Nesser (Decepteiskon) - Wednesday, 24 August 2011, 00:01 GMT
GNU Debugger says:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6c837f8 in g_utf8_validate () from /usr/lib/libglib-2.0.so.0

So i add:

glib2: 2.28.8-1
Comment by Gaetan Bisson (vesath) - Wednesday, 24 August 2011, 02:35 GMT
The alsa error message when pausing a song seems harmless (and please avoid discussing two independent bugs in the same report).

Why do you mention gstreamer/mplayer? Did you enabled a plugin which used either of them?

Would you care to show the contents of /home/user/.config/audacious/playlist.xspf, if any?

Does the segfault goes away if you start with an empty /home/user/.config/audacious?
Comment by Nesser (Decepteiskon) - Wednesday, 24 August 2011, 12:39 GMT
>Why do you mention gstreamer/mplayer? Did you enabled a plugin which used either of them?

I mentioned gstreamer because i thought audacious was based on it, but i remember it's based on its own, and mplayer because was updated a few days ago.

>Would you care to show the contents of /home/user/.config/audacious/playlist.xspf, if any?
$ cat .config/audacious/playlist.xspf
$

Looks like it's empty

>Does the segfault goes away if you start with an empty /home/user/.config/audacious?

I'm trying now, i'll edit this comment if any segfault occurs. Maybe it's classic skin related, i'm with the gtk interface now because of the cleanness of ~/.config/audacious, but segfault happened just now.

Gdbing...

Same like before

(gdb) thread apply all bt

Thread 21 (Thread 0x7fffd86c1700 (LWP 7158)):
#0 0x00007ffff54a0ac4 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#1 0x00007fffe2652268 in alsa_period_wait ()
from /usr/lib/audacious/Output/alsa.so
#2 0x0000000000412c47 in ?? ()
#3 0x0000000000412f37 in ?? ()
#4 0x00007fffe8495069 in ?? () from /usr/lib/audacious/Input/madplug.so
#5 0x00000000004146af in ?? ()
#6 0x00007ffff549cd60 in start_thread () from /lib/libpthread.so.0
#7 0x00007ffff4df525d in clone () from /lib/libc.so.6
#8 0x0000000000000000 in ?? ()

Thread 20 (Thread 0x7fffcffff700 (LWP 6820)):
#0 0x00007ffff4decff3 in poll () from /lib/libc.so.6
#1 0x00007fffe2651bdc in ?? () from /usr/lib/audacious/Output/alsa.so
#2 0x00007fffe2651e65 in ?? () from /usr/lib/audacious/Output/alsa.so
#3 0x00007ffff549cd60 in start_thread () from /lib/libpthread.so.0
#4 0x00007ffff4df525d in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fffd549c700 (LWP 6753)):
#0 0x00007ffff4decff3 in poll () from /lib/libc.so.6
#1 0x00007ffff6c547d4 in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x00007ffff6c550ba in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3 0x00007ffff31efbe4 in ?? () from /usr/lib/libgio-2.0.so.0
#4 0x00007ffff6c79d16 in ?? () from /usr/lib/libglib-2.0.so.0
#5 0x00007ffff549cd60 in start_thread () from /lib/libpthread.so.0
#6 0x00007ffff4df525d in clone () from /lib/libc.so.6
#7 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fffd5c9d700 (LWP 6752)):
#0 0x00007ffff4decff3 in poll () from /lib/libc.so.6
#1 0x00007ffff6c547d4 in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x00007ffff6c550ba in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3 0x00007fffd5ca2a8b in ?? () from /usr/lib/gio/modules/libdconfsettings.so
#4 0x00007ffff6c79d16 in ?? () from /usr/lib/libglib-2.0.so.0
#5 0x00007ffff549cd60 in start_thread () from /lib/libpthread.so.0
#6 0x00007ffff4df525d in clone () from /lib/libc.so.6
#7 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fffda317700 (LWP 6734)):
#0 0x00007ffff54a0ac4 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#1 0x000000000040d750 in ?? ()
---Type <return> to continue, or q <return> to quit---
#2 0x00007ffff6c79d16 in ?? () from /usr/lib/libglib-2.0.so.0
#3 0x00007ffff549cd60 in start_thread () from /lib/libpthread.so.0
#4 0x00007ffff4df525d in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fffdab18700 (LWP 6733)):
#0 0x00007ffff54a0ac4 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#1 0x00000000004164d4 in ?? ()
#2 0x00007ffff6c79d16 in ?? () from /usr/lib/libglib-2.0.so.0
#3 0x00007ffff549cd60 in start_thread () from /lib/libpthread.so.0
#4 0x00007ffff4df525d in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fffdb319700 (LWP 6732)):
#0 0x00007ffff54a0ac4 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#1 0x00000000004164d4 in ?? ()
#2 0x00007ffff6c79d16 in ?? () from /usr/lib/libglib-2.0.so.0
#3 0x00007ffff549cd60 in start_thread () from /lib/libpthread.so.0
#4 0x00007ffff4df525d in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fffd7318700 (LWP 6731)):
#0 0x00007ffff54a0ac4 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#1 0x00000000004164d4 in ?? ()
#2 0x00007ffff6c79d16 in ?? () from /usr/lib/libglib-2.0.so.0
#3 0x00007ffff549cd60 in start_thread () from /lib/libpthread.so.0
#4 0x00007ffff4df525d in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fffd6b17700 (LWP 6730)):
#0 0x00007ffff54a0ac4 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#1 0x00000000004164d4 in ?? ()
#2 0x00007ffff6c79d16 in ?? () from /usr/lib/libglib-2.0.so.0
#3 0x00007ffff549cd60 in start_thread () from /lib/libpthread.so.0
#4 0x00007ffff4df525d in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffff00cc700 (LWP 6696)):
#0 0x00007ffff54a4507 in do_sigwait () from /lib/libpthread.so.0
#1 0x00007ffff54a4589 in sigwait () from /lib/libpthread.so.0
#2 0x000000000041e91b in ?? ()
#3 0x00007ffff6c79d16 in ?? () from /usr/lib/libglib-2.0.so.0
#4 0x00007ffff549cd60 in start_thread () from /lib/libpthread.so.0
#5 0x00007ffff4df525d in clone () from /lib/libc.so.6
#6 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fba8c0 (LWP 6693)):
#0 0x00007ffff6c837f8 in g_utf8_validate () from /usr/lib/libglib-2.0.so.0
#1 0x00007fffdb71f6d0 in ?? () from /usr/lib/audacious/Container/xspf.so
#2 0x00007fffdb71fb5e in ?? () from /usr/lib/audacious/Container/xspf.so
#3 0x0000000000415622 in ?? ()
#4 0x000000000041ae8d in ?? ()
#5 0x0000000000412125 in ?? ()
#6 0x00007ffff6c55b9b in ?? () from /usr/lib/libglib-2.0.so.0
#7 0x00007ffff6c5429d in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#8 0x00007ffff6c54a78 in ?? () from /usr/lib/libglib-2.0.so.0
#9 0x00007ffff6c550ba in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#10 0x00007ffff654efbd in gtk_main () from /usr/lib/libgtk-3.so.0
#11 0x000000000040c723 in ?? ()
#12 0x00007ffff4d4313d in __libc_start_main () from /lib/libc.so.6
#13 0x000000000040cc19 in ?? ()
#14 0x00007fffffffe528 in ?? ()
#15 0x00000000ffffffff in ?? ()
#16 0x0000000000000001 in ?? ()
#17 0x00007fffffffe861 in ?? ()
#18 0x0000000000000000 in ?? ()
Comment by John Lindgren (jlindgren) - Wednesday, 24 August 2011, 14:36 GMT
Hi, this is an upstream bug:
http://jira.atheme.org/browse/AUDPLUG-395
Comment by Gaetan Bisson (vesath) - Wednesday, 24 August 2011, 17:27 GMT
Thanks John; I'll wait for the new release.
People can disable xspf in the meantime.

Loading...