Bug 237607 - Crashed when a tab is middle-clicked (closing tabs) [ListPanel::slotFocusOnMe, ListPanel::eventFilter]
Summary: Crashed when a tab is middle-clicked (closing tabs) [ListPanel::slotFocusOnMe...
Status: RESOLVED FIXED
Alias: None
Product: krusader
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Shie Erlich
URL:
Keywords:
: 238904 245077 257771 269519 271026 272004 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-14 12:38 UTC by Nikita Melnichenko
Modified: 2011-05-01 00:10 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 2.3.0 beta1
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (6.63 KB, text/plain)
2010-12-28 14:24 UTC, Gooom
Details
New crash information added by DrKonqi (5.24 KB, text/plain)
2011-02-08 15:43 UTC, eliademoga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Melnichenko 2010-05-14 12:38:01 UTC
Application: krusader (2.2.0-beta1 "DeKade")
KDE Platform Version: 4.4.3 (KDE 4.4.3) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.33.1-c2 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
Clicked a tab with middle button. Instantly crashed.

 -- Backtrace:
Application: Krusader (krusader), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f2acaaa1740 (LWP 20163))]

Thread 2 (Thread 0x7f2abaa1e910 (LWP 29271)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f2abb47d21a in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f2abb755200) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f2abb47d24f in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f2abb7632cc) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f2ac69d12a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007f2ac5d358cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2acaaa1740 (LWP 20163)):
[KCrash Handler]
#5  KrViewOperator::prepareForPassive (this=0x0) at /var/tmp/portage/kde-misc/krusader-2.2.0_beta1/work/krusader-2.2.0-beta1/krusader/Panel/krview.cpp:177
#6  0x0000000000489ea6 in ListPanel::slotFocusOnMe (this=0x2b81390) at /var/tmp/portage/kde-misc/krusader-2.2.0_beta1/work/krusader-2.2.0-beta1/krusader/Panel/listpanel.cpp:740
#7  0x000000000048a4ae in ListPanel::eventFilter (this=0x0, watched=0x26ab014, e=0x7f2ac704d100)
    at /var/tmp/portage/kde-misc/krusader-2.2.0_beta1/work/krusader-2.2.0-beta1/krusader/Panel/listpanel.cpp:479
#8  0x00007f2ac6d3b93a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2b9edf0, event=0x7fff92805ee0) at kernel/qcoreapplication.cpp:819
#9  0x00007f2ac74cc445 in QApplicationPrivate::notify_helper (this=0x25d7c20, receiver=0x2b9edf0, e=0x7fff92805ee0) at kernel/qapplication.cpp:4296
#10 0x00007f2ac74d2e50 in QApplication::notify (this=0x7fff92807b90, receiver=0x2b9edf0, e=0x7fff92805ee0) at kernel/qapplication.cpp:4183
#11 0x00007f2ac998c774 in KApplication::notify (this=0x7fff92807b90, receiver=0x2b9edf0, event=0x7fff92805ee0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#12 0x00007f2ac6d3c2f4 in QCoreApplication::notifyInternal (this=0x7fff92807b90, receiver=0x2b9edf0, event=0x7fff92805ee0) at kernel/qcoreapplication.cpp:704
#13 0x00007f2ac74d2506 in QApplicationPrivate::setFocusWidget (focus=0x2b9edf0, reason=Qt::OtherFocusReason) at kernel/qapplication.cpp:2137
#14 0x00007f2ac75150d6 in QWidget::setFocus (this=0x2b9edf0, reason=Qt::OtherFocusReason) at kernel/qwidget.cpp:6135
#15 0x00007f2ac7505c53 in QWidget::setFocus (this=0x2765080, index=2) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:420
#16 QStackedLayout::setCurrentIndex (this=0x2765080, index=2) at kernel/qstackedlayout.cpp:320
#17 0x000000000045791a in PanelManager::slotCloseTab (this=0x27533c0) at /var/tmp/portage/kde-misc/krusader-2.2.0_beta1/work/krusader-2.2.0-beta1/krusader/panelmanager.cpp:264
#18 0x000000000045893a in PanelManager::qt_metacall (this=0x27533c0, _c=QMetaObject::InvokeMetaMethod, _id=6503760, _a=0x7fff92806120)
    at /var/tmp/portage/kde-misc/krusader-2.2.0_beta1/work/krusader-2.2.0-beta1_build/krusader/panelmanager.moc:119
#19 0x00007f2ac6d4d9f0 in QMetaObject::activate (sender=0x27412d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3285
#20 0x0000000000455664 in PanelTabBar::mousePressEvent (this=0x27412d0, e=0x7fff92806d00) at /var/tmp/portage/kde-misc/krusader-2.2.0_beta1/work/krusader-2.2.0-beta1/krusader/paneltabbar.cpp:77
#21 0x00007f2ac7519f0c in QWidget::event (this=0x27412d0, event=0x7fff92806d00) at kernel/qwidget.cpp:7994
#22 0x00007f2ac78cd8e1 in QTabBar::event (this=0x27412d0, event=0x7fff92806d00) at widgets/qtabbar.cpp:1457
#23 0x00007f2ac74cc466 in QApplicationPrivate::notify_helper (this=0x25d7c20, receiver=0x27412d0, e=0x7fff92806d00) at kernel/qapplication.cpp:4300
#24 0x00007f2ac74d3bdd in QApplication::notify (this=<value optimized out>, receiver=0x27412d0, e=0x7fff92806d00) at kernel/qapplication.cpp:3865
#25 0x00007f2ac998c774 in KApplication::notify (this=0x7fff92807b90, receiver=0x27412d0, event=0x7fff92806d00)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#26 0x00007f2ac6d3c2f4 in QCoreApplication::notifyInternal (this=0x7fff92807b90, receiver=0x27412d0, event=0x7fff92806d00) at kernel/qcoreapplication.cpp:704
#27 0x00007f2ac74d1dd2 in QCoreApplication::sendEvent (receiver=0x27412d0, event=0x7fff92806d00, alienWidget=0x27412d0, nativeWidget=0x284b060, buttonDown=0x7f2ac7f1a9e8, lastMouseReceiver=..., 
    spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QApplicationPrivate::sendMouseEvent (receiver=0x27412d0, event=0x7fff92806d00, alienWidget=0x27412d0, nativeWidget=0x284b060, buttonDown=0x7f2ac7f1a9e8, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#29 0x00007f2ac75488ad in QETWidget::translateMouseEvent (this=0x284b060, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#30 0x00007f2ac7547805 in QApplication::x11ProcessEvent (this=0x7fff92807b90, event=0x7fff928074e0) at kernel/qapplication_x11.cpp:3501
#31 0x00007f2ac756d86a in x11EventSourceDispatch (s=0x25db9c0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007f2ac220e093 in g_main_dispatch (context=0x25da5f0) at gmain.c:1960
#33 IA__g_main_context_dispatch (context=0x25da5f0) at gmain.c:2513
#34 0x00007f2ac221118c in g_main_context_iterate (context=0x25da5f0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#35 0x00007f2ac221130e in IA__g_main_context_iteration (context=0x25da5f0, may_block=1) at gmain.c:2654
#36 0x00007f2ac6d61c74 in QEventDispatcherGlib::processEvents (this=0x25b13e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#37 0x00007f2ac756d486 in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f2ac6d3afb4 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f2ac6d3b2ff in QEventLoop::exec (this=0x7fff92807810, flags=...) at kernel/qeventloop.cpp:201
#40 0x00007f2ac6d3d2de in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#41 0x0000000000460d44 in main (argc=5, argv=0x7fff928095a8) at /var/tmp/portage/kde-misc/krusader-2.2.0_beta1/work/krusader-2.2.0-beta1/krusader/main.cpp:324
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Christoph Feck 2010-06-30 03:26:15 UTC
*** Bug 238904 has been marked as a duplicate of this bug. ***
Comment 2 Peter Antoniac 2010-10-22 12:28:26 UTC
I think it crashes when you shift from left to right panel and close tabs in both panels. Steps to always reproduce:
1. Ctrl+w on one side
2. Tab (to change panel side)
3. Ctrl+w on the other side

It will crash 100%.
Comment 3 Dario Andres 2010-11-24 19:38:54 UTC
*** Bug 257771 has been marked as a duplicate of this bug. ***
Comment 4 Gooom 2010-12-28 14:24:35 UTC
Created attachment 55316 [details]
New crash information added by DrKonqi

krusader (2.2.0-beta1 "DeKade") on KDE Platform 4.5.4 (KDE 4.5.4) using Qt 4.7.1

- What I was doing when the application crashed:

Crash:
A:
1. Ctrl+w on one side
2. Tab (to change panel side)
3. Ctrl+w on the other side

B:
At any arbitrary instant of closing a tab

-- Backtrace (Reduced):
#6  KrViewOperator::prepareForPassive (this=0x0) at /usr/src/debug/krusader-2.2.0-beta1/krusader/Panel/krview.cpp:177
#7  0x00000000004872be in ListPanel::slotFocusOnMe (this=0x2a13fb0) at /usr/src/debug/krusader-2.2.0-beta1/krusader/Panel/listpanel.cpp:740
#8  0x0000000000487a56 in ListPanel::eventFilter (this=0x2a13fb0, watched=<value optimized out>, e=<value optimized out>) at /usr/src/debug/krusader-2.2.0-beta1/krusader/Panel/listpanel.cpp:479
#9  0x000000326355b937 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2a34920, event=0x7fff587fb960) at kernel/qcoreapplication.cpp:847
#10 0x0000003265bb7891 in QApplicationPrivate::notify_helper (this=0x213bb40, receiver=0x2a34920, e=0x7fff587fb960) at kernel/qapplication.cpp:4441
Comment 5 eliademoga 2011-02-08 15:43:47 UTC
Created attachment 56987 [details]
New crash information added by DrKonqi

krusader (2.2.0-beta1 "DeKade") on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

1. Closed tab on left side (Ctrl+w)
2. Switched to right side (Tab)
3. Closed tab on right side (Ctrl+w)
-> Crash!! :D

-- Backtrace (Reduced):
#7  0x080ca7a1 in ListPanel::slotFocusOnMe (this=0x93548a0) at /build/buildd/krusader-2.2.0~beta1/krusader/Panel/listpanel.cpp:740
#8  0x080caf04 in ListPanel::eventFilter (this=0x93548a0, watched=0x93a1578, e=0xbfbadb30) at /build/buildd/krusader-2.2.0~beta1/krusader/Panel/listpanel.cpp:479
#9  0xb56c729a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#10 0xb59ccfb9 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#11 0xb59d30e9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
Comment 6 Marcin Gryszkalis 2011-03-27 14:29:42 UTC
*** Bug 269519 has been marked as a duplicate of this bug. ***
Comment 7 Marcin Gryszkalis 2011-03-27 14:32:02 UTC
*** Bug 245077 has been marked as a duplicate of this bug. ***
Comment 8 Jan Lepper 2011-03-29 22:13:43 UTC
Does this still happen with current git ?
Comment 9 Till Schäfer 2011-03-29 22:39:48 UTC
this bug is fixed for me in 2.3.0 beta1
Comment 10 Jan Lepper 2011-04-07 04:20:03 UTC
Does it still happen in 2.3 beta1 or current GIT ?
Comment 11 Jan Lepper 2011-04-07 05:19:56 UTC
I overlooked the previous comment.
Closing as fixed.
Comment 12 Dario Andres 2011-04-17 00:00:43 UTC
*** Bug 271026 has been marked as a duplicate of this bug. ***
Comment 13 Marcin Gryszkalis 2011-05-01 00:10:23 UTC
*** Bug 272004 has been marked as a duplicate of this bug. ***