Bug 274483 - Crashed after right click -> open
Summary: Crashed after right click -> open
Status: RESOLVED FIXED
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jan Lepper
URL:
Keywords:
: 279338 304810 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-29 23:49 UTC by kdereporter
Modified: 2012-10-17 11:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.4.0-beta2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kdereporter 2011-05-29 23:49:13 UTC
Application: krusader (2.0.0 "Mars Pathfinder")
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic i686
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:

i clickt with the right key from the mouse on a video (wmv) and selected "open". then it crashed.

-- Backtrace:
Application: Krusader (krusader), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77f8710 (LWP 2363))]

Thread 2 (Thread 0x82506b70 (LWP 2365)):
#0  0x01417e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x0196848b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x01a3e965 in QTimerInfoList::updateCurrentTime (this=0x9f456ac) at kernel/qeventdispatcher_unix.cpp:339
#4  0x01a3e9aa in QTimerInfoList::timerWait (this=0x9f456ac, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x01a3ca38 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x825060bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x01a3cac5 in timerSourcePrepare (source=0x0, timeout=0x141bff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0656faca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x0656fee9 in ?? () from /lib/libglib-2.0.so.0
#9  0x065704b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x01a3c82f in QEventDispatcherGlib::processEvents (this=0x9f4c780, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x01a0ca99 in QEventLoop::processEvents (this=0x82506290, flags=) at kernel/qeventloop.cpp:149
#12 0x01a0cf1a in QEventLoop::exec (this=0x82506290, flags=...) at kernel/qeventloop.cpp:201
#13 0x01909c5e in QThread::exec (this=0x9f1f1e8) at thread/qthread.cpp:490
#14 0x019eb9ab in QInotifyFileSystemWatcherEngine::run (this=0x9f1f1e8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x0190cf39 in QThreadPrivate::start (arg=0x9f1f1e8) at thread/qthread_unix.cpp:266
#16 0x00e0596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0x08b40a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb77f8710 (LWP 2363)):
[KCrash Handler]
#7  0x081919ba in KrPopupMenu::performAction (this=0xbfd6684c, id=0) at /build/buildd/krusader-2.0.0/krusader/Panel/krpopupmenu.cpp:254
#8  0x08192019 in KrPopupMenu::run (pos=..., panel=0x9be4d80) at /build/buildd/krusader-2.0.0/krusader/Panel/krpopupmenu.cpp:44
#9  0x08177b7f in ListPanel::popRightClickMenu (this=0x9be4d80, loc=...) at /build/buildd/krusader-2.0.0/krusader/Panel/listpanel.cpp:856
#10 0x08181035 in ListPanel::qt_metacall (this=0x9be4d80, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfd66b78) at /build/buildd/krusader-2.0.0/obj-i486-linux-gnu/krusader/Panel/listpanel.moc:150
#11 0x01a13d4a in QMetaObject::metacall (object=0x9be4d80, cl=66743808, idx=33, argv=0xbfd66b78) at kernel/qmetaobject.cpp:237
#12 0x01a26ab5 in QMetaObject::activate (sender=0x9bb5a78, m=0x82b83e4, local_signal_index=4, argv=0xbfd66b78) at kernel/qobject.cpp:3280
#13 0x081b19a5 in KrViewOperator::contextMenu (this=0x9bb5a78, _t1=...) at /build/buildd/krusader-2.0.0/obj-i486-linux-gnu/krusader/Panel/moc_krview.cpp:157
#14 0x081b10d1 in KrMouseHandler::mousePressEvent (this=0x9bf8eb0, e=0xbfd676a0) at /build/buildd/krusader-2.0.0/krusader/Panel/krmousehandler.cpp:126
#15 0x081ac8e1 in KrInterDetailedView::mousePressEvent (this=0x9bf2b50, ev=0xbfd676a0) at /build/buildd/krusader-2.0.0/krusader/Panel/krinterdetailedview.cpp:378
#16 0x0369260c in QWidget::event (this=0x9bf2b50, event=0xbfd676a0) at kernel/qwidget.cpp:8183
#17 0x03ab21a3 in QFrame::event (this=0x9bf2b50, e=0xbfd676a0) at widgets/qframe.cpp:557
#18 0x03b4efd2 in QAbstractScrollArea::viewportEvent (this=0x3fa6e00, e=0x9fc3c40) at widgets/qabstractscrollarea.cpp:1043
#19 0x03c0aab7 in QAbstractItemView::viewportEvent (this=0x9bf2b50, event=0xbfd676a0) at itemviews/qabstractitemview.cpp:1619
#20 0x03c4d3a3 in QTreeView::viewportEvent (this=0x9bf2b50, event=0xbfd676a0) at itemviews/qtreeview.cpp:1256
#21 0x081aefcb in KrInterDetailedView::viewportEvent (this=0x9bf2b50, event=0xbfd676a0) at /build/buildd/krusader-2.0.0/krusader/Panel/krinterdetailedview.cpp:666
#22 0x03b51a15 in QAbstractScrollAreaPrivate::viewportEvent (this=0x9a90248, o=0x9bf3228, e=0xbfd676a0) at widgets/qabstractscrollarea_p.h:100
#23 QAbstractScrollAreaFilter::eventFilter (this=0x9a90248, o=0x9bf3228, e=0xbfd676a0) at widgets/qabstractscrollarea_p.h:116
#24 0x01a0d74a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x98f2050, receiver=0x9bf3228, event=0xbfd676a0) at kernel/qcoreapplication.cpp:847
#25 0x03634709 in QApplicationPrivate::notify_helper (this=0x98f2050, receiver=0x9bf3228, e=0xbfd676a0) at kernel/qapplication.cpp:4392
#26 0x0363b117 in QApplication::notify (this=0xbfd68168, receiver=0x9bf3228, e=0xbfd676a0) at kernel/qapplication.cpp:3959
#27 0x003ae63a in KApplication::notify (this=0xbfd68168, receiver=0x9bf3228, event=0xbfd676a0) at ../../kdeui/kernel/kapplication.cpp:310
#28 0x01a0dfeb in QCoreApplication::notifyInternal (this=0xbfd68168, receiver=0x9bf3228, event=0xbfd676a0) at kernel/qcoreapplication.cpp:732
#29 0x036397c2 in QCoreApplication::sendEvent (receiver=0x9bf3228, event=0xbfd676a0, alienWidget=0x9bf3228, nativeWidget=0x99df7f0, buttonDown=0x3fca3c0, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QApplicationPrivate::sendMouseEvent (receiver=0x9bf3228, event=0xbfd676a0, alienWidget=0x9bf3228, nativeWidget=0x99df7f0, buttonDown=0x3fca3c0, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3058
#31 0x036c8288 in QETWidget::translateMouseEvent (this=0x99df7f0, event=0xbfd67bbc) at kernel/qapplication_x11.cpp:4403
#32 0x036c7719 in QApplication::x11ProcessEvent (this=0xbfd68168, event=0xbfd67bbc) at kernel/qapplication_x11.cpp:3414
#33 0x036f670a in x11EventSourceDispatch (s=0x98f52a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#34 0x0656c5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0x065702d8 in ?? () from /lib/libglib-2.0.so.0
#36 0x065704b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#37 0x01a3c7f5 in QEventDispatcherGlib::processEvents (this=0x98d4430, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#38 0x036f5f85 in QGuiEventDispatcherGlib::processEvents (this=0x98d4430, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x01a0ca99 in QEventLoop::processEvents (this=0xbfd67eb4, flags=) at kernel/qeventloop.cpp:149
#40 0x01a0cf1a in QEventLoop::exec (this=0xbfd67eb4, flags=...) at kernel/qeventloop.cpp:201
#41 0x01a114cf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#42 0x03633557 in QApplication::exec () at kernel/qapplication.cpp:3672
#43 0x08093fa5 in main (argc=5, argv=0xbfd68774) at /build/buildd/krusader-2.0.0/krusader/main.cpp:268

Reported using DrKonqi
Comment 1 Jan Lepper 2011-06-11 15:50:25 UTC
can you you reproduce this on 2.3 beta1 or git ?
Comment 2 Jan Lepper 2011-06-11 15:52:00 UTC
can you you reproduce this on 2.3 beta1 or git ?
Comment 3 Jan Lepper 2011-12-19 11:20:10 UTC
No reply, considering as fixd.
Comment 4 Jan Lepper 2012-08-19 15:34:27 UTC
Git commit 1e6fd32718731b1760c8d6ebe98f942d4924d163 by Jan Lepper.
Committed on 19/08/2012 at 17:34.
Pushed by janlepper into branch 'master'.

FIXED: [ 274483 ] crash when selecting items from popup-menu
Don't hold permanent pointers to KrViewItems in KrPopupMenu, as they might be deleted while the menu is displayed.

M  +1    -0    ChangeLog
M  +28   -33   krusader/Panel/krpopupmenu.cpp
M  +1    -2    krusader/Panel/krpopupmenu.h

http://commits.kde.org/krusader/1e6fd32718731b1760c8d6ebe98f942d4924d163
Comment 5 Jan Lepper 2012-08-19 15:36:26 UTC
*** Bug 279338 has been marked as a duplicate of this bug. ***
Comment 6 Jan Lepper 2012-08-19 15:44:20 UTC
*** Bug 304810 has been marked as a duplicate of this bug. ***