BUG... while playing
  • Hi, I was playing some music from my collection when suddenly, Guayadeque crashed. Don't ask me to reproduce the failure.

    [New Thread 0x7fffce2a4700 (LWP 7446)]
    07:32:08 PM: Now Playing track submit delayed. There are pending tracks to send...
    07:32:08 PM: Error: Can't load image from file '/home/jordis/My MP3/02. VVAA/cover.jpg': file does not exist.
    07:32:08 PM: Error: Invalid cover file '/home/jordis/My MP3/02. VVAA/cover.jpg'
    [New Thread 0x7fffcfbd5700 (LWP 7447)]
    [Thread 0x7fffce2a4700 (LWP 7446) exited]
    [New Thread 0x7fffce2a4700 (LWP 7448)]

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x7fffce2a4700 (LWP 7448)]
    0x00007ffff2e4f76c in ?? () from /lib/libc.so.6
    (gdb) bt
    #0 0x00007ffff2e4f76c in ?? () from /lib/libc.so.6
    #1 0x00007ffff2e52fad in ?? () from /lib/libc.so.6
    #2 0x00007ffff2e56454 in calloc () from /lib/libc.so.6
    #3 0x00007ffff4fdc8cf in ?? () from /usr/lib/libcurl.so.4
    #4 0x00007ffff4fefd52 in curl_easy_init () from /usr/lib/libcurl.so.4
    #5 0x00000000007e5062 in wxCurlBase::InitHandle (this=)
    at /opt/guayadeque/src/curl/base.cpp:537
    #6 0x00000000007e5fd9 in wxCurlBase (this=0x7fffce2a3700, szURL=,
    szUserName=, szPassword=..., pEvtHandler=0x0, id=-1, flags=0)
    at /opt/guayadeque/src/curl/base.cpp:416
    #7 0x00000000007e9836 in wxCurlHTTP (this=0x7ffff3156e40, szURL=..., szUserName=..., szPassword=...,
    pEvtHandler=0x7ffff3156e40, id=-216699272, flags=0) at /opt/guayadeque/src/curl/http.cpp:50
    #8 0x0000000000516c11 in guLastFMRequest::DoRequest (this=0x7fffce2a3a80, AddSign=,
    IsGetAction=) at /opt/guayadeque/src/LastFM.cpp:100
    #9 0x000000000051df2c in guLastFM::ArtistGetInfo (this=0x2f02e30, Artist=...)
    at /opt/guayadeque/src/LastFM.cpp:697
    #10 0x00000000005386c0 in guFetchArtistInfoThread::Entry (this=0x7fffb8546210)
    at /opt/guayadeque/src/LastFMPanel.cpp:3856
    #11 0x00007ffff7b6e111 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
    #12 0x00007ffff46949ca in start_thread () from /lib/libpthread.so.0
    #13 0x00007ffff2ebe70d in clone () from /lib/libc.so.6
    #14 0x0000000000000000 in ?? ()


    I'm running again in GDB to try to reproduce it.

    Regards
  • Thank you very much. Let me know if you get a backtrace but looks like it was a curl library crash
  • You're right...

    In the beginning I though it was related to the "Error: Invalid cover file" message but the backtrace shows that it was libcurl and not guayadeque!

    Thank you
  • Program received signal SIGSEGV, Segmentation fault.
    0x00007ffff46b8f83 in std::basic_string, std::allocator >::size() const ()
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
    (gdb) bt
    #0 0x00007ffff46b8f83 in std::basic_string, std::allocator >::size() const ()
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
    #1 0x00007ffff59152ac in TagLib::String::toInt(bool*) const ()
    from /usr/lib/x86_64-linux-gnu/libtag.so.1
    #2 0x00007ffff591527d in TagLib::String::toInt() const ()
    from /usr/lib/x86_64-linux-gnu/libtag.so.1
    #3 0x00007ffff58e3b68 in TagLib::ID3v1::Tag::year() const ()
    from /usr/lib/x86_64-linux-gnu/libtag.so.1
    #4 0x00007ffff5940b8a in TagLib::Tag::duplicate(TagLib::Tag const*, TagLib::Tag*, bool) () from /usr/lib/x86_64-linux-gnu/libtag.so.1
    #5 0x00007ffff58df12b in TagLib::MPEG::File::save(int, bool) ()
    from /usr/lib/x86_64-linux-gnu/libtag.so.1
    #6 0x00007ffff58def5f in TagLib::MPEG::File::save(int) ()
    from /usr/lib/x86_64-linux-gnu/libtag.so.1
    #7 0x00007ffff58def37 in TagLib::MPEG::File::save() ()
    from /usr/lib/x86_64-linux-gnu/libtag.so.1
    #8 0x00007ffff59430d7 in TagLib::FileRef::save() ()
    from /usr/lib/x86_64-linux-gnu/libtag.so.1
    #9 0x00000000005d9655 in guTagInfo::Write (this=0x2623530,
    changedflag=) at /home/mario/guayadeque/src/TagInfo.cpp:752
    ---Type to continue, or q to quit---
    #10 0x00000000005e02fb in guMp3TagInfo::Write (this=0x2623530, changedflag=16)
    at /home/mario/guayadeque/src/TagInfo.cpp:997
    #11 0x00000000005df4f2 in guUpdateTracks (tracks=..., images=..., lyrics=...,
    changedflags=...) at /home/mario/guayadeque/src/TagInfo.cpp:2909
    #12 0x0000000000560b46 in guMainFrame::CheckPendingUpdates (this=0xf8e530,
    track=0x1e2c330) at /home/mario/guayadeque/src/MainFrame.cpp:4825
    #13 0x0000000000560e33 in guMainFrame::OnUpdateTrack (this=0xf8e530, event=...)
    at /home/mario/guayadeque/src/MainFrame.cpp:1832
    #14 0x00007ffff7b6cd35 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
    from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
    #15 0x00007ffff7b6d0ff in wxEvtHandler::SearchDynamicEventTable(wxEvent&) ()
    from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
    #16 0x00007ffff7b6d1b2 in wxEvtHandler::ProcessEvent(wxEvent&) ()
    from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
    #17 0x00007ffff7b6cca0 in wxEvtHandler::ProcessPendingEvents() ()
    from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
    #18 0x00007ffff7aee7c9 in wxAppConsole::ProcessPendingEvents() ()
    from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
    #19 0x00007ffff7700b39 in wxAppBase::ProcessIdle() ()
    from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
    ---Type to continue, or q to quit---
    #20 0x00007ffff7675aed in ?? ()
    from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #21 0x00007ffff60bcd53 in g_main_context_dispatch ()
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #22 0x00007ffff60bd0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #23 0x00007ffff60bd49a in g_main_loop_run ()
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #24 0x00007ffff34f72f7 in gtk_main ()
    from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
    #25 0x00007ffff76897b8 in wxEventLoop::Run() ()
    from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #26 0x00007ffff770095b in wxAppBase::MainLoop() ()
    from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #27 0x00007ffff7b1dd4b in wxEntry(int&, wchar_t**) ()
    from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
    #28 0x000000000049f7f2 in main (argc=1, argv=)
    at /home/mario/guayadeque/src/MainApp.cpp:40
    (gdb)

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID

In this Discussion