Summary: | Dragon Player Crashes When You Remove Entry From List [@ RecentlyPlayedList::removeEntry] | ||
---|---|---|---|
Product: | [Applications] dragonplayer | Reporter: | dlesage <dlesage> |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aakashrajdahal |
Priority: | NOR | ||
Version: | 2.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/dragon/6de06f8a94618dd4dad8798f3bd580b1ab8adb53 | Version Fixed In: | |
Sentry Crash Report: |
Description
dlesage
2011-03-04 08:14:46 UTC
I was able to reproduced the bug in Dragon Player 2.0 running KDE 4.7.2. Here is my backtrace. Starting program: /usr/bin/dragon [Thread debugging using libthread_db enabled] [New Thread 0xb7d61b70 (LWP 3473)] [New Thread 0xb73ffb70 (LWP 3474)] [New Thread 0xb6093b70 (LWP 3475)] kdeinit4: Aborting. bind() failed: Permission denied Could not bind to socket '/home/aishraj/.kde/socket-ubuntu/kdeinit4__0' [New Thread 0xb17f4b70 (LWP 3478)] [Thread 0xb17f4b70 (LWP 3478) exited] [New Thread 0xb17f4b70 (LWP 3479)] [New Thread 0xb0fe3b70 (LWP 3480)] [Thread 0xb17f4b70 (LWP 3479) exited] [Thread 0xb0fe3b70 (LWP 3480) exited] QPainter::begin: Paint device returned engine == 0, type: 2 QPainter::begin: Paint device returned engine == 0, type: 2 [New Thread 0xb0fe3b70 (LWP 3481)] QPainter::begin: Paint device returned engine == 0, type: 2 Program received signal SIGSEGV, Segmentation fault. 0x080755c7 in RecentlyPlayedList::removeEntry (this=0x821c850) at ../../../../dragonplayer/src/app/recentlyPlayedList.cpp:88 88 ../../../../dragonplayer/src/app/recentlyPlayedList.cpp: No such file or directory. in ../../../../dragonplayer/src/app/recentlyPlayedList.cpp Probably a bug in dragonplayer that is not checking the recentlyPlayedList which is empty. Here is the backtrace generated by DrKonqi Application: Dragon Player (dragon), signal: Segmentation fault [Current thread is 1 (Thread 0xb77d4930 (LWP 3596))] Thread 2 (Thread 0xaff2db70 (LWP 3626)): #0 0x0616dd10 in __GI_clock_gettime (clock_id=1, tp=0xaff2d028) at ../sysdeps/unix/clock_gettime.c:116 #1 0x046937d5 in do_gettime (frac=0xaff2d020, sec=0xaff2d018) at tools/qelapsedtimer_unix.cpp:123 #2 qt_gettime () at tools/qelapsedtimer_unix.cpp:140 #3 0x047664b6 in QTimerInfoList::updateCurrentTime (this=0x87d44fc) at kernel/qeventdispatcher_unix.cpp:339 #4 0x0476680a in QTimerInfoList::timerWait (this=0x87d44fc, tm=...) at kernel/qeventdispatcher_unix.cpp:442 #5 0x04765053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xaff2d12c) at kernel/qeventdispatcher_glib.cpp:136 #6 0x047650ed in timerSourcePrepare (source=0x87d44c8, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169 #7 0x021af88c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0 #8 0x021b0637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #9 0x021b0c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #10 0x04765b37 in QEventDispatcherGlib::processEvents (this=0x886ff90, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #11 0x047361dd in QEventLoop::processEvents (this=0xaff2d2b0, flags=...) at kernel/qeventloop.cpp:149 #12 0x04736421 in QEventLoop::exec (this=0xaff2d2b0, flags=...) at kernel/qeventloop.cpp:201 #13 0x0463990b in QThread::exec (this=0x886ab80) at thread/qthread.cpp:498 #14 0x04716e2d in QInotifyFileSystemWatcherEngine::run (this=0x886ab80) at io/qfilesystemwatcher_inotify.cpp:248 #15 0x0463c7b3 in QThreadPrivate::start (arg=0x886ab80) at thread/qthread_unix.cpp:331 #16 0x0339ed31 in start_thread (arg=0xaff2db70) at pthread_create.c:304 #17 0x077650ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Backtrace stopped: Not enough registers or memory available to unwind further Thread 1 (Thread 0xb77d4930 (LWP 3596)): [KCrash Handler] #7 0x080755c7 in RecentlyPlayedList::removeEntry (this=0x83b5e88) at ../../../../dragonplayer/src/app/recentlyPlayedList.cpp:88 #8 0x0807519f in RecentlyPlayedList::qt_metacall (this=0x83b5e88, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfac1288) at ./recentlyPlayedList.moc:80 #9 0x0473db7d in metacall (argv=0xbfac1288, idx=100, cl=QMetaObject::InvokeMetaMethod, object=0x83b5e88) at kernel/qmetaobject.cpp:237 #10 QMetaObject::metacall (object=0x83b5e88, cl=QMetaObject::InvokeMetaMethod, idx=100, argv=0xbfac1288) at kernel/qmetaobject.cpp:232 #11 0x0474ca6a in QMetaObject::activate (sender=0x88a7028, m=0x1a69458, local_signal_index=1, argv=0xbfac1288) at kernel/qobject.cpp:3278 #12 0x0111983d in QAction::triggered (this=0x88a7028, _t1=false) at .moc/release-shared/moc_qaction.cpp:263 #13 0x01119adb in QAction::activate (this=0x88a7028, event=QAction::Trigger) at kernel/qaction.cpp:1257 #14 0x015c2b13 in QMenuPrivate::activateCausedStack (this=0x8967e38, causedStack=..., action=0x88a7028, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1005 #15 0x015c93af in QMenuPrivate::activateAction (this=0x8967e38, action=0x88a7028, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1097 #16 0x015cc0f5 in QMenu::mouseReleaseEvent (this=0xbfac2190, e=0xbfac19ac) at widgets/qmenu.cpp:2296 #17 0x005e5b8c in KMenu::mouseReleaseEvent (this=0xbfac2190, e=0xbfac19ac) at ../../kdeui/widgets/kmenu.cpp:464 #18 0x0117af98 in QWidget::event (this=0xbfac2190, event=0xbfac19ac) at kernel/qwidget.cpp:8295 #19 0x015cab6c in QMenu::event (this=0xbfac2190, e=0xbfac19ac) at widgets/qmenu.cpp:2405 #20 0x01120d54 in notify_helper (e=0xbfac19ac, receiver=0xbfac2190, this=0x8310080) at kernel/qapplication.cpp:4486 #21 QApplicationPrivate::notify_helper (this=0x8310080, receiver=0xbfac2190, e=0xbfac19ac) at kernel/qapplication.cpp:4458 #22 0x01126dbb in QApplication::notify (this=0x8310080, receiver=0xbfac2190, e=0xbfac19ac) at kernel/qapplication.cpp:4047 #23 0x00507681 in KApplication::notify (this=0xbfac30b4, receiver=0xbfac2190, event=0xbfac19ac) at ../../kdeui/kernel/kapplication.cpp:311 #24 0x0473719e in QCoreApplication::notifyInternal (this=0xbfac30b4, receiver=0xbfac2190, event=0xbfac19ac) at kernel/qcoreapplication.cpp:787 #25 0x01121d15 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #26 QApplicationPrivate::sendMouseEvent (receiver=0xbfac2190, event=0xbfac19ac, alienWidget=0x0, nativeWidget=0xbfac2190, buttonDown=0x1a8beb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146 #27 0x011ae9fa in QETWidget::translateMouseEvent (this=0xbfac2190, event=0xbfac1e2c) at kernel/qapplication_x11.cpp:4502 #28 0x011ace4d in QApplication::x11ProcessEvent (this=0xbfac30b4, event=0xbfac1e2c) at kernel/qapplication_x11.cpp:3690 #29 0x011d924c in x11EventSourceDispatch (s=0x83128a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #30 0x021b025f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0 #31 0x021b0990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #32 0x021b0c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #33 0x04765ada in QEventDispatcherGlib::processEvents (this=0x82f8b58, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #34 0x011d8e3a in QGuiEventDispatcherGlib::processEvents (this=0x82f8b58, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #35 0x047361dd in QEventLoop::processEvents (this=0xbfac2130, flags=...) at kernel/qeventloop.cpp:149 #36 0x04736421 in QEventLoop::exec (this=0xbfac2130, flags=...) at kernel/qeventloop.cpp:201 #37 0x015c6737 in QMenu::exec (this=0xbfac2190, p=..., action=0x0) at widgets/qmenu.cpp:2049 #38 0x08074feb in RecentlyPlayedList::contextMenuEvent (this=0x83b5e88, event=0xbfac28d4) at ../../../../dragonplayer/src/app/recentlyPlayedList.cpp:81 #39 0x0117bd23 in QWidget::event (this=0x83b5e88, event=0xbfac28d4) at kernel/qwidget.cpp:8462 #40 0x01580235 in QFrame::event (this=0x83b5e88, e=0xbfac28d4) at widgets/qframe.cpp:557 #41 0x016127d1 in QAbstractScrollArea::viewportEvent (this=0x83b5e88, e=0xbfac28d4) at widgets/qabstractscrollarea.cpp:1043 #42 0x016b4b6c in QAbstractItemView::viewportEvent (this=0x83b5e88, event=0xbfac28d4) at itemviews/qabstractitemview.cpp:1628 #43 0x01614ee6 in viewportEvent (this=<optimized out>, event=0xbfac28d4) at widgets/qabstractscrollarea_p.h:100 #44 eventFilter (e=0xbfac28d4, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116 #45 QAbstractScrollAreaFilter::eventFilter (this=0x83b7ca8, o=0x83b6ba0, e=0xbfac28d4) at widgets/qabstractscrollarea_p.h:115 #46 0x04737336 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8310080, receiver=0x83b6ba0, event=0xbfac28d4) at kernel/qcoreapplication.cpp:902 #47 0x01120d22 in notify_helper (e=0xbfac28d4, receiver=0x83b6ba0, this=0x8310080) at kernel/qapplication.cpp:4482 #48 QApplicationPrivate::notify_helper (this=0x8310080, receiver=0x83b6ba0, e=0xbfac28d4) at kernel/qapplication.cpp:4458 #49 0x01126794 in QApplication::notify (this=0x83b6ba0, receiver=0x83b6ba0, e=0xbfac28d4) at kernel/qapplication.cpp:4126 #50 0x00507681 in KApplication::notify (this=0xbfac30b4, receiver=0x83b6ba0, event=0xbfac28d4) at ../../kdeui/kernel/kapplication.cpp:311 #51 0x0473719e in QCoreApplication::notifyInternal (this=0xbfac30b4, receiver=0x83b6ba0, event=0xbfac28d4) at kernel/qcoreapplication.cpp:787 #52 0x011ae345 in sendSpontaneousEvent (event=0xbfac28d4, receiver=0x83b6ba0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #53 QETWidget::translateMouseEvent (this=0x83b56c0, event=0xbfac2d2c) at kernel/qapplication_x11.cpp:4573 #54 0x011ace4d in QApplication::x11ProcessEvent (this=0xbfac30b4, event=0xbfac2d2c) at kernel/qapplication_x11.cpp:3690 #55 0x011d924c in x11EventSourceDispatch (s=0x83128a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #56 0x021b025f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0 #57 0x021b0990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #58 0x021b0c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #59 0x04765ada in QEventDispatcherGlib::processEvents (this=0x82f8b58, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #60 0x011d8e3a in QGuiEventDispatcherGlib::processEvents (this=0x82f8b58, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #61 0x047361dd in QEventLoop::processEvents (this=0xbfac3034, flags=...) at kernel/qeventloop.cpp:149 #62 0x04736421 in QEventLoop::exec (this=0xbfac3034, flags=...) at kernel/qeventloop.cpp:201 #63 0x0473b19d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064 #64 0x0111e8f4 in QApplication::exec () at kernel/qapplication.cpp:3760 #65 0x0805bf84 in main (argc=11239976, argv=0xb77e5560) at ../../../../dragonplayer/src/app/main.cpp:57 Setting status to NEW, thank you for the triaging help :) Git commit 6de06f8a94618dd4dad8798f3bd580b1ab8adb53 by Harald Sitter. Committed on 01/06/2012 at 01:09. Pushed by sitter into branch 'master'. don't show remove context menu when no entry is highlighted M +2 -0 src/app/recentlyPlayedList.cpp http://commits.kde.org/dragon/6de06f8a94618dd4dad8798f3bd580b1ab8adb53 |