Bug 220682

Summary: konqueror crash while trying to close tabs
Product: [Applications] konqueror Reporter: Ritesh Raj Sarraf <kde-bugs>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, faure, frank78ac, rasasi78
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ritesh Raj Sarraf 2009-12-30 14:00:46 UTC
Application that crashed: konqueror
Version of the application: 4.3.4 (KDE 4.3.4)
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-trunk-686 i686
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
Opened konqueror, which tried to restore my last session of many tabs. Too many, so I decided to close some. While I was closing tabs, Konq crashed

 -- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  KonqMainWindow::slotPartActivated (this=0x8b299c8, part=0x9109730) at ../../../../apps/konqueror/src/konqmainwindow.cpp:1975
#7  0xb41562c1 in KonqViewManager::emitActivePartChanged (this=0x8b2b640) at ../../../../apps/konqueror/src/konqviewmanager.cpp:1064
#8  0xb41563f3 in KonqViewManager::doSetActivePart (this=0x8b2b640, part=0x9109730) at ../../../../apps/konqueror/src/konqviewmanager.cpp:1035
#9  0xb72e6c5b in KParts::PartManager::eventFilter (this=0x8b2b640, obj=0xc1a0cc0, ev=0xbff85788) at ../../kparts/partmanager.cpp:282
#10 0xb768b4dc in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x892bb30, receiver=0xc1a0cc0, event=0xbff85788) at kernel/qcoreapplication.cpp:707
#11 0xb632ba13 in QApplicationPrivate::notify_helper (this=0x892bb30, receiver=0xc1a0cc0, e=0xbff85788) at kernel/qapplication.cpp:4040
#12 0xb6333cc2 in QApplication::notify (this=0xbff8666c, receiver=0xc1a0cc0, e=0xbff85788) at kernel/qapplication.cpp:4030
#13 0xb6d7562d in KApplication::notify (this=0xbff8666c, receiver=0xc1a0cc0, event=0xbff85788) at ../../kdeui/kernel/kapplication.cpp:302
#14 0xb768c1eb in QCoreApplication::notifyInternal (this=0xbff8666c, receiver=0xc1a0cc0, event=0xbff85788) at kernel/qcoreapplication.cpp:610
#15 0xb76a3e0e in QCoreApplication::sendEvent(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#16 0xb6332486 in QApplicationPrivate::setFocusWidget (focus=0xc1a0cc0, reason=Qt::OtherFocusReason) at kernel/qapplication.cpp:2097
#17 0xb637b5de in QWidget::setFocus (this=0xc1a0cc0, reason=Qt::OtherFocusReason) at kernel/qwidget.cpp:5752
#18 0xb209b39e in QWidget::setFocus (this=0xad31658, newFocusNode=0xc19f5d8) at /usr/include/qt4/QtGui/qwidget.h:408
#19 DOM::DocumentImpl::setFocusNode (this=0xad31658, newFocusNode=0xc19f5d8) at ../../khtml/xml/dom_docimpl.cpp:2506
#20 0xb202ed10 in KHTMLPart::checkCompleted (this=0x9109730) at ../../khtml/khtml_part.cpp:2362
#21 0xb202f259 in KHTMLPart::slotFinishedParsing (this=0x9109730) at ../../khtml/khtml_part.cpp:2228
#22 0xb2050c78 in KHTMLPart::closeUrl (this=0x9109730) at ../../khtml/khtml_part.cpp:947
#23 0xb205120c in ~KHTMLPart (this=0x9109730, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../khtml/khtml_part.cpp:599
#24 0xb4150fea in ~KonqView (this=0x90f5178, __in_chrg=<value optimized out>) at ../../../../apps/konqueror/src/konqview.cpp:132
#25 0xb4156b0d in KonqViewManager::removeTab (this=0x8b2b640, currentFrame=0x90fe134, emitAboutToRemoveSignal=true) at ../../../../apps/konqueror/src/konqviewmanager.cpp:404
#26 0xb41a028f in KonqMainWindow::slotRemoveTab (this=0x8b299c8) at ../../../../apps/konqueror/src/konqmainwindow.cpp:2531
#27 0xb41b2518 in KonqMainWindow::qt_metacall (this=0x8b299c8, _c=QMetaObject::InvokeMetaMethod, _id=80, _a=0xd7aef28) at ./konqmainwindow.moc:415
#28 0xb769ab0b in QMetaCallEvent::placeMetaCall (this=0xd7aef38, object=0x8b299c8) at kernel/qobject.cpp:477
#29 0xb769c5e0 in QObject::event (this=0x8b299c8, e=0xd7aef38) at kernel/qobject.cpp:1110
#30 0xb6381300 in QWidget::event (this=0x8b299c8, event=0xd7aef38) at kernel/qwidget.cpp:7951
#31 0xb67448f7 in QMainWindow::event (this=0x8b299c8, event=0xd7aef38) at widgets/qmainwindow.cpp:1399
#32 0xb6e57bd7 in KMainWindow::event (this=0x8b299c8, ev=0xd7aef38) at ../../kdeui/widgets/kmainwindow.cpp:1101
#33 0xb6e9c81c in KXmlGuiWindow::event (this=0x8b299c8, ev=0xd7aef38) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#34 0xb41b395d in KonqMainWindow::event (this=0x8b299c8, e=0xd7aef38) at ../../../../apps/konqueror/src/konqmainwindow.cpp:5668
#35 0xb632ba94 in QApplicationPrivate::notify_helper (this=0x892bb30, receiver=0x8b299c8, e=0xd7aef38) at kernel/qapplication.cpp:4065
#36 0xb6333cc2 in QApplication::notify (this=0xbff8666c, receiver=0x8b299c8, e=0xd7aef38) at kernel/qapplication.cpp:4030
#37 0xb6d7562d in KApplication::notify (this=0xbff8666c, receiver=0x8b299c8, event=0xd7aef38) at ../../kdeui/kernel/kapplication.cpp:302
#38 0xb768c1eb in QCoreApplication::notifyInternal (this=0xbff8666c, receiver=0x8b299c8, event=0xd7aef38) at kernel/qcoreapplication.cpp:610
#39 0xb768ce2e in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x88b2800) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x88b2800) at kernel/qcoreapplication.cpp:1247
#41 0xb76baefa in QEventDispatcherUNIX::processEvents (this=0x88b4220, flags=...) at kernel/qeventdispatcher_unix.cpp:884
#42 0xb63cc496 in QEventDispatcherX11::processEvents (this=0x88b4220, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#43 0xb768a83a in QEventLoop::processEvents (this=0xbff86550, flags=...) at kernel/qeventloop.cpp:149
#44 0xb768ac82 in QEventLoop::exec (this=0xbff86550, flags=...) at kernel/qeventloop.cpp:201
#45 0xb768d0d9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#46 0xb632b917 in QApplication::exec () at kernel/qapplication.cpp:3525
#47 0xb41e4639 in kdemain (argc=3, argv=0x88e6638) at ../../../../apps/konqueror/src/konqmain.cpp:257
#48 0x0804e291 in launch (argc=3, _name=0x88f2e14 "konqueror", args=0x88f2e5f "", cwd=0x0, envc=0, envs=0x88f2e64 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x805105f "0")
    at ../../kinit/kinit.cpp:677
#49 0x0804ea15 in handle_launcher_request (sock=7, who=<value optimized out>) at ../../kinit/kinit.cpp:1169
#50 0x0804ee5b in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1362
#51 0x0804f689 in main (argc=2, argv=0xbff870b4, envp=0xbff870c0) at ../../kinit/kinit.cpp:1793

This bug may be a duplicate of or related to bug 219950

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-31 15:19:51 UTC
This looks like bug 213876 (or bug 207173, but that should be fixed already. )
Regards
Comment 2 Raúl 2010-03-23 12:01:10 UTC
Hello:

It would be interesting to recheck this and confirm fixed for 4.4.2 (or current svn) as David states in https://bugs.kde.org/show_bug.cgi?id=213876#c12
Comment 3 David Faure 2010-03-23 12:41:56 UTC
Yep, from the look of this bt, I'd say it was fixed by the fix for 213876 as well (even though no okular is involved here; but the focus change during destruction is now ignored by konqueror).