Bug 228223 - Konqueror crash when duplicating tab
Summary: Konqueror crash when duplicating tab
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-23 18:43 UTC by Antonio Rojas
Modified: 2010-10-14 00:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2010-02-23 18:43:26 UTC
Application: konqueror (4.4.00 (KDE 4.4.0))
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-ARCH i686
Distribution (Platform): Archlinux Packages

-- Information about the crash:
Konqueror crashes after selecting "duplicate tab" from Window menu

The crash can be reproduced every time.

 -- Backtrace:
Application: Konqueror (kdeinit4), signal: Aborted
[Current thread is 1 (Thread 0xb546a700 (LWP 12167))]

Thread 4 (Thread 0xafc80b70 (LWP 12168)):
#0  0xb784d424 in __kernel_vsyscall ()
#1  0xb6bdce55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4238047 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0xb4238091 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb6bd88ac in start_thread () from /lib/libpthread.so.0
#5  0xb600b01e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb1112b70 (LWP 12170)):
#0  0xb784d424 in __kernel_vsyscall ()
#1  0xb6bdd182 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6c4c13f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb6c40edb in ?? () from /usr/lib/libQtCore.so.4
#4  0xb6c4b27e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb6bd88ac in start_thread () from /lib/libpthread.so.0
#6  0xb600b01e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaeef9b70 (LWP 12180)):
#0  0xb784d424 in __kernel_vsyscall ()
#1  0xb6bdd182 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6c4c13f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb6c40edb in ?? () from /usr/lib/libQtCore.so.4
#4  0xb6c4b27e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb6bd88ac in start_thread () from /lib/libpthread.so.0
#6  0xb600b01e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb546a700 (LWP 12167)):
[KCrash Handler]
#6  0xb784d424 in __kernel_vsyscall ()
#7  0xb5f67571 in raise () from /lib/libc.so.6
#8  0xb5f68d72 in abort () from /lib/libc.so.6
#9  0xb5fa2d95 in __libc_message () from /lib/libc.so.6
#10 0xb5fa8c31 in malloc_printerr () from /lib/libc.so.6
#11 0xb5faa488 in _int_free () from /lib/libc.so.6
#12 0xb5fad53d in free () from /lib/libc.so.6
#13 0xb6c45a2d in qFree(void*) () from /usr/lib/libQtCore.so.4
#14 0xb6c4e8ba in QByteArray::resize(int) () from /usr/lib/libQtCore.so.4
#15 0xb6cd30d8 in QFile::flush() () from /usr/lib/libQtCore.so.4
#16 0xb6cee3d9 in ?? () from /usr/lib/libQtCore.so.4
#17 0xb6cef612 in flush(QTextStream&) () from /usr/lib/libQtCore.so.4
#18 0xb6cef64c in endl(QTextStream&) () from /usr/lib/libQtCore.so.4
#19 0xb77debfa in KLockFile::lock(QFlags<KLockFile::LockFlag>) () from /usr/lib/libkdecore.so.5
#20 0xb70befb9 in KPixmapCache::find(QString const&, QPixmap&) () from /usr/lib/libkdeui.so.5
#21 0xb6ffc42b in KIconCache::find(QString const&, QPixmap&) () from /usr/lib/libkdeui.so.5
#22 0xb6ffd270 in KIconCache::find(QString const&, QPixmap&, QString*) () from /usr/lib/libkdeui.so.5
#23 0xb6feff0b in KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const () from /usr/lib/libkdeui.so.5
#24 0xb6ff1b00 in UserIcon(QString const&, int, QStringList const&) () from /usr/lib/libkdeui.so.5
#25 0xb370885f in KonqFrameStatusBar::updateActiveStatus() () from /usr/lib/libkdeinit4_konqueror.so
#26 0xb36f8ae0 in KonqViewManager::viewCountChanged() () from /usr/lib/libkdeinit4_konqueror.so
#27 0xb36ff9b3 in KonqViewManager::loadRootItem(KConfigGroup const&, KonqFrameContainerBase*, KUrl const&, bool, KUrl const&, bool, int) () from /usr/lib/libkdeinit4_konqueror.so
#28 0xb3701726 in KonqViewManager::duplicateTab(KonqFrameBase*, bool) () from /usr/lib/libkdeinit4_konqueror.so
#29 0xb372b1f9 in KonqMainWindow::slotDuplicateTab() () from /usr/lib/libkdeinit4_konqueror.so
#30 0xb374fa58 in KonqMainWindow::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeinit4_konqueror.so
#31 0xb6d51eba in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#32 0xb6d6047f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#33 0xb6293de9 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#34 0xb6295fdc in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#35 0xb672f44c in ?? () from /usr/lib/libQtGui.so.4
#36 0xb673591b in ?? () from /usr/lib/libQtGui.so.4
#37 0xb6736927 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#38 0xb7121915 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#39 0xb62f8138 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#40 0xb6737f1c in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#41 0xb629a5dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#42 0xb62a1dcf in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#43 0xb702ce1a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#44 0xb6d4ccbb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#45 0xb62a0af7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#46 0xb632b43a in ?? () from /usr/lib/libQtGui.so.4
#47 0xb632a4d3 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#48 0xb6356f82 in ?? () from /usr/lib/libQtGui.so.4
#49 0xb5a8c378 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#50 0xb5a8fbf0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#51 0xb5a8fd23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#52 0xb6d785d5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#53 0xb6356ae5 in ?? () from /usr/lib/libQtGui.so.4
#54 0xb6d4b2f9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#55 0xb6d4b74a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#56 0xb6d4f8bf in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#57 0xb629a677 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#58 0xb377b40f in kdemain () from /usr/lib/libkdeinit4_konqueror.so
#59 0x0804db12 in _start ()

Reported using DrKonqi
Comment 1 David Faure 2010-02-23 20:15:55 UTC
A crash in KLockFile::lock, maybe related to bug 206047.
Comment 2 Dario Andres 2010-02-24 01:53:26 UTC
- Does it happen regardless of the website being shown in the current tab (being duplicated) ?
Regards
Comment 3 Antonio Rojas 2010-02-24 08:55:22 UTC
(In reply to comment #2)
> - Does it happen regardless of the website being shown in the current tab
> (being duplicated) ?
> Regards

No, it works for some websites, but it always crashes for most of them (about 90% in my experience)
Comment 4 Dario Andres 2010-02-26 13:51:31 UTC
- Could you provide some test URLs that cause the crash ? Regards
Comment 5 Antonio Rojas 2010-03-03 18:57:58 UTC
(In reply to comment #4)
> - Could you provide some test URLs that cause the crash ? Regards

After cleaning the cache, I can't reproduce it anymore.
Comment 6 Christoph Feck 2010-10-14 00:27:26 UTC
(I quickly reviewed the backtrace of this crash, and it appears to be caused by KIconCache memory corruption. If this is not the case, please reopen.)

Closing all KIconCache crashes as fixed, because the KIconLoader in KDE SC 4.5 now uses KSharedDataCache to cache icons, and it is believed that the new class is less prone to random crashes or memory corruption.

If you still can reproduce a crash with version 4.5, please report it separately. If you cannot upgrade to 4.5 yet, you should be able to work around this crash by deleting the icon cache files in /var/tmp/kdecache-<user>/kpc