Bug 153122 - konqueror crashes when closing a splitted tab
Summary: konqueror crashes when closing a splitted tab
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 4.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-29 12:43 UTC by Germain Garand
Modified: 2007-12-08 21:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Germain Garand 2007-11-29 12:43:51 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

Try:

Ctrl + shift + N (open new tab)
Ctrl + shift + T (split view top/bottom)
Ctrl + W (close current tab)

=> Crash.


#0  0xffffe410 in ?? ()
#1  0xbfffc958 in ?? ()
#2  0x00000006 in ?? ()
#3  0x00007497 in ?? ()
#4  0xb64816e5 in raise () from /lib/tls/libc.so.6
#5  0xb6483049 in abort () from /lib/tls/libc.so.6
#6  0xb6657dee in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6
#7  0xb66558f5 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.6
#8  0xb6655932 in std::terminate () from /usr/lib/libstdc++.so.6
#9  0xb6655e46 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#10 0xb7f5cb2a in KonqFrameContainerBase::activateChild (this=0x0) at konqframecontainer.h:62
#11 0xb7f5e15c in KonqFrameTabs::slotCurrentChanged (this=0x8213bf0, newPage=0x81c8048)
    at /home/germain/svn/trunk/kdebase/apps/konqueror/src/konqtabs.cpp:624
#12 0xb7f49103 in KonqViewManager::removeTab (this=0x811d8a0, currentFrame=0x8453264)
    at /home/germain/svn/trunk/kdebase/apps/konqueror/src/konqviewmanager.cpp:383
#13 0xb7f79f03 in KonqMainWindow::slotRemoveTab (this=0x811d8a0) at konqview.h:69
#14 0xb7fae609 in KonqMainWindow::qt_metacall (this=0x811b260, _c=QMetaObject::InvokeMetaMethod,
    _id=81, _a=0xbfffd300) at konqmainwindow.moc:401
#15 0xb7213968 in QMetaObject::activate (sender=0x81c9b88, from_signal_index=5, to_signal_index=6,
    argv=0xbfffd300) at kernel/qobject.cpp:3080
#16 0xb7213c2b in QMetaObject::activate (sender=0x81c9b88, m=0xb6f92d20, from_local_signal_index=1,
    to_local_signal_index=2, argv=0xbfffd300) at kernel/qobject.cpp:3162
#17 0xb69560b1 in QAction::triggered (this=0x81c9b88, _t1=false) at moc_qaction.cpp:208
#18 0xb6955882 in QAction::activate (this=0x81c9b88, event=QAction::Trigger) at kernel/qaction.cpp:1116
#19 0xb69555fd in QAction::event (this=0x81c9b88, e=0xbfffd750) at kernel/qaction.cpp:1035
#20 0xb69b53e3 in QWidgetAction::event (this=0x81c9b88, event=0xbfffd750)
    at kernel/qwidgetaction.cpp:218
#21 0xb6962315 in QApplicationPrivate::notify_helper (this=0x806c3f8, receiver=0x81c9b88, e=0xbfffd750)
    at kernel/qapplication.cpp:3558
#22 0xb696099b in QApplication::notify (this=0xbfffe6e0, receiver=0x81c9b88, e=0xbfffd750)
    at kernel/qapplication.cpp:3117
#23 0xb78278e4 in KApplication::notify (this=0xbfffe6e0, receiver=0x81c9b88, event=0xbfffd750)
    at /home/germain/git/kdelibs/kdeui/kernel/kapplication.cpp:319
#24 0xb71febd4 in QCoreApplication::notifyInternal (this=0xbfffe6e0, receiver=0x81c9b88,



==31086== Invalid read of size 4
==31086==    at 0x1B976B24: KonqFrameContainerBase::activateChild() (konqframecontainer.h:62)
==31086==    by 0x1B97815B: KonqFrameTabs::slotCurrentChanged(QWidget*) (konqtabs.cpp:624)
==31086==    by 0x1B963102: KonqViewManager::removeTab(KonqFrameBase*) (konqviewmanager.cpp:383)
==31086==    by 0x1B993F02: KonqMainWindow::slotRemoveTab() (konqview.h:69)
==31086==    by 0x1B9C8608: KonqMainWindow::qt_metacall(QMetaObject::Call, int, void**) (konqmainwindow.moc:401)
==31086==    by 0x1C7B1967: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3080)
==31086==    by 0x1C7B1C2A: QMetaObject::activate(QObject*, QMetaObject const*, int, int, void**) (qobject.cpp:3162)
==31086==    by 0x1CBAA0B0: QAction::triggered(bool) (moc_qaction.cpp:208)
==31086==    by 0x1CBA9881: QAction::activate(QAction::ActionEvent) (qaction.cpp:1116)
==31086==    by 0x1CBA95FC: QAction::event(QEvent*) (qaction.cpp:1035)
==31086==    by 0x1CC093E2: QWidgetAction::event(QEvent*) (qwidgetaction.cpp:218)
==31086==    by 0x1CBB6314: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3558)
==31086==  Address 0x1E298F9C is 20 bytes inside a block of size 52 free'd
==31086==    at 0x1B8FF646: operator delete(void*) (vg_replace_malloc.c:246)
==31086==    by 0x1B9725FA: KonqFrame::~KonqFrame() (konqframe.cpp:70)
==31086==    by 0x1B9630EC: KonqViewManager::removeTab(KonqFrameBase*) (konqviewmanager.cpp:381)
==31086==    by 0x1B993F02: KonqMainWindow::slotRemoveTab() (konqview.h:69)
==31086==    by 0x1B9C8608: KonqMainWindow::qt_metacall(QMetaObject::Call, int, void**) (konqmainwindow.moc:401)
==31086==    by 0x1C7B1967: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3080)
==31086==    by 0x1C7B1C2A: QMetaObject::activate(QObject*, QMetaObject const*, int, int, void**) (qobject.cpp:3162)
==31086==    by 0x1CBAA0B0: QAction::triggered(bool) (moc_qaction.cpp:208)
==31086==    by 0x1CBA9881: QAction::activate(QAction::ActionEvent) (qaction.cpp:1116)
==31086==    by 0x1CBA95FC: QAction::event(QEvent*) (qaction.cpp:1035)
==31086==    by 0x1CC093E2: QWidgetAction::event(QEvent*) (qwidgetaction.cpp:218)
==31086==    by 0x1CBB6314: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3558)
pure virtual method called
Comment 1 Oliver Putz 2007-12-04 01:08:21 UTC
Another crash report for this can be found at http://pastebin.ca/805039 (using kde4daily (KDESVNTRUNKr744459) with VirtualBox)
Comment 2 Germain Garand 2007-12-08 21:16:15 UTC
fixed by Eduardo Robles Elvira, r744963