Bug 215863

Summary: Konqueror crashed closing window with Okular embedded
Product: [Applications] konqueror Reporter: andrew brewster <ab.kde>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: frank78ac, volodya
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description andrew brewster 2009-11-23 19:12:13 UTC
Application that crashed: konqueror
Version of the application: 4.3.2 (KDE 4.3.2)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.5-desktop-1mnb i686
Distribution: "Mandriva Linux 2010.0"

What I was doing when the application crashed:
Researching Amazon mp3 player for Linux, found Mandriva 2010 development doc with wishlist, opened pdf in Okular embedded in new tab.  Closed window with pdf, Konqueror crashed.

 -- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
[KCrash Handler]
#6  KonqMainWindow::slotPartActivated (this=0x89fa248, part=0x9e8f878) at /usr/src/debug/kdebase-4.3.2/apps/konqueror/src/konqmainwindow.cpp:1975
#7  0xb77380a1 in KonqViewManager::emitActivePartChanged (this=0x8a75d48) at /usr/src/debug/kdebase-4.3.2/apps/konqueror/src/konqviewmanager.cpp:1060
#8  0xb77381c5 in KonqViewManager::doSetActivePart (this=0x8a75d48, part=0x9e8f878) at /usr/src/debug/kdebase-4.3.2/apps/konqueror/src/konqviewmanager.cpp:1031
#9  0xb753ad14 in KParts::PartManager::eventFilter (this=0x8a75d48, obj=0xaf9f2a0, ev=0xbfb8d25c) at /usr/src/debug/kdelibs-4.3.2/kparts/partmanager.cpp:282
#10 0xb68ddeab in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x897ddb0, receiver=0xb7b0838, event=0xbfb8d25c) at kernel/qcoreapplication.cpp:707
#11 0xb5f0560a in QApplicationPrivate::notify_helper (this=0x897ddb0, receiver=0xb7b0838, e=0xbfb8d25c) at kernel/qapplication.cpp:4040
#12 0xb5f0d01e in QApplication::notify (this=0xbfb8e65c, receiver=0xb7b0838, e=0xbfb8d25c) at kernel/qapplication.cpp:4030
#13 0xb6e8aa21 in KApplication::notify (this=0xbfb8e65c, receiver=0xb7b0838, event=0xbfb8d25c) at /usr/src/debug/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#14 0xb68dec0e in QCoreApplication::notifyInternal (this=0xbfb8e65c, receiver=0xb7b0838, event=0xbfb8d25c) at kernel/qcoreapplication.cpp:610
#15 0xb5f103c2 in QApplicationPrivate::setFocusWidget (focus=0xb7b0838, reason=Qt::TabFocusReason) at ../../src/corelib/kernel/qcoreapplication.h:213
#16 0xb5f56749 in QWidget::setFocus (this=0xb7b0838, reason=Qt::TabFocusReason) at kernel/qwidget.cpp:5752
#17 0xb5f569f6 in QWidget::focusNextPrevChild (this=0x89fa248, next=<value optimized out>) at kernel/qwidget.cpp:5896
#18 0xb5f56986 in QWidget::focusNextPrevChild (this=0x8d256f8, next=false) at kernel/qwidget.cpp:5888
#19 0xb5f56986 in QWidget::focusNextPrevChild (this=0x8b74250, next=false) at kernel/qwidget.cpp:5888
#20 0xb5f56986 in QWidget::focusNextPrevChild (this=0xb0cb6b0, next=false) at kernel/qwidget.cpp:5888
#21 0xb5f56986 in QWidget::focusNextPrevChild (this=0xaf9f2a0, next=false) at kernel/qwidget.cpp:5888
#22 0xb5f56986 in QWidget::focusNextPrevChild (this=0xb780068, next=false) at kernel/qwidget.cpp:5888
#23 0xb5f56986 in QWidget::focusNextPrevChild (this=0xb08ef90, next=false) at kernel/qwidget.cpp:5888
#24 0xb5f56986 in QWidget::focusNextPrevChild (this=0xa5a4740, next=false) at kernel/qwidget.cpp:5888
#25 0xb5f56986 in QWidget::focusNextPrevChild (this=0xb8448e8, next=false) at kernel/qwidget.cpp:5888
#26 0xb5f5b02a in QWidgetPrivate::hide_helper (this=0xb3363b0) at kernel/qwidget.cpp:6860
#27 0xb5f63970 in QWidget::setVisible (this=0xb8448e8, visible=false) at kernel/qwidget.cpp:7017
#28 0xb5f44361 in QStackedLayout::setCurrentIndex (this=0xaf9b048, index=1) at ../../src/gui/kernel/qwidget.h:477
#29 0xb5f4444f in QStackedLayout::setCurrentWidget (this=0xaf9b048, widget=0xaf9af80) at kernel/qstackedlayout.cpp:367
#30 0xb6388e8e in QStackedWidget::setCurrentWidget (this=0xa5a4740, widget=0xaf9af80) at widgets/qstackedwidget.cpp:248
#31 0xaec0c60e in Sidebar::itemClicked (this=0xaf9f2a0, item=0xb488140) at /usr/src/debug/kdegraphics-4.3.2/okular/ui/sidebar.cpp:576
#32 0xaec0c766 in Sidebar::setCurrentIndex (this=0xaf9f2a0, index=1) at /usr/src/debug/kdegraphics-4.3.2/okular/ui/sidebar.cpp:515
#33 0xaec0c91a in Sidebar::setItemEnabled (this=0xaf9f2a0, index=0, enabled=false) at /usr/src/debug/kdegraphics-4.3.2/okular/ui/sidebar.cpp:496
#34 0xaeb8302f in Part::enableTOC (this=0x9e8f878, enable=<value optimized out>) at /usr/src/debug/kdegraphics-4.3.2/okular/part.cpp:1282
#35 0xaeb9696b in Part::qt_metacall (this=0x9e8f878, _c=QMetaObject::InvokeMetaMethod, _id=50, _a=0xbfb8d888) at /usr/src/debug/kdegraphics-4.3.2/build/okular/part.moc:226
#36 0xb68f5144 in QMetaObject::activate (sender=0xb8448e8, from_signal_index=27, to_signal_index=27, argv=0xbfb8d888) at kernel/qobject.cpp:3112
#37 0xb68f5e65 in QMetaObject::activate (sender=0xb8448e8, m=0xaec3f988, local_signal_index=0, argv=0xbfb8d888) at kernel/qobject.cpp:3186
#38 0xaec1470d in TOC::hasTOC (this=0xb8448e8, _t1=false) at /usr/src/debug/kdegraphics-4.3.2/build/okular/toc.moc:84
#39 0xaeab02f4 in Okular::Document::closeDocument (this=0xb844960) at /usr/src/debug/kdegraphics-4.3.2/okular/core/document.cpp:1822
#40 0xaeb89740 in Part::closeUrl (this=0x9e8f878) at /usr/src/debug/kdegraphics-4.3.2/okular/part.cpp:1096
#41 0xaeb89cd0 in ~Part (this=0x9e8f878) at /usr/src/debug/kdegraphics-4.3.2/okular/part.cpp:621
#42 0xb7732b6f in ~KonqView (this=0xb6b6558) at /usr/src/debug/kdebase-4.3.2/apps/konqueror/src/konqview.cpp:132
#43 0xb77388e6 in KonqViewManager::removeTab (this=0x8a75d48, currentFrame=0xb0cb6c4, emitAboutToRemoveSignal=true) at /usr/src/debug/kdebase-4.3.2/apps/konqueror/src/konqviewmanager.cpp:400
#44 0xb7784979 in KonqMainWindow::slotRemoveTab (this=0x89fa248) at /usr/src/debug/kdebase-4.3.2/apps/konqueror/src/konqmainwindow.cpp:2531
#45 0xb77975fd in KonqMainWindow::qt_metacall (this=0x89fa248, _c=QMetaObject::InvokeMetaMethod, _id=80, _a=0xa2927d8) at /usr/src/debug/kdebase-4.3.2/build/apps/konqueror/src/konqmainwindow.moc:415
#46 0xb68ed92a in QMetaCallEvent::placeMetaCall (this=0xb74b288, object=0x89fa248) at kernel/qobject.cpp:477
#47 0xb68ef076 in QObject::event (this=0x89fa248, e=0xb74b288) at kernel/qobject.cpp:1110
#48 0xb5f5bf90 in QWidget::event (this=0x89fa248, event=0xb74b288) at kernel/qwidget.cpp:7951
#49 0xb6336b84 in QMainWindow::event (this=0x89fa248, event=0xb74b288) at widgets/qmainwindow.cpp:1399
#50 0xb6f76734 in KMainWindow::event (this=0x89fa248, ev=0xb74b288) at /usr/src/debug/kdelibs-4.3.2/kdeui/widgets/kmainwindow.cpp:1094
#51 0xb6fbe292 in KXmlGuiWindow::event (this=0x89fa248, ev=0xb74b288) at /usr/src/debug/kdelibs-4.3.2/kdeui/xmlgui/kxmlguiwindow.cpp:131
#52 0xb7798ad3 in KonqMainWindow::event (this=0x89fa248, e=0xb74b288) at /usr/src/debug/kdebase-4.3.2/apps/konqueror/src/konqmainwindow.cpp:5668
#53 0xb5f0568c in QApplicationPrivate::notify_helper (this=0x897ddb0, receiver=0x89fa248, e=0xb74b288) at kernel/qapplication.cpp:4065
#54 0xb5f0d01e in QApplication::notify (this=0xbfb8e65c, receiver=0x89fa248, e=0xb74b288) at kernel/qapplication.cpp:4030
#55 0xb6e8aa21 in KApplication::notify (this=0xbfb8e65c, receiver=0x89fa248, event=0xb74b288) at /usr/src/debug/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#56 0xb68dec0e in QCoreApplication::notifyInternal (this=0xbfb8e65c, receiver=0x89fa248, event=0xb74b288) at kernel/qcoreapplication.cpp:610
#57 0xb68df8bc in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8965428) at ../../src/corelib/kernel/qcoreapplication.h:213
#58 0xb68dfa7c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#59 0xb690adbd in postEventSourceDispatch (s=0x8980b38) at ../../src/corelib/kernel/qcoreapplication.h:218
#60 0xb58d3b92 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#61 0xb58d7468 in ?? () from /usr/lib/libglib-2.0.so.0
#62 0xb58d758e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#63 0xb690a8f1 in QEventDispatcherGlib::processEvents (this=0x897dd90, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:406
#64 0xb5fa74ba in QGuiEventDispatcherGlib::processEvents (this=0x897dd90, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#65 0xb68dd26d in QEventLoop::processEvents (this=0xbfb8e524, flags=) at kernel/qeventloop.cpp:149
#66 0xb68dd6b9 in QEventLoop::exec (this=0xbfb8e524, flags={i = 0}) at kernel/qeventloop.cpp:201
#67 0xb68dfb50 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#68 0xb5f05504 in QApplication::exec () at kernel/qapplication.cpp:3525
#69 0xb77ca163 in kdemain (argc=3, argv=0xbfb8e9f4) at /usr/src/debug/kdebase-4.3.2/apps/konqueror/src/konqmain.cpp:257
#70 0x0804856b in main (argc=3, argv=0xbfb8e9f4) at /usr/src/debug/kdebase-4.3.2/build/apps/konqueror/src/konqueror_dummy.cpp:3

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

Reported using DrKonqi
Comment 1 andrew brewster 2009-11-23 19:50:03 UTC
Similar to https://bugs.kde.org/show_bug.cgi?id=215833 I closed one tab of 4-5 with Ctrl+W. Reopened Konqueror, recovering the session and I closed the same window from the button on the tab and that worked without crashing Konqueror
Comment 2 Frank Reininghaus 2009-11-24 11:27:51 UTC
Thanks for the bug report! This crash has been reported already.

*** This bug has been marked as a duplicate of bug 213876 ***
Comment 3 Ruchir Brahmbhatt 2010-01-01 11:38:35 UTC
*** Bug 220856 has been marked as a duplicate of this bug. ***