Bug 219983

Summary: Konqueror crashed closing tab in 4.4 beta2 [KonqMainWindow::slotPartActivated, KonqViewManager::doSetActivePart, KParts::PartManager::eventFilter]
Product: [Applications] konqueror Reporter: Andrey Borzenkov <arvidjaar>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: faure, frank78ac
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrey Borzenkov 2009-12-24 19:42:19 UTC
Application: konqueror (4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2)))
KDE Platform Version: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2))
Qt Version: 4.6.0
Operating System: Linux 2.6.32.2-desktop-2mnb x86_64
Distribution: "Mandriva Linux 2010.0"

-- Information about the crash:
It is supposed to be fixed in 1028036 (bug 207173); is this commit not part of 4.4 beta2?

 -- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
The current source language is "auto; currently asm".
[KCrash Handler]
#5  KonqMainWindow::slotPartActivated (this=0xd2f410, part=0x27af9a0) at /usr/src/debug/kdebase-4.3.85/apps/konqueror/src/konqmainwindow.cpp:1976
#6  0x00007fb6bf1eb25c in KonqViewManager::doSetActivePart (this=0xd35270, part=0x27af9a0) at /usr/src/debug/kdebase-4.3.85/apps/konqueror/src/konqviewmanager.cpp:1064
#7  0x00007fb6ce6ee285 in KParts::PartManager::eventFilter (this=0xd35270, obj=<value optimized out>, ev=0x7fff0c8d7a90) at /usr/src/debug/kdelibs-4.3.85/kparts/partmanager.cpp:282
#8  0x00007fb6cd57d93b in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0xbda8b0, receiver=0x2cd1cd0, event=0x7fff0c8d7a90) at kernel/qcoreapplication.cpp:800
#9  0x00007fb6cc72d3a6 in QApplicationPrivate::notify_helper (this=0x0, receiver=0x0, e=0x124d960) at kernel/qapplication.cpp:4217
#10 0x00007fb6cc733a4d in QApplication::notify (this=0x7fff0c8d9dc0, receiver=0x2cd1cd0, e=0x7fff0c8d7a90) at kernel/qapplication.cpp:4125
#11 0x00007fb6cda9a2de in KApplication::notify (this=0x7fff0c8d9dc0, receiver=0x2cd1cd0, event=0x7fff0c8d7a90) at /usr/src/debug/kdelibs-4.3.85/kdeui/kernel/kapplication.cpp:302
#12 0x00007fb6cd57e45c in QCoreApplication::notifyInternal (this=0x7fff0c8d9dc0, receiver=0x2cd1cd0, event=0x7fff0c8d7a90) at kernel/qcoreapplication.cpp:704
#13 0x00007fb6cc732786 in QApplicationPrivate::setFocusWidget (focus=0x2cd1cd0, reason=TabFocusReason) at kernel/qapplication.cpp:2128
#14 0x00007fb6cc77db01 in QWidget::setFocus (this=0x2cd1cd0, reason=TabFocusReason) at kernel/qwidget.cpp:6113
#15 0x00007fb6cc77dd41 in QWidget::focusNextPrevChild (this=<value optimized out>, next=true) at kernel/qwidget.cpp:6257
#16 0x00007fb6cc781485 in QWidgetPrivate::hide_helper (this=0x2a43e60) at kernel/qwidget.cpp:7271
#17 0x00007fb6cc789e90 in QWidget::setVisible (this=0x2a43df0, visible=<value optimized out>) at kernel/qwidget.cpp:7431
#18 0x00007fb6cc76c4ac in hide (this=<value optimized out>) at ../../src/gui/kernel/qwidget.h:485
#19 QStackedLayout::setCurrentIndex (this=<value optimized out>) at kernel/qstackedlayout.cpp:306
#20 0x00007fb6b2ff7a00 in Sidebar::itemClicked (this=0x2a17a00, item=<value optimized out>) at /usr/src/debug/kdegraphics-4.3.85/okular/ui/sidebar.cpp:638
#21 0x00007fb6b2ff7b38 in Sidebar::setCurrentIndex (this=0x0, index=<value optimized out>) at /usr/src/debug/kdegraphics-4.3.85/okular/ui/sidebar.cpp:577
#22 0x00007fb6b2ff7cb0 in Sidebar::setItemEnabled (this=0x2a17a00, index=<value optimized out>, enabled=<value optimized out>) at /usr/src/debug/kdegraphics-4.3.85/okular/ui/sidebar.cpp:558
#23 0x00007fb6b2f8dd95 in Okular::Part::qt_metacall (this=0x27af9a0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0c8d7ed0) at /usr/src/debug/kdegraphics-4.3.85/build/okular/part.moc:232
#24 0x00007fb6cd5911b3 in QMetaObject::activate (sender=0x2a43df0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x25ee7d0) at kernel/qobject.cpp:3286
#25 0x00007fb6b2fff27f in TOC::hasTOC (this=0x0, _t1=false) at /usr/src/debug/kdegraphics-4.3.85/build/okular/toc.moc:93
#26 0x00007fb6b0f15607 in Okular::Document::closeDocument (this=0x2a41ea0) at /usr/src/debug/kdegraphics-4.3.85/okular/core/document.cpp:1831
#27 0x00007fb6b2f8294d in Okular::Part::closeUrl (this=0x27af9a0) at /usr/src/debug/kdegraphics-4.3.85/okular/part.cpp:1099
#28 0x00007fb6b2f82ec8 in Okular::Part::~Part (this=0x27af9a0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdegraphics-4.3.85/okular/part.cpp:624
#29 0x00007fb6bf1e6c7f in KonqView::~KonqView (this=0x299c2c0, __in_chrg=<value optimized out>) at /usr/src/debug/kdebase-4.3.85/apps/konqueror/src/konqview.cpp:131
#30 0x00007fb6bf1eb967 in KonqViewManager::removeTab (this=0xd35270, currentFrame=0x1f8ff28, emitAboutToRemoveSignal=<value optimized out>)
    at /usr/src/debug/kdebase-4.3.85/apps/konqueror/src/konqviewmanager.cpp:411
#31 0x00007fb6bf23644e in KonqMainWindow::slotRemoveTab (this=0xd2f410) at /usr/src/debug/kdebase-4.3.85/apps/konqueror/src/konqmainwindow.cpp:2519
#32 0x00007fb6bf23bc6d in KonqMainWindow::qt_metacall (this=0xd2f410, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0c8d8680)
    at /usr/src/debug/kdebase-4.3.85/build/apps/konqueror/src/konqmainwindow.moc:419
#33 0x00007fb6cd5911b3 in QMetaObject::activate (sender=0x119d670, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x25ee7d0) at kernel/qobject.cpp:3286
#34 0x00007fb6ccdbfca2 in QAbstractButton::clicked (this=0x0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#35 0x00007fb6ccadd68b in QAbstractButtonPrivate::emitClicked (this=0x119e810) at widgets/qabstractbutton.cpp:546
#36 0x00007fb6ccade54b in QAbstractButtonPrivate::click (this=0x119e810) at widgets/qabstractbutton.cpp:539
#37 0x00007fb6ccade7b5 in QAbstractButton::mouseReleaseEvent (this=0x119d670, e=0x7fff0c8d8f60) at widgets/qabstractbutton.cpp:1118
#38 0x00007fb6ccba9b2a in QToolButton::mouseReleaseEvent (this=0x0, e=0x0) at widgets/qtoolbutton.cpp:721
#39 0x00007fb6cc782b19 in QWidget::event (this=0x119d670, event=0x7fff0c8d8f60) at kernel/qwidget.cpp:7974
#40 0x00007fb6cc72d42c in QApplicationPrivate::notify_helper (this=0xbda8b0, receiver=0x119d670, e=0x7fff0c8d8f60) at kernel/qapplication.cpp:4242
#41 0x00007fb6cc7342b1 in QApplication::notify (this=0x7fff0c8d9dc0, receiver=0x119d670, e=0x7fff0c8d8f60) at kernel/qapplication.cpp:3822
#42 0x00007fb6cda9a2de in KApplication::notify (this=0x7fff0c8d9dc0, receiver=0x119d670, event=0x7fff0c8d8f60) at /usr/src/debug/kdelibs-4.3.85/kdeui/kernel/kapplication.cpp:302
#43 0x00007fb6cd57e45c in QCoreApplication::notifyInternal (this=0x7fff0c8d9dc0, receiver=0x119d670, event=0x7fff0c8d8f60) at kernel/qcoreapplication.cpp:704
#44 0x00007fb6cc733426 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#45 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2956
#46 0x00007fb6cc7b1605 in QETWidget::translateMouseEvent (this=0xd2f410, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#47 0x00007fb6cc7b031a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff0c8d9880) at kernel/qapplication_x11.cpp:3501
#48 0x00007fb6cc7daaa2 in x11EventSourceDispatch (s=0xbde5a0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#49 0x00007fb6c87cd65e in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#50 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#51 0x00007fb6c87d1028 in g_main_context_iterate (context=0xbdd190, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#52 0x00007fb6c87d1150 in IA__g_main_context_iteration (context=0xbdd190, may_block=1) at gmain.c:2654
#53 0x00007fb6cd5a7a13 in QEventDispatcherGlib::processEvents (this=0xb4ce20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#54 0x00007fb6cc7da68e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#55 0x00007fb6cd57cd82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#56 0x00007fb6cd57d15c in QEventLoop::exec (this=0x7fff0c8d9bb0, flags=) at kernel/qeventloop.cpp:201
#57 0x00007fb6cd580e9b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#58 0x00007fb6bf262dcb in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-4.3.85/apps/konqueror/src/konqmain.cpp:257
#59 0x0000000000406a79 in launch (argc=2, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=<value optimized out>, envs=<value optimized out>, reset_env=false, 
    tty=0x0, avoid_loops=false, startup_id_str=0xba7ac4 "cooker;1261677984;439799;2643_TIME910091") at /usr/src/debug/kdelibs-4.3.85/kinit/kinit.cpp:705
#60 0x00000000004071e8 in handle_launcher_request (sock=8, who=<value optimized out>) at /usr/src/debug/kdelibs-4.3.85/kinit/kinit.cpp:1197
#61 0x0000000000407ea1 in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.3.85/kinit/kinit.cpp:1390
#62 0x00000000004086d0 in main (argc=2, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/kdelibs-4.3.85/kinit/kinit.cpp:1825

Possible duplicates by query: bug 219950, bug 217490, bug 215863, bug 214380, bug 214183.

Reported using DrKonqi
Comment 1 Frank Reininghaus 2009-12-27 23:48:05 UTC
Thanks for the bug report!

(In reply to comment #0)
> It is supposed to be fixed in 1028036 (bug 207173); is this commit not part of
> 4.4 beta2?

That bug (which is indeed fixed) was about a crash when closing a tab with a KHTML part, but it seems that you had an Okular part in the closed tab - that's a different bug which is not fixed yet.

*** This bug has been marked as a duplicate of bug 213876 ***