Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537180 - media-sound/audacious-3.5.1 segfaults on playlist autosave
Summary: media-sound/audacious-3.5.1 segfaults on playlist autosave
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-21 01:18 UTC by cmuelle8
Modified: 2015-01-21 01:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cmuelle8 2015-01-21 01:18:04 UTC
SYMPTOM
audacious quits after files have been added to the playlist and a title is played for a couple of seconds.

CURE
Using gdb's backtrace feature reveals that the error stems from the audpl playlist plugin.

Since the configuration within /home/user/.config/audacious had been created and used by previous versions of audacious, the config was completely removed
  rm -rf /home/user/.config/audacious

and this seemed to fix the problem, i.e. autosaving the playlist works again.  This bug report is mainly for users experiencing similar problems (and, if read, for devs of audacious to maybe fix the issue if the backtrace is enough to fix it; there's no backup of the old config).

gdb audacious

(gdb) bt
#0  0x00007ffff6c260ca in strlen () from /lib64/libc.so.6
#1  0x00007ffff44dee5e in ?? () from /usr/lib64/audacious/Container/audpl.so
#2  0x00007ffff44df044 in ?? () from /usr/lib64/audacious/Container/audpl.so
#3  0x0000000000415e61 in playlist_save_cb (plugin=0x66b710, data_=0x7fffffffc960) at playlist-files.c:152
#4  0x000000000041fb3f in playlist_plugin_for_ext_cb (plugin=0x66b710, state=0x7fffffffc890)
    at plugin-registry.c:814
#5  0x000000000041f8af in plugin_for_enabled_cb (plugin=0x66b710, state=0x7fffffffc840)
    at plugin-registry.c:733
#6  0x000000000041f740 in plugin_for_each (type=1, func=0x41f872 <plugin_for_enabled_cb>, 
    data=0x7fffffffc840) at plugin-registry.c:675
#7  0x000000000041f8f6 in plugin_for_enabled (type=1, func=0x41fae8 <playlist_plugin_for_ext_cb>, 
    data=0x7fffffffc890) at plugin-registry.c:739
#8  0x000000000041fb92 in playlist_plugin_for_ext (ext=0x7fffffffc8e0 "audpl", 
    func=0x415dac <playlist_save_cb>, data=0x7fffffffc960) at plugin-registry.c:820
#9  0x00000000004158f5 in plugin_for_filename (
    filename=0x16b3e51 "file:///home/user/.config/audacious/playlists/1001.audpl", 
    func=0x415dac <playlist_save_cb>, data=0x7fffffffc960) at playlist-files.c:45
#10 0x0000000000416001 in playlist_save (list=0, 
    filename=0x16b3e51 "file:///home/user/.config/audacious/playlists/1001.audpl") at playlist-files.c:181
#11 0x000000000041cd3b in save_playlists_real () at playlist-utils.c:393
#12 0x000000000041d0ad in save_playlists (exiting=0) at playlist-utils.c:490
#13 0x0000000000412aaf in do_autosave () at main.c:567
#14 0x00007ffff798eed3 in ?? () from /usr/lib64/libglib-2.0.so.0
#15 0x00007ffff79b5d96 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#16 0x00007ffff7939188 in ?? () from /usr/lib64/libglib-2.0.so.0
#17 0x00007ffff79bbd72 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#18 0x00007ffff717b4f5 in gtk_main () from /usr/lib64/libgtk-3.so.0
#19 0x0000000000412c4e in main (argc=1, argv=0x7fffffffcd28) at main.c:621


Reproducible: Always