Summary: | Akode crashes on musepack decoding on amd64 | ||
---|---|---|---|
Product: | [Unmaintained] akodelib | Reporter: | Jan Jitse Venselaar <janjitse> |
Component: | general | Assignee: | Allan Sandfeld <kde> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Patch for 64bit cleanness |
Description
Jan Jitse Venselaar
2005-03-21 17:24:09 UTC
It doesn't quite have the proper debug info. Try compiling with --enable-debug or remove "-fomit-framepointer" if you use that. Forgot not to strip symbols :( Somewhat more useful backtrace, arts and kdemultimedia both debug=full and no stripping (never use -fomit-frame-pointer, being on amd64). Still a lot of ??, is this normal? Or should I compile kdelibs also again? Using host libthread_db library "/lib/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 46912609693056 (LWP 4346)] 0x00002aaab0e1ef84 in waitpid () from /lib/tls/libpthread.so.0 #0 0x00002aaab0e1ef84 in waitpid () from /lib/tls/libpthread.so.0 #1 0x00002aaaace1f601 in KCrash::defaultCrashHandler () from /usr/kde/3.4/lib64/libkdecore.so.4 #2 0x00002aaab13f3be0 in killpg () from /lib/tls/libc.so.6 #3 0x0000000000000000 in ?? () #4 0x0000000000000000 in ?? () #5 0x0000000000000000 in ?? () #6 0x00002aaa00000002 in ?? () #7 0x0000000000000000 in ?? () #8 0x00000000000021cf in ?? () #9 0x0000000000000003 in ?? () #10 0x000000000133d750 in ?? () #11 0x00002aaab22aaae0 in MPC_decoder::BitsRead (this=0x10fc) at bitstream.cpp:34 #12 0x0000000000000480 in ?? () #13 0x00002aac2e9008d0 in ?? () #14 0x0000000000000000 in ?? () #15 0x0000000000000000 in ?? () #16 0x00002aaab23b61a0 in ?? () #17 0x0000000000000014 in ?? () #18 0x00002aaab23b61a0 in ?? () #19 0x00002aaab23b61a0 in ?? () #20 0x0000000000000000 in ?? () #21 0x00000000000021e3 in ?? () #22 0x0000000000000000 in ?? () #23 0x00007fffffffdb30 in ?? () #24 0x00002aaab22b025a in MPC_decoder::decode_internal (this=0x2aaab23b61a0, buffer=0x2aac2e9008d0) at mpc_dec.cpp:53 #25 0x0000000000000000 in ?? () #26 0x00007fffffffd8b0 in ?? () #27 0x00002aaab22aae00 in MPC_decoder::SCFI_Bundle_read () at bitstream.cpp:141 #28 0x00002aaab23d9d14 in ?? () #29 0x00000000000002f4 in ?? () #30 0x00007fffffffdb70 in ?? () #31 0x000000000000000c in ?? () #32 0x0000000001326d00 in ?? () #33 0x000000000000003f in ?? () #34 0x00007fffffffdca0 in ?? () #35 0x0000000000000000 in ?? () #36 0x00000005f8000000 in ?? () #37 0xf0000000ffffffff in ?? () #38 0x0000000200000005 in ?? () #39 0x00002aaaaaab673f in _dl_debug_state () from /lib64/ld-linux-x86-64.so.2 #40 0x00002aaaaaab2292 in _dl_rtld_di_serinfo () from /lib64/ld-linux-x86-64.so.2 #41 0x0000000000000000 in ?? () #42 0x0000000000000000 in ?? () #43 0x0000000000000000 in ?? () #44 0x0000000000000000 in ?? () #45 0x0000000000000000 in ?? () #46 0x8000000000000000 in ?? () #47 0x0000000000004000 in ?? () #48 0x4061c89e2d378a1c in ?? () #49 0x0000000000000000 in ?? () #50 0x41e8ffffb8000000 in ?? () #51 0x0000000000000000 in ?? () #52 0x3ff33547efe9d27e in ?? () #53 0x0000000000000000 in ?? () #54 0x3feaa7c7112bd37b in ?? () #55 0x0000000000000000 in ?? () #56 0x0000000048d6c22a in ?? () #57 0x0000000000000000 in ?? () #58 0x0000000000000000 in ?? () #59 0x0000000000000000 in ?? () #60 0x3ff0000000000000 in ?? () #61 0x0000000000000000 in ?? () #62 0x0000000000000000 in ?? () #63 0x0000000000000000 in ?? () #64 0x0000000000000000 in ?? () #65 0x0000000000000000 in ?? () #66 0x3ff0000000000000 in ?? () #67 0x0000000000000000 in ?? () #68 0x4000000000000000 in ?? () #69 0x0000000000000000 in ?? () #70 0x0000000000000000 in ?? () #71 0x0000000000000000 in ?? () #72 0x403b000000000000 in ?? () #73 0x0000000000000000 in ?? () #74 0x0000000000000000 in ?? () #75 0x0000000000000000 in ?? () #76 0x0000000000000000 in ?? () #77 0x0000000000000000 in ?? () #78 0x0000000000000000 in ?? () #79 0x0000000000000000 in ?? () #80 0x0000000000000000 in ?? () #81 0x0000000000000000 in ?? () #82 0x0000000000000000 in ?? () #83 0x0000000000000000 in ?? () #84 0x0000000000000000 in ?? () #85 0x0000000000000000 in ?? () #86 0x0000000000000000 in ?? () #87 0x0000000000000000 in ?? () #88 0x0000000000000000 in ?? () #89 0x0000000000000000 in ?? () #90 0x0000000000000000 in ?? () #91 0x0000000000000000 in ?? () #92 0x0000000000000001 in ?? () #93 0x0000000000000000 in ?? () #94 0x0000000000000000 in ?? () #95 0x00002aaab22a7360 in ?? () from /usr/kde/3.4/lib64/libakode_mpc_decoder.so #96 0x00002aaab23b61a0 in ?? () #97 0x00002aaaaaab5132 in _dl_rtld_di_serinfo () from /lib64/ld-linux-x86-64.so.2 #98 0x00002aaab22b0241 in MPC_decoder::decode_internal (this=0x0, buffer=0x0) at mpc_dec.cpp:52 #99 0x00002aaab22b0b9f in MPC_decoder::Decode (this=0x2aaab23b61a0, buffer=0x2aac2e9008d0, vbr_update_acc=0x0, vbr_update_bits=0x0) at mpc_dec.cpp:153 #100 0x00002aaab22aa3c1 in aKode::MPCDecoder::readFrame (this=0x1316060, frame=0x7fffffffdbe0) at mpc_decoder.cpp:144 #101 0x00002aaab0d08cb2 in aKode::Player::load (this=0x10e44f0, filename= {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1326d00 "P'á°ª*"}}) at player.cpp:237 #102 0x0000000000433ecb in aKodePlayer::play (this=0x122c5a0, file=@0x7fffffffdc90) at akodeplayer.cpp:64 #103 0x000000000045dd52 in PlayerManager::play (this=0x885970, file=@0x7fffffffdd40) at playermanager.cpp:259 #104 0x000000000045c744 in PlayerManager::forward (this=0x885970) at playermanager.cpp:394 #105 0x000000000045daf8 in PlayerManager::qt_invoke (this=0x885970, _id=14, _o=0x7fffffffddf0) at playermanager.moc:186 #106 0x00002aaaadc69eba in QObject::activate_signal () from /usr/qt/3/lib64/libqt-mt.so.3 #107 0x00002aaaadc6a5f2 in QObject::activate_signal () from /usr/qt/3/lib64/libqt-mt.so.3 #108 0x000000000045ec58 in Playlist::slotPlayCurrent (this=0x10fc) at playlist.cpp:2174 #109 0x0000000000466911 in Playlist::qt_invoke (this=0xa263c0, _id=135, _o=0x7fffffffdf10) at playlist.moc:283 #110 0x000000000043852d in CollectionList::qt_invoke (this=0xa263c0, _id=135, _o=0x7fffffffdf10) at collectionlist.moc:181 #111 0x00002aaaadc69eba in QObject::activate_signal () from /usr/qt/3/lib64/libqt-mt.so.3 #112 0x00002aaaadf6e759 in QListView::doubleClicked () from /usr/qt/3/lib64/libqt-mt.so.3 #113 0x00002aaaac7b219c in KListView::contentsMouseDoubleClickEvent () from /usr/kde/3.4/lib64/libkdeui.so.4 #114 0x00002aaaadd68b9b in QScrollView::viewportMouseDoubleClickEvent () from /usr/qt/3/lib64/libqt-mt.so.3 #115 0x00002aaaadd6ac20 in QScrollView::eventFilter () from /usr/qt/3/lib64/libqt-mt.so.3 #116 0x00002aaaadd3e8ee in QListView::eventFilter () from /usr/qt/3/lib64/libqt-mt.so.3 #117 0x000000000045f3a4 in Playlist::eventFilter (this=0xa263c0, watched=0x8a3530, e=0x7fffffffe580) at playlist.cpp:1056 #118 0x00002aaaadc67512 in QObject::activate_filters () from /usr/qt/3/lib64/libqt-mt.so.3 #119 0x00002aaaadc675ef in QObject::event () from /usr/qt/3/lib64/libqt-mt.so.3 #120 0x00002aaaadc9c273 in QWidget::event () from /usr/qt/3/lib64/libqt-mt.so.3 #121 0x00002aaaadc0eae2 in QApplication::internalNotify () from /usr/qt/3/lib64/libqt-mt.so.3 #122 0x00002aaaadc0f00f in QApplication::notify () from /usr/qt/3/lib64/libqt-mt.so.3 #123 0x00002aaaace507da in KApplication::notify () from /usr/kde/3.4/lib64/libkdecore.so.4 #124 0x00002aaaadbb2d46 in QETWidget::translateMouseEvent () from /usr/qt/3/lib64/libqt-mt.so.3 #125 0x00002aaaadbb19e7 in QApplication::x11ProcessEvent () from /usr/qt/3/lib64/libqt-mt.so.3 #126 0x00002aaaadbc2cdf in QEventLoop::processEvents () from /usr/qt/3/lib64/libqt-mt.so.3 #127 0x00002aaaadc234d1 in QEventLoop::enterLoop () from /usr/qt/3/lib64/libqt-mt.so.3 #128 0x00002aaaadc233d2 in QEventLoop::exec () from /usr/qt/3/lib64/libqt-mt.so.3 #129 0x0000000000457411 in main (argc=-5024, argv=0x87a610) at main.cpp:93 Created attachment 10490 [details]
Patch for 64bit cleanness
Seems the portable mppdec library was not so portable. Several places it was
assumed a long was 32 bit.
Here is my first attempt to fix it, please test it as I do not have a 64 bit
machine.
Patch applied and it works perfectly now. Many thanks! SVN commit 412009 by carewolf: Backport of crash bug in mppdec on AMD64 CCBUG: 102105 M +23 -23 branches/KDE/3.4/kdemultimedia/akode/plugins/mpc_decoder/mppdec/mpc_dec.cpp M +139 -139 branches/KDE/3.4/kdemultimedia/akode/plugins/mpc_decoder/mppdec/mpc_dec.h M +1 -1 branches/KDE/3.4/kdemultimedia/akode/plugins/mpc_decoder/mppdec/mpc_math.h M +7 -7 branches/KDE/3.4/kdemultimedia/akode/plugins/mpc_decoder/mppdec/streaminfo.cpp M +2 -2 branches/KDE/3.4/kdemultimedia/akode/plugins/mpc_decoder/mppdec/streaminfo.h |