[Pkg-mpd-maintainers] Bug#840362: Bug#840362: gmpc segfaults on mpd-server timeout

Alex allo at laxu.de
Sun Oct 16 20:58:17 UTC 2016


Hi.
Here is a backtrace (timeout set to 1, clicking a "folder" from the
mopidy server, which takes a while to load:

$ gdb /usr/bin/gmpc
/var/crash/1000/22037-1000-1000-11-1476651373-neptune--usr-bin-gmpc.core
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/gmpc...Reading symbols from
/usr/lib/debug/.build-id/6e/5a2ec3121689968c992afd80afbf8d2ff47f53.debug...done.
done.
[New LWP 22037]
[New LWP 22045]
[New LWP 22042]
[New LWP 22043]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `gmpc'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f1422583cd5 in g_type_is_a () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
(gdb) bt
#0  0x00007f1422583cd5 in g_type_is_a () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#1  0x00007f14239846eb in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#2  0x00007f1423994d61 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#3  0x00007f1422293a0e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1422294571 in g_node_traverse () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1423997cbe in gtk_tree_store_remove () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#6  0x0000000000453a91 in pl3_file_browser_fill_tree (tree=<optimized
out>, iter=0x117f680, tpath=<optimized out>,
    user_data=<optimized out>) at browsers/playlist3-file-browser.c:635
#7  0x00007f14225620b5 in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x00007f1422573911 in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007f142257ceb9 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007f142257d11f in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007f142399dd82 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007f14239aacfb in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#13 0x00007f14238ada3f in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#14 0x00007f14225620b5 in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007f142257380a in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007f142257c9a5 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007f142257d11f in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007f14239c4d6c in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#19 0x00007f14238ac184 in gtk_propagate_event () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#20 0x00007f14238ac61b in gtk_main_do_event () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#21 0x00007f142351fb6c in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#22 0x00007f142228c41d in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f142228c700 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f142228ca22 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f14238ab597 in gtk_main () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#26 0x0000000000425c5b in main (argc=1, argv=0x7fff5f450528) at main.c:592


Am 16.10.2016 um 22:22 schrieb Florian Schlichting:
> Hi Alex,
> 
>> gmpc segfaults, when the mpd server "hangs" for a longer time. An
>> example if the mopidy server, which provides a mpd interfaces and
>> sometimes hangs for quite a long time, i.e while loading a spotify
>> playlist. gmpc hangs the whole time (GUI unresponsive) and when the
>> server hangs long enough, gmpc crashes with a segfault.
> 
> as this is hard to reproduce on the spot, could you supply a backtrace?
> 
> (e.g. by installing corekeeper, and when a segfault has happened,
> installing relevant -dbg and -dbgsym packages and running 'gdb
> /path/to/gmpc /path/to/corefile' on it)
> 
> Florian
> 



More information about the Pkg-mpd-maintainers mailing list