Menu

#10 Segmentation Fault

open-fixed
5
2004-06-10
2004-06-09
erik
No

I have been getting the following error message when
running qmbtagger-0.06-bin (as well as with versions

QMBFile::CreateID(): Failed to finalize signature
(/media/audio/01. Drop A Beat.ogg).
QMBFileView::QueryServer(): The current file
(/media/audio/01. Drop A Beat.ogg) couldn't have an ID
properly made.
Segmentation fault

Discussion

  • erik

    erik - 2004-06-10
     
  • erik

    erik - 2004-06-10

    Logged In: YES
    user_id=1058872

    The gdb output is attached

     
  • Ewen Cheslack-Postava

    • status: open --> pending-fixed
     
  • Ewen Cheslack-Postava

    Logged In: YES
    user_id=769104

    Thanks for the report. I believe I have this fixed in cvs
    now, but I have no songs which produce the same error. I am
    leaving this pending for now. If you still have problems
    please reply back to this bug.

     
  • erik

    erik - 2004-06-10
    • status: pending-fixed --> open-fixed
     
  • erik

    erik - 2004-06-10

    Logged In: YES
    user_id=1058872

    I am still having this bug. It is very odd since it does not
    seem to fail on any one song in particular, nor does it fail
    on the same song repeatedly. Here is the gdb output

    QMBFileView::QueryServer(): The current file
    (/root/ogg/jackjohnson2003-06-13d1t11.ogg) couldn't have an
    ID properly made.

    Program received signal SIGSEGV, Segmentation fault.
    0x408b2fb2 in pthread_mutex_lock () from /lib/libpthread.so.0

    and here is the backtrace:

    #0 0x408b2fb2 in pthread_mutex_lock () from
    /lib/libpthread.so.0
    #1 0x40c54f5d in free () from /lib/libc.so.6
    #2 0x40b8f6d3 in operator delete () from
    /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5
    #3 0x40b8f72f in operator delete[] () from
    /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5
    #4 0x409df220 in TRM::SetPCMDataInfo () from
    /usr/lib/libmusicbrainz.so.2
    #5 0x409e8baa in trm_SetPCMDataInfo () from
    /usr/lib/libmusicbrainz.so.2
    #6 0x08059c92 in QGList::count ()
    #7 0x0815e988 in ?? ()
    #8 0x0000ac44 in ?? ()
    #9 0x00000002 in ?? ()
    #10 0x00000010 in ?? ()
    #11 0x08112668 in ?? ()
    #12 0x00000000 in ?? ()
    #13 0x08142c40 in ?? ()
    #14 0x08070c57 in QWidget::setWFlags ()
    #15 0x08142bc0 in ?? ()
    #16 0x406df750 in __JCR_LIST__ () from
    /usr/qt/3/lib/libqt-mt.so.3
    #17 0xbfffea18 in ?? ()
    #18 0x4022d798 in QApplication::processEvents () from
    /usr/qt/3/lib/libqt-mt.so.3
    #19 0x00000bb8 in ?? ()
    #20 0x0813fca8 in ?? ()
    #21 0x00000000 in ?? ()
    #22 0x08142bd8 in ?? ()
    #23 0xbfffeb90 in ?? ()
    #24 0x0813fca8 in ?? ()
    #25 0x0805e589 in
    std::__uninitialized_fill_n_aux<std::string*, unsigned int,
    std::string> ()
    #26 0x00000001 in ?? ()
    #27 0xbfffea90 in ?? ()
    #28 0xbfffeaa0 in ?? ()
    #29 0xbfffeab0 in ?? ()
    #30 0xbfffeac0 in ?? ()
    #31 0xbfffebb0 in ?? ()
    #32 0xbfffeba0 in ?? ()
    #33 0xbfffeaf8 in ?? ()
    #34 0x402be09e in QWidget::event () from
    /usr/qt/3/lib/libqt-mt.so.3

    This is only a portion of the backtrace. If more is needed,
    I will be happy to supply it.

     
  • Ewen Cheslack-Postava

    Logged In: YES
    user_id=769104

    Can you run configure with --enable-debug=full as an option
    and post the same backtrace info? Right now its hard to
    tell where exactly it is failing because all those ?? are
    positions in my source that don't have debug info associated
    with them.

     
  • erik

    erik - 2004-06-12

    Logged In: YES
    user_id=1058872

    After proceeding with ./configure --enable-debug-full and
    recompiling, I receive the following error when running the
    tag query. When I first ran this this morning, I was able
    to tag about 30 files (even ones that had failed before).
    However, after one crash, the performance decreases with
    crashed occuring more and more frequently. Thanks for
    looking into this, I really enjoyed the program for the
    limited amount of time that I was able to use it.

    #0 0x40c55d91 in mallopt () from /lib/libc.so.6
    #1 0x40c54da3 in malloc () from /lib/libc.so.6
    #2 0x40b90cbf in operator new ()
    from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5
    #3 0x40b90def in operator new[] ()
    from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5
    #4 0x409e5f60 in FFT::FFT () from /usr/lib/libmusicbrainz.so.2
    #5 0x409dfbb1 in TRM::FinalizeSignature () from
    /usr/lib/libmusicbrainz.so.2
    #6 0x409e8cf1 in trm_FinalizeSignature () from
    /usr/lib/libmusicbrainz.so.2
    #7 0x08059cf7 in QGList::count ()
    #8 0x0815e938 in ?? ()
    #9 0x08171c90 in ?? ()
    #10 0x00000000 in ?? ()
    #11 0x00000010 in ?? ()
    #12 0x08112298 in ?? ()
    #13 0x00000000 in ?? ()
    #14 0x08171cd8 in ?? ()
    #15 0x037f0f7f in ?? ()
    #16 0x0814d1d8 in ?? ()
    #17 0x406df5e8 in __JCR_LIST__ () from
    /usr/qt/3/lib/libqt-mt.so.3
    #18 0xbfffea28 in ?? ()
    #19 0x4022c6f8 in QApplication::processEvents ()
    from /usr/qt/3/lib/libqt-mt.so.3
    ---Type <return> to continue, or q <return> to quit---
    #20 0x00000bb8 in ?? ()
    #21 0x08124af8 in ?? ()
    #22 0x00000000 in ?? ()
    #23 0x08171c70 in ?? ()
    #24 0xbfffeba0 in ?? ()
    #25 0x08124af8 in ?? ()
    #26 0x0805e589 in
    std::__uninitialized_fill_n_aux<std::string*, unsigned int,
    std::string> ()
    #27 0x00000001 in ?? ()
    #28 0xbfffeaa0 in ?? ()
    #29 0xbfffeab0 in ?? ()
    #30 0xbfffeac0 in ?? ()
    #31 0xbfffead0 in ?? ()
    #32 0xbfffebc0 in ?? ()
    #33 0xbfffebb0 in ?? ()
    #34 0x00000000 in ?? ()
    #35 0x402852d4 in QObject::event () from
    /usr/qt/3/lib/libqt-mt.so.3
    #36 0x40be3020 in ?? ()
    #37 0x0809bfb0 in ?? ()
    #38 0x00000000 in ?? ()
    #39 0x080d7bb8 in ?? ()
    #40 0x00000000 in ?? ()
    #41 0x081040f0 in ?? ()
    ---Type <return> to continue, or q <return> to quit---
    #42 0x08103f00 in ?? ()
    #43 0x00000000 in ?? ()

    #44 0x00000000 in ?? ()
    #45 0x00000002 in ?? ()
    #46 0xbffff874 in ?? ()
    #47 0xbffff800 in ?? ()
    #48 0x00000000 in ?? ()
    #49 0x00000000 in ?? ()
    #50 0x080f59a8 in ?? ()
    #51 0x0807f2c8 in ?? ()
    #52 0x40be3000 in ?? ()

    #53 0x408b7af5 in close () from /lib/libpthread.so.0
    #54 0x40bf9f13 in __guard_setup () from /lib/libc.so.6
    Previous frame inner to this frame (corrupt stack?)

     
  • Ewen Cheslack-Postava

    Logged In: YES
    user_id=769104

    Hmm, it seems that the debug info wasn't added. You wrote
    that you added "--enable-debug-full" but it should be
    --enable-debug=full". Can you double check that?

     
  • erik

    erik - 2004-06-12

    Logged In: YES
    user_id=1058872

    Sorry about that typo. Here is the new backtrace:

    #0 0x40c094c1 in kill () from /lib/libc.so.6
    #1 0x408b1ba1 in pthread_kill () from /lib/libpthread.so.0
    #2 0x408b1f1b in raise () from /lib/libpthread.so.0
    #3 0x40c09274 in raise () from /lib/libc.so.6
    #4 0x40c0a7a8 in abort () from /lib/libc.so.6
    #5 0x40b8d917 in __cxa_call_unexpected ()
    from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5
    #6 0x40b8d954 in std::terminate ()
    from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5
    #7 0x40b8dac6 in __cxa_throw ()
    from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5
    #8 0x40b8dd25 in operator new ()
    from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5
    #9 0x40b8ddef in operator new[] ()
    from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5
    #10 0x40361538 in QListViewItem::sortChildItems ()
    from /usr/qt/3/lib/libqt-mt.so.3
    #11 0x40361d3a in QListViewItem::enforceSortOrder ()
    from /usr/qt/3/lib/libqt-mt.so.3
    #12 0x40365c2a in QListView::buildDrawableList ()
    from /usr/qt/3/lib/libqt-mt.so.3
    #13 0x40365ac2 in QListView::drawContentsOffset ()
    from /usr/qt/3/lib/libqt-mt.so.3
    ---Type <return> to continue, or q <return> to quit---
    #14 0x40398974 in QScrollView::viewportPaintEvent ()
    from /usr/qt/3/lib/libqt-mt.so.3
    #15 0x403983b2 in QScrollView::eventFilter () from
    /usr/qt/3/lib/libqt-mt.so.3
    #16 0x40367c38 in QListView::eventFilter () from
    /usr/qt/3/lib/libqt-mt.so.3
    #17 0x4028544e in QObject::activate_filters () from
    /usr/qt/3/lib/libqt-mt.so.3
    #18 0x4028537c in QObject::event () from
    /usr/qt/3/lib/libqt-mt.so.3
    #19 0x402bd25f in QWidget::event () from
    /usr/qt/3/lib/libqt-mt.so.3
    #20 0x4022c5bf in QApplication::internalNotify ()
    from /usr/qt/3/lib/libqt-mt.so.3
    #21 0x4022b98b in QApplication::notify () from
    /usr/qt/3/lib/libqt-mt.so.3
    #22 0x401f700f in QWidget::repaint () from
    /usr/qt/3/lib/libqt-mt.so.3
    #23 0x402be49b in QWidget::repaint () from
    /usr/qt/3/lib/libqt-mt.so.3
    #24 0x40366d91 in QListView::updateContents () from
    /usr/qt/3/lib/libqt-mt.so.3
    #25 0x405cad87 in QListView::qt_invoke () from
    /usr/qt/3/lib/libqt-mt.so.3
    #26 0x40287acc in QObject::activate_signal () from
    /usr/qt/3/lib/libqt-mt.so.3
    #27 0x40287904 in QObject::activate_signal () from
    /usr/qt/3/lib/libqt-mt.so.3
    #28 0x405b9b6b in QTimer::timeout () from
    /usr/qt/3/lib/libqt-mt.so.3
    #29 0x402a8dd2 in QTimer::event () from
    /usr/qt/3/lib/libqt-mt.so.3
    #30 0x4022c5bf in QApplication::internalNotify ()
    from /usr/qt/3/lib/libqt-mt.so.3
    #31 0x4022b98b in QApplication::notify () from
    /usr/qt/3/lib/libqt-mt.so.3
    #32 0x4021be95 in QEventLoop::activateTimers ()
    from /usr/qt/3/lib/libqt-mt.so.3
    ---Type <return> to continue, or q <return> to quit---
    #33 0x401d7c96 in QEventLoop::processEvents () from
    /usr/qt/3/lib/libqt-mt.so.3
    #34 0x4023e67f in QEventLoop::processEvents () from
    /usr/qt/3/lib/libqt-mt.so.3
    #35 0x4022c72e in QApplication::processEvents ()
    from /usr/qt/3/lib/libqt-mt.so.3
    #36 0x4022c6f8 in QApplication::processEvents ()
    from /usr/qt/3/lib/libqt-mt.so.3
    #37 0x00000bb8 in ?? ()
    #38 0x00000003 in ?? ()
    #39 0x00000051 in ?? ()
    #40 0x406df5e8 in __JCR_LIST__ () from
    /usr/qt/3/lib/libqt-mt.so.3
    #41 0x406df5e8 in __JCR_LIST__ () from
    /usr/qt/3/lib/libqt-mt.so.3
    #42 0xbfffe9e8 in ?? ()
    #43 0x404334f3 in QProgressDialog::setProgress ()
    from /usr/qt/3/lib/libqt-mt.so.3
    #44 0x40d0c3a0 in ?? () from /lib/libc.so.6
    #45 0x080ed2c0 in ?? ()
    #46 0x00000000 in ?? ()
    #47 0x080d7bb0 in ?? ()
    #48 0x00000000 in ?? ()
    #49 0x081040e8 in ?? ()
    #50 0x08103ef8 in ?? ()
    #51 0x00000000 in ?? ()
    #52 0x00000000 in ?? ()
    ---Type <return> to continue, or q <return> to quit---
    #53 0x00000002 in ?? ()
    #54 0xbffff884 in ?? ()

    #55 0x408b4a00 in write () from /lib/libpthread.so.0
    #56 0x00000000 in ?? ()
    #57 0x00000000 in ?? ()
    #58 0x080f59a0 in ?? ()
    #59 0x0807f2c8 in ?? ()
    #60 0x40d0c600 in ?? () from /lib/libc.so.6
    #61 0x00000020 in ?? ()
    #62 0x40d0c2c0 in ?? () from /lib/libc.so.6
    #63 0x40014400 in ?? () from /lib/ld-linux.so.2
    #64 0x40d0c2c0 in ?? () from /lib/libc.so.6

     

Log in to post a comment.