Nasty crash in playlist code
Mark Kretschmann
markey at web.de
Thu Aug 24 08:11:54 UTC 2006
Was playing a normal local file, activated "Stop Playing After This Track",
and then that was it. Meh, this code is nothing but trouble. I recall we
tried to fix it some time ago.
======== DEBUG INFORMATION =======
Version: 1.4-SVN
Engine: xine-engine
Build date: Aug 20 2006
CC version: 3.2
KDElibs: 3.3.0
Qt: 3.3.3
TagLib: 1.4.0
CPU count: 1
==== file `which amarokapp` =======
/opt/kde3/bin/amarokapp: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), dynamically linked (uses shared libs), not stripped
==== (gdb) bt =====================
[New Thread 1024 (LWP 23048)]
[New Thread 2049 (LWP 23049)]
[New Thread 7170 (LWP 23059)]
[New Thread 8195 (LWP 23066)]
[New Thread 9220 (LWP 23067)]
[New Thread 10245 (LWP 23068)]
[New Thread 46086 (LWP 27070)]
0x42155449 in wait4 () from /lib/libc.so.6
#0 0x42155449 in wait4 () from /lib/libc.so.6
#1 0x421d1fd0 in __DTOR_END__ () from /lib/libc.so.6
#2 0x41f34a73 in waitpid () from /lib/libpthread.so.0
#3 0x0804e1be in amaroK::Crash::crashHandler(int) ()
at /home/mark/mysource/kdesvn/extragear/multimedia/amarok/src/amarokcore/crashhandler.cpp:249
#4 0x41f3211b in pthread_sighandler () from /lib/libpthread.so.0
#5 <signal handler called>
#6 0x416d0537 in QListViewItem::listView() const ()
from /usr/lib/./libqt-mt.so.3
#7 0x40349f54 in PlaylistItem::listView() const (this=0x8880d28)
at /home/mark/mysource/kdesvn/extragear/multimedia/amarok/src/playlistitem.h:81
#8 0x403430a5 in PlaylistItem::update() const (this=0x8880d28)
at /home/mark/mysource/kdesvn/extragear/multimedia/amarok/src/playlistitem.cpp:354
#9 0x402eeb2c in Playlist::toggleStopAfterCurrentItem() (this=0x8172e30)
at /home/mark/mysource/kdesvn/extragear/multimedia/amarok/src/playlist.cpp:1558
#10 0x40300a93 in Playlist::qt_invoke(int, QUObject*) (this=0x8172e30,
_id=137, _o=0xbfffcd50)
at /home/mark/mysource/kdesvn/extragear/multimedia/amarok/src/playlist.moc:473
#11 0x415f1710 in QObject::activate_signal(QConnectionList*, QUObject*) ()
from /usr/lib/./libqt-mt.so.3
#12 0x415f1544 in QObject::activate_signal(int) ()
from /usr/lib/./libqt-mt.so.3
#13 0x40f0418b in KAction::activated() () from /opt/kde3/lib/libkdeui.so.4
#14 0x40f0babe in KToggleAction::slotActivated() ()
from /opt/kde3/lib/libkdeui.so.4
#15 0x40f1781f in KToggleAction::qt_invoke(int, QUObject*) ()
from /opt/kde3/lib/libkdeui.so.4
#16 0x415f1710 in QObject::activate_signal(QConnectionList*, QUObject*) ()
from /usr/lib/./libqt-mt.so.3
#17 0x41920f52 in QSignal::signal(QVariant const&) ()
from /usr/lib/./libqt-mt.so.3
#18 0x4160b81f in QSignal::activate() () from /usr/lib/./libqt-mt.so.3
#19 0x416f349f in QPopupMenu::mouseReleaseEvent(QMouseEvent*) ()
from /usr/lib/./libqt-mt.so.3
#20 0x41626694 in QWidget::event(QEvent*) () from /usr/lib/./libqt-mt.so.3
#21 0x41596915 in QApplication::internalNotify(QObject*, QEvent*) ()
from /usr/lib/./libqt-mt.so.3
#22 0x41595df8 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/./libqt-mt.so.3
#23 0x41175ab6 in KApplication::notify(QObject*, QEvent*) ()
from /opt/kde3/lib/libkdecore.so.4
#24 0x41529546 in QETWidget::translateMouseEvent(_XEvent const*) ()
from /usr/lib/./libqt-mt.so.3
#25 0x41527ad8 in QApplication::x11ProcessEvent(_XEvent*) ()
from /usr/lib/./libqt-mt.so.3
#26 0x4153ed57 in QEventLoop::processEvents(unsigned) ()
from /usr/lib/./libqt-mt.so.3
#27 0x415a89c6 in QEventLoop::enterLoop() () from /usr/lib/./libqt-mt.so.3
#28 0x41596bc1 in QApplication::enter_loop() () from /usr/lib/./libqt-mt.so.3
#29 0x416f627c in QPopupMenu::exec(QPoint const&, int) ()
from /usr/lib/./libqt-mt.so.3
#30 0x402fb6b6 in Playlist::showContextMenu(QListViewItem*, QPoint const&,
int) (
this=0x8172e30, item=0x88cfe28, p=@0xbfffe210, col=1)
at /home/mark/mysource/kdesvn/extragear/multimedia/amarok/src/playlist.cpp:3945
#31 0x402fe90d in Playlist::slotMouseButtonPressed(int, QListViewItem*, QPoint
const&, int) (
this=0x8172e30, button=2, after=0x88cfe28, p=@0xbfffe210, col=1)
at /home/mark/mysource/kdesvn/extragear/multimedia/amarok/src/playlist.cpp:4580
#32 0x40300fe5 in Playlist::qt_invoke(int, QUObject*) (this=0x8172e30,
_id=168, _o=0xbfffe120)
at /home/mark/mysource/kdesvn/extragear/multimedia/amarok/src/playlist.moc:504
#33 0x415f1710 in QObject::activate_signal(QConnectionList*, QUObject*) ()
from /usr/lib/./libqt-mt.so.3
#34 0x41933adb in QListView::mouseButtonPressed(int, QListViewItem*, QPoint
const&, int) ()
from /usr/lib/./libqt-mt.so.3
#35 0x416d0d5a in QListView::contentsMousePressEventEx(QMouseEvent*) ()
from /usr/lib/./libqt-mt.so.3
#36 0x416d07e6 in QListView::contentsMousePressEvent(QMouseEvent*) ()
from /usr/lib/./libqt-mt.so.3
#37 0x40f3005c in KListView::contentsMousePressEvent(QMouseEvent*) ()
from /opt/kde3/lib/libkdeui.so.4
#38 0x402fcd4a in Playlist::contentsMousePressEvent(QMouseEvent*)
(this=0x8172e30, e=0xbfffe3f0)
at /home/mark/mysource/kdesvn/extragear/multimedia/amarok/src/playlist.cpp:4212
#39 0x41701c6c in QScrollView::viewportMousePressEvent(QMouseEvent*) ()
from /usr/lib/./libqt-mt.so.3
#40 0x41701604 in QScrollView::eventFilter(QObject*, QEvent*) ()
from /usr/lib/./libqt-mt.so.3
#41 0x416d02a8 in QListView::eventFilter(QObject*, QEvent*) ()
from /usr/lib/./libqt-mt.so.3
#42 0x402f5161 in Playlist::eventFilter(QObject*, QEvent*) (this=0x8172e30,
o=0x8173690,
e=0xbfffec70)
at /home/mark/mysource/kdesvn/extragear/multimedia/amarok/src/playlist.cpp:2997
#43 0x415ef03e in QObject::activate_filters(QEvent*) ()
from /usr/lib/./libqt-mt.so.3
#44 0x415eef61 in QObject::event(QEvent*) () from /usr/lib/./libqt-mt.so.3
#45 0x4162661c in QWidget::event(QEvent*) () from /usr/lib/./libqt-mt.so.3
#46 0x41596915 in QApplication::internalNotify(QObject*, QEvent*) ()
from /usr/lib/./libqt-mt.so.3
#47 0x41595df8 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/./libqt-mt.so.3
#48 0x41175ab6 in KApplication::notify(QObject*, QEvent*) ()
from /opt/kde3/lib/libkdecore.so.4
#49 0x41529a1b in QETWidget::translateMouseEvent(_XEvent const*) ()
from /usr/lib/./libqt-mt.so.3
#50 0x41527ad8 in QApplication::x11ProcessEvent(_XEvent*) ()
from /usr/lib/./libqt-mt.so.3
#51 0x4153ed57 in QEventLoop::processEvents(unsigned) ()
from /usr/lib/./libqt-mt.so.3
#52 0x415a89c6 in QEventLoop::enterLoop() () from /usr/lib/./libqt-mt.so.3
#53 0x415a8868 in QEventLoop::exec() () from /usr/lib/./libqt-mt.so.3
#54 0x41596b61 in QApplication::exec() () from /usr/lib/./libqt-mt.so.3
#55 0x0804d21b in main (argc=1, argv=0xbffff1e4)
at /home/mark/mysource/kdesvn/extragear/multimedia/amarok/src/main.cpp:108
#56 0x420cf4f2 in __libc_start_main () from /lib/libc.so.6
#0 0x42155449 in wait4 () from /lib/libc.so.6
No symbol table info available.
#1 0x421d1fd0 in __DTOR_END__ () from /lib/libc.so.6
No symbol table info available.
#2 0x41f34a73 in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#3 0x0804e1be in amaroK::Crash::crashHandler(int) ()
at /home/mark/mysource/kdesvn/extragear/multimedia/amarok/src/amarokcore/crashhandler.cpp:249
pid = 27072
#4 0x41f3211b in pthread_sighandler () from /lib/libpthread.so.0
No symbol table info available.
#5 <signal handler called>
No symbol table info available.
#6 0x416d0537 in QListViewItem::listView() const ()
from /usr/lib/./libqt-mt.so.3
No symbol table info available.
#7 0x40349f54 in PlaylistItem::listView() const (this=0x8880d28)
at /home/mark/mysource/kdesvn/extragear/multimedia/amarok/src/playlistitem.h:81
No locals.
#8 0x403430a5 in PlaylistItem::update() const (this=0x8880d28)
at /home/mark/mysource/kdesvn/extragear/multimedia/amarok/src/playlistitem.cpp:354
No locals.
#9 0x402eeb2c in Playlist::toggleStopAfterCurrentItem() (this=0x8172e30)
at /home/mark/mysource/kdesvn/extragear/multimedia/amarok/src/playlist.cpp:1558
item = (class PlaylistItem *) 0x88cfd70
prev_stopafter = (PlaylistItem *) 0x8880d28
#10 0x40300a93 in Playlist::qt_invoke(int, QUObject*) (this=0x8172e30,
_id=137, _o=0xbfffcd50)
at /home/mark/mysource/kdesvn/extragear/multimedia/amarok/src/playlist.moc:473
No locals.
#11 0x415f1710 in QObject::activate_signal(QConnectionList*, QUObject*) ()
from /usr/lib/./libqt-mt.so.3
No symbol table info available.
#12 0x415f1544 in QObject::activate_signal(int) ()
from /usr/lib/./libqt-mt.so.3
No symbol table info available.
#13 0x40f0418b in KAction::activated() () from /opt/kde3/lib/libkdeui.so.4
No symbol table info available.
#14 0x40f0babe in KToggleAction::slotActivated() ()
from /opt/kde3/lib/libkdeui.so.4
No symbol table info available.
#15 0x40f1781f in KToggleAction::qt_invoke(int, QUObject*) ()
from /opt/kde3/lib/libkdeui.so.4
No symbol table info available.
#16 0x415f1710 in QObject::activate_signal(QConnectionList*, QUObject*) ()
from /usr/lib/./libqt-mt.so.3
No symbol table info available.
#17 0x41920f52 in QSignal::signal(QVariant const&) ()
from /usr/lib/./libqt-mt.so.3
No symbol table info available.
#18 0x4160b81f in QSignal::activate() () from /usr/lib/./libqt-mt.so.3
No symbol table info available.
#19 0x416f349f in QPopupMenu::mouseReleaseEvent(QMouseEvent*) ()
from /usr/lib/./libqt-mt.so.3
No symbol table info available.
#20 0x41626694 in QWidget::event(QEvent*) () from /usr/lib/./libqt-mt.so.3
No symbol table info available.
#21 0x41596915 in QApplication::internalNotify(QObject*, QEvent*) ()
from /usr/lib/./libqt-mt.so.3
No symbol table info available.
#22 0x41595df8 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/./libqt-mt.so.3
No symbol table info available.
#23 0x41175ab6 in KApplication::notify(QObject*, QEvent*) ()
from /opt/kde3/lib/libkdecore.so.4
No symbol table info available.
#24 0x41529546 in QETWidget::translateMouseEvent(_XEvent const*) ()
from /usr/lib/./libqt-mt.so.3
No symbol table info available.
#25 0x41527ad8 in QApplication::x11ProcessEvent(_XEvent*) ()
from /usr/lib/./libqt-mt.so.3
No symbol table info available.
#26 0x4153ed57 in QEventLoop::processEvents(unsigned) ()
from /usr/lib/./libqt-mt.so.3
No symbol table info available.
#27 0x415a89c6 in QEventLoop::enterLoop() () from /usr/lib/./libqt-mt.so.3
No symbol table info available.
#28 0x41596bc1 in QApplication::enter_loop() () from /usr/lib/./libqt-mt.so.3
No symbol table info available.
#29 0x416f627c in QPopupMenu::exec(QPoint const&, int) ()
from /usr/lib/./libqt-mt.so.3
No symbol table info available.
#30 0x402fb6b6 in Playlist::showContextMenu(QListViewItem*, QPoint const&,
int) (
this=0x8172e30, item=0x88cfe28, p=@0xbfffe210, col=1)
at /home/mark/mysource/kdesvn/extragear/multimedia/amarok/src/playlist.cpp:3945
canRename = true
isCurrent = true
isPlaying = true
trackColumn = false
isLastFm = false
tagName = {static null =
==== kdBacktrace() ================
[
0: /opt/kde3/lib/libkdecore.so.4(_Z11kdBacktracei+0x44) [0x4118b894]
1: /opt/kde3/lib/libkdecore.so.4(_Z11kdBacktracev+0x2a) [0x4118bc1a]
2: amarokapp(_ZN6amaroK5Crash12crashHandlerEi+0xcb9) [0x804dfc7]
3: /lib/libpthread.so.0 [0x41f3211b]
4: /lib/libc.so.6 [0x420e0dd8]
5: /opt/kde3/lib/libamarok.so.0(_ZNK12PlaylistItem8listViewEv+0x24)
[0x40349f54]
6: /opt/kde3/lib/libamarok.so.0(_ZNK12PlaylistItem6updateEv+0x27) [0x403430a5]
7: /opt/kde3/lib/libamarok.so.0
(_ZN8Playlist26toggleStopAfterCurrentItemEv+0xde) [0x402eeb2c]
8: /opt/kde3/lib/libamarok.so.0(_ZN8Playlist9qt_invokeEiP8QUObject+0x473)
[0x40300a93]
9: /usr/lib/./libqt-mt.so.3
(_ZN7QObject15activate_signalEP15QConnectionListP8QUObject+0x140)
[0x415f1710]
10: /usr/lib/./libqt-mt.so.3(_ZN7QObject15activate_signalEi+0xb4) [0x415f1544]
11: /opt/kde3/lib/libkdeui.so.4(_ZN7KAction9activatedEv+0x2b) [0x40f0418b]
12: /opt/kde3/lib/libkdeui.so.4(_ZN13KToggleAction13slotActivatedEv+0x3e)
[0x40f0babe]
13: /opt/kde3/lib/libkdeui.so.4(_ZN13KToggleAction9qt_invokeEiP8QUObject+0x5f)
[0x40f1781f]
14: /usr/lib/./libqt-mt.so.3
(_ZN7QObject15activate_signalEP15QConnectionListP8QUObject+0x140)
[0x415f1710]
15: /usr/lib/./libqt-mt.so.3(_ZN7QSignal6signalERK8QVariant+0x92) [0x41920f52]
16: /usr/lib/./libqt-mt.so.3(_ZN7QSignal8activateEv+0x7f) [0x4160b81f]
17: /usr/lib/./libqt-mt.so.3
(_ZN10QPopupMenu17mouseReleaseEventEP11QMouseEvent+0x38f) [0x416f349f]
18: /usr/lib/./libqt-mt.so.3(_ZN7QWidget5eventEP6QEvent+0xa4) [0x41626694]
19: /usr/lib/./libqt-mt.so.3
(_ZN12QApplication14internalNotifyEP7QObjectP6QEvent+0xb5) [0x41596915]
20: /usr/lib/./libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x1f8)
[0x41595df8]
21: /opt/kde3/lib/libkdecore.so.4
(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x96) [0x41175ab6]
22: /usr/lib/./libqt-mt.so.3
(_ZN9QETWidget19translateMouseEventEPK7_XEvent+0x586) [0x41529546]
23: /usr/lib/./libqt-mt.so.3
(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x528) [0x41527ad8]
24: /usr/lib/./libqt-mt.so.3(_ZN10QEventLoop13processEventsEj+0x927)
[0x4153ed57]
25: /usr/lib/./libqt-mt.so.3(_ZN10QEventLoop9enterLoopEv+0xf6) [0x415a89c6]
26: /usr/lib/./libqt-mt.so.3(_ZN12QApplication10enter_loopEv+0x21)
[0x41596bc1]
27: /usr/lib/./libqt-mt.so.3(_ZN10QPopupMenu4execERK6QPointi+0xbc)
[0x416f627c]
28: /opt/kde3/lib/libamarok.so.0
(_ZN8Playlist15showContextMenuEP13QListViewItemRK6QPointi+0x2d2c)
[0x402fb6b6]
29: /opt/kde3/lib/libamarok.so.0
(_ZN8Playlist22slotMouseButtonPressedEiP13QListViewItemRK6QPointi+0x12b)
[0x402fe90d]
30: /opt/kde3/lib/libamarok.so.0(_ZN8Playlist9qt_invokeEiP8QUObject+0x9c5)
[0x40300fe5]
31: /usr/lib/./libqt-mt.so.3
(_ZN7QObject15activate_signalEP15QConnectionListP8QUObject+0x140)
[0x415f1710]
32: /usr/lib/./libqt-mt.so.3
(_ZN9QListView18mouseButtonPressedEiP13QListViewItemRK6QPointi+0xfb)
[0x41933adb]
33: /usr/lib/./libqt-mt.so.3
(_ZN9QListView25contentsMousePressEventExEP11QMouseEvent+0x56a) [0x416d0d5a]
34: /usr/lib/./libqt-mt.so.3
(_ZN9QListView23contentsMousePressEventEP11QMouseEvent+0x26) [0x416d07e6]
35: /opt/kde3/lib/libkdeui.so.4
(_ZN9KListView23contentsMousePressEventEP11QMouseEvent+0x16c) [0x40f3005c]
36: /opt/kde3/lib/libamarok.so.0
(_ZN8Playlist23contentsMousePressEventEP11QMouseEvent+0x1f6) [0x402fcd4a]
37: /usr/lib/./libqt-mt.so.3
(_ZN11QScrollView23viewportMousePressEventEP11QMouseEvent+0x9c) [0x41701c6c]
38: /usr/lib/./libqt-mt.so.3
(_ZN11QScrollView11eventFilterEP7QObjectP6QEvent+0xf4) [0x41701604]
39: /usr/lib/./libqt-mt.so.3
(_ZN9QListView11eventFilterEP7QObjectP6QEvent+0x68) [0x416d02a8]
40: /opt/kde3/lib/libamarok.so.0
(_ZN8Playlist11eventFilterEP7QObjectP6QEvent+0x13c1) [0x402f5161]
41: /usr/lib/./libqt-mt.so.3(_ZN7QObject16activate_filtersEP6QEvent+0x6e)
[0x415ef03e]
42: /usr/lib/./libqt-mt.so.3(_ZN7QObject5eventEP6QEvent+0xb1) [0x415eef61]
43: /usr/lib/./libqt-mt.so.3(_ZN7QWidget5eventEP6QEvent+0x2c) [0x4162661c]
44: /usr/lib/./libqt-mt.so.3
(_ZN12QApplication14internalNotifyEP7QObjectP6QEvent+0xb5) [0x41596915]
45: /usr/lib/./libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x1f8)
[0x41595df8]
46: /opt/kde3/lib/libkdecore.so.4
(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x96) [0x41175ab6]
47: /usr/lib/./libqt-mt.so.3
(_ZN9QETWidget19translateMouseEventEPK7_XEvent+0xa5b) [0x41529a1b]
48: /usr/lib/./libqt-mt.so.3
(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x528) [0x41527ad8]
49: /usr/lib/./libqt-mt.so.3(_ZN10QEventLoop13processEventsEj+0x927)
[0x4153ed57]
50: /usr/lib/./libqt-mt.so.3(_ZN10QEventLoop9enterLoopEv+0xf6) [0x415a89c6]
51: /usr/lib/./libqt-mt.so.3(_ZN10QEventLoop4execEv+0x28) [0x415a8868]
52: /usr/lib/./libqt-mt.so.3(_ZN12QApplication4execEv+0x21) [0x41596b61]
53:
amarokapp(_ZN12KApplication12invokeMailerERK7QStringS2_S2_S2_S2_S2_RK11QStringListRK8QCString+0xa6f)
[0x804d21b]
54: /lib/libc.so.6(__libc_start_main+0xa2) [0x420cf4f2]
55: amarokapp(_Znwj+0x55) [0x804cae1]
]
--
Mark
More information about the Amarok
mailing list