Skip to content

Instantly share code, notes, and snippets.

@hdak1945git
Created August 14, 2019 06:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hdak1945git/d2c4b8af04d80acb15ca3257ec805dcd to your computer and use it in GitHub Desktop.
Save hdak1945git/d2c4b8af04d80acb15ca3257ec805dcd to your computer and use it in GitHub Desktop.
Stack traces of MPD with "shout" audio plugin enabled

Trace 1


Core was generated by `/usr/bin/mpd --no-daemon -v /etc/default/mpd/music-service.conf'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007ffff7e79726 in malloc () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7fffe17fa700 (LWP 16831))]
(gdb) bt
#0  0x00007ffff7e79726 in malloc () from /usr/lib/libc.so.6
#1  0x00007ffff7e7d36f in strdup () from /usr/lib/libc.so.6
#2  0x00007ffff44df1c1 in _shout_httpp_setvar (value=0x7fffc401c9fd "Authentication Required", name=0x7ffff44e2f8d "__errormessage", parser=0x7fffc401bcf0) at httpp.c:583
#3  _shout_httpp_setvar (parser=0x7fffc401bcf0, name=0x7ffff44e2f8d "__errormessage", value=0x7fffc401c9fd "Authentication Required") at httpp.c:567
#4  0x00007ffff44df573 in _shout_httpp_parse_response (parser=parser@entry=0x7fffc401bcf0, http_data=<optimized out>, len=len@entry=331, uri=uri@entry=0x7fffc401bd30 "%2fmusic") at httpp.c:266
#5  0x00007ffff44d849b in shout_parse_http_response (self=0x555555711760, connection=0x7fffc401b1e0) at proto_http.c:504
#6  0x00007ffff44d742b in shout_connection_iter__message (shout=0x555555711760, con=0x7fffc401b1e0) at connection.c:399
#7  shout_connection_iter (shout=<optimized out>, con=<optimized out>) at connection.c:477
#8  shout_connection_iter (con=con@entry=0x7fffc401b1e0, shout=shout@entry=0x555555711760) at connection.c:441
#9  0x00007ffff44d4966 in shout_set_metadata (self=0x555555711760, metadata=metadata@entry=0x7fffc4000f40) at shout.c:426
#10 0x00005555555e4ad6 in ShoutOutput::SendTag (this=0x555555709720, tag=...) at ../src/output/plugins/ShoutOutputPlugin.cxx:386
#11 0x00005555555fe121 in FilteredAudioOutput::SendTag (tag=..., this=<optimized out>) at ../src/output/Filtered.cxx:171
#12 AudioOutputControl::PlayChunk (this=0x555555711f70) at ../src/output/Thread.cxx:244
#13 AudioOutputControl::InternalPlay (this=0x555555711f70) at ../src/output/Thread.cxx:314
#14 AudioOutputControl::Task (this=0x555555711f70) at ../src/output/Thread.cxx:512
#15 BindMethodDetail::BindMethodWrapperGenerator2<AudioOutputControl, void (AudioOutputControl::*)(), &AudioOutputControl::Task, void>::Invoke (_instance=0x555555711f70) at ../src/util/BindMethod.hxx:147
#16 0x000055555561e734 in BoundMethod<void ()>::operator()() const (this=<optimized out>, this=<optimized out>, this=<optimized out>) at ../src/util/BindMethod.hxx:76
#17 Thread::Run (this=0x555555712018) at ../src/thread/Thread.cxx:63
#18 Thread::ThreadProc (ctx=0x555555712018) at ../src/thread/Thread.cxx:92
#19 0x00007ffff44f357f in start_thread () from /usr/lib/libpthread.so.0
#20 0x00007ffff7eee0e3 in clone () from /usr/lib/libc.so.6

Trace 2


Core was generated by `/usr/bin/mpd --no-daemon -v /etc/default/mpd/music-service.conf'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007ffff7e2c755 in raise () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7fffe17fa700 (LWP 16905))]
(gdb) bt
#0  0x00007ffff7e2c755 in raise () from /usr/lib/libc.so.6
#1  0x00007ffff7e17851 in abort () from /usr/lib/libc.so.6
#2  0x00007ffff7e6ea38 in __libc_message () from /usr/lib/libc.so.6
#3  0x00007ffff7e7525a in malloc_printerr () from /usr/lib/libc.so.6
#4  0x00007ffff7e769cc in _int_free () from /usr/lib/libc.so.6
#5  0x00007ffff44d44b1 in shout_close (self=0x555555711760) at shout.c:202
#6  0x00005555555e4d1a in ShoutOutput::Close (this=0x555555709720) at ../src/output/plugins/ShoutOutputPlugin.cxx:282
#7  0x00005555555f6914 in FilteredAudioOutput::CloseOutput (this=0x555555711da0, drain=<optimized out>) at /usr/include/c++/9.1.0/bits/unique_ptr.h:357
#8  0x000055555558b6e0 in FilteredAudioOutput::Close (drain=false, this=0x555555711da0) at ../src/output/Filtered.cxx:156
#9  AudioOutputControl::InternalClose (drain=false, this=0x555555711f70) at ../src/output/Thread.cxx:191
#10 AudioOutputControl::InternalCloseError (this=this@entry=0x555555711f70, e=...) at ../src/output/Control.hxx:478
#11 0x000055555558c7c3 in AudioOutputControl::PlayChunk (this=0x555555711f70) at ../src/output/Thread.cxx:272
#12 AudioOutputControl::InternalPlay (this=0x555555711f70) at ../src/output/Thread.cxx:314
#13 AudioOutputControl::Task (this=0x555555711f70) at ../src/output/Thread.cxx:512
#14 BindMethodDetail::BindMethodWrapperGenerator2<AudioOutputControl, void (AudioOutputControl::*)(), &AudioOutputControl::Task, void>::Invoke (_instance=0x555555711f70) at ../src/util/BindMethod.hxx:147
#15 0x000055555561e734 in BoundMethod<void ()>::operator()() const (this=<optimized out>, this=<optimized out>, this=<optimized out>) at ../src/util/BindMethod.hxx:76
#16 Thread::Run (this=0x555555712018) at ../src/thread/Thread.cxx:63
#17 Thread::ThreadProc (ctx=0x555555712018) at ../src/thread/Thread.cxx:92
#18 0x00007ffff44f357f in start_thread () from /usr/lib/libpthread.so.0
#19 0x00007ffff7eee0e3 in clone () from /usr/lib/libc.so.6

Trace 3


Core was generated by `/usr/bin/mpd --no-daemon -v /etc/default/mpd/music-service.conf'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007ffff7e2c755 in raise () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7fffe17fa700 (LWP 16780))]
(gdb) bt
#0  0x00007ffff7e2c755 in raise () from /usr/lib/libc.so.6
#1  0x00007ffff7e17851 in abort () from /usr/lib/libc.so.6
#2  0x00007ffff7e6ea38 in __libc_message () from /usr/lib/libc.so.6
#3  0x00007ffff7e7525a in malloc_printerr () from /usr/lib/libc.so.6
#4  0x00007ffff7e75a8c in malloc_consolidate () from /usr/lib/libc.so.6
#5  0x00007ffff7e76c80 in _int_free () from /usr/lib/libc.so.6
#6  0x00007ffff5045108 in src_delete () from /usr/lib/libsamplerate.so.0
#7  0x00005555555f8b4e in LibsampleratePcmResampler::Close (this=0x7fffc4000d00) at ../src/pcm/LibsamplerateResampler.cxx:113
#8  0x00005555556022eb in PcmConvert::Close (this=0x7fffc4000e08) at ../src/pcm/PcmConvert.cxx:106
#9  0x00005555555f5cd8 in ConvertFilter::~ConvertFilter (this=<optimized out>, this=<optimized out>) at ../src/filter/plugins/ConvertFilterPlugin.cxx:118
#10 0x00005555555f5d09 in ConvertFilter::~ConvertFilter (this=<optimized out>, this=<optimized out>) at ../src/filter/plugins/ConvertFilterPlugin.cxx:119
#11 0x00005555555ed13f in std::default_delete<Filter>::operator() (this=<optimized out>, __ptr=<optimized out>, this=<optimized out>, __ptr=<optimized out>) at /usr/include/c++/9.1.0/bits/unique_ptr.h:81
#12 std::unique_ptr<Filter, std::default_delete<Filter> >::~unique_ptr (this=<optimized out>, this=<optimized out>) at /usr/include/c++/9.1.0/bits/unique_ptr.h:289
#13 FilterObserver::Proxy::~Proxy (this=<optimized out>, this=<optimized out>) at ../src/filter/Observer.cxx:66
#14 FilterObserver::Proxy::~Proxy (this=<optimized out>, this=<optimized out>) at ../src/filter/Observer.cxx:68
#15 0x00005555555f4f15 in std::default_delete<Filter>::operator() (this=<optimized out>, __ptr=<optimized out>, this=<optimized out>, __ptr=<optimized out>) at /usr/include/c++/9.1.0/bits/unique_ptr.h:75
#16 std::unique_ptr<Filter, std::default_delete<Filter> >::~unique_ptr (this=<optimized out>, this=<optimized out>) at /usr/include/c++/9.1.0/bits/unique_ptr.h:289
#17 ChainFilter::Child::~Child (this=<optimized out>, this=<optimized out>) at ../src/filter/plugins/ChainFilterPlugin.cxx:34
#18 __gnu_cxx::new_allocator<std::_List_node<ChainFilter::Child> >::destroy<ChainFilter::Child> (this=0x7fffc4000c00, __p=0x7fffc403d370) at /usr/include/c++/9.1.0/ext/new_allocator.h:153
#19 std::allocator_traits<std::allocator<std::_List_node<ChainFilter::Child> > >::destroy<ChainFilter::Child> (__a=..., __p=0x7fffc403d370) at /usr/include/c++/9.1.0/bits/alloc_traits.h:497
#20 std::__cxx11::_List_base<ChainFilter::Child, std::allocator<ChainFilter::Child> >::_M_clear (this=this@entry=0x7fffc4000c00) at /usr/include/c++/9.1.0/bits/list.tcc:77
#21 0x00005555555f4f48 in std::__cxx11::_List_base<ChainFilter::Child, std::allocator<ChainFilter::Child> >::~_List_base (this=<optimized out>, this=<optimized out>) at /usr/include/c++/9.1.0/bits/stl_list.h:823
#22 std::__cxx11::list<ChainFilter::Child, std::allocator<ChainFilter::Child> >::~list (this=<optimized out>, this=<optimized out>) at /usr/include/c++/9.1.0/bits/stl_list.h:823
#23 ChainFilter::~ChainFilter (this=<optimized out>, this=<optimized out>) at ../src/filter/plugins/ChainFilterPlugin.cxx:33
#24 ChainFilter::~ChainFilter (this=<optimized out>, this=<optimized out>) at ../src/filter/plugins/ChainFilterPlugin.cxx:33
#25 0x00005555555fdc50 in AudioOutputControl::InternalClose (drain=false, this=0x555555711f70) at ../src/output/Thread.cxx:194
#26 AudioOutputControl::Task (this=0x555555711f70) at ../src/output/Thread.cxx:477
#27 BindMethodDetail::BindMethodWrapperGenerator2<AudioOutputControl, void (AudioOutputControl::*)(), &AudioOutputControl::Task, void>::Invoke (_instance=0x555555711f70) at ../src/util/BindMethod.hxx:147
#28 0x000055555561e734 in BoundMethod<void ()>::operator()() const (this=<optimized out>, this=<optimized out>, this=<optimized out>) at ../src/util/BindMethod.hxx:76
#29 Thread::Run (this=0x555555712018) at ../src/thread/Thread.cxx:63
#30 Thread::ThreadProc (ctx=0x555555712018) at ../src/thread/Thread.cxx:92
#31 0x00007ffff44f357f in start_thread () from /usr/lib/libpthread.so.0
#32 0x00007ffff7eee0e3 in clone () from /usr/lib/libc.so.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment