Bug 237916

Summary: rekonq crashed (when clicking on bookmark in Konqueror?)
Product: [Unmaintained] rekonq Reporter: David Zaslavsky <diazona>
Component: generalAssignee: Andrea Diamantini <adjam7>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 0.4.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 237890    

Description David Zaslavsky 2010-05-17 10:02:03 UTC
Application: rekonq (0.4.0)
KDE Platform Version: 4.4.3 (KDE 4.4.3) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I had rekonq open with only one tab, displaying a simple web page local to my computer, and I also had a couple of Konqueror windows open (with one tab each) displaying websites. When I clicked on a bookmark in one of the Konqueror windows, rekonq crashed. Hard to imagine how the two events would be related, but I don't know of anything else happening that might have caused the crash.

 -- Backtrace:
Application: rekonq (kdeinit4), signal: Segmentation fault
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.5-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Current thread is 1 (Thread 0x7fc6cd0da760 (LWP 9848))]

Thread 7 (Thread 0x7fc6bc4ec710 (LWP 9849)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc6c27a1ba6 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007fc6c27a1be9 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007fc6cabeb914 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007fc6c92d329d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7fc6b88db710 (LWP 9850)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc6cae7a8e0 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1583970, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1583970, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc6c1f84f73 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x15773f0, th=0x193b430)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fc6c1f8820c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=<value optimized out>, th=0x193b430)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0x00007fc6c1f848ac in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=<value optimized out>, th=0x80)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0x00007fc6c1f882e4 in ThreadWeaver::WorkingHardState::applyForWork (this=<value optimized out>, th=0x193b430)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x00007fc6c1f85106 in ThreadWeaver::WeaverImpl::applyForWork (this=0x15773f0, th=0x193b430, previous=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0x00007fc6c1f86e07 in ThreadWeaver::ThreadRunHelper::run (this=0x7fc6b88dae30, parent=0x15773f0, th=0x193b430)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:87
#9  0x00007fc6c1f86f46 in ThreadWeaver::Thread::run (this=0x193b430) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142
#10 0x00007fc6cae799b1 in QThreadPrivate::start (arg=0x193b430) at thread/qthread_unix.cpp:248
#11 0x00007fc6cabeb914 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#12 0x00007fc6c92d329d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7fc6b74da710 (LWP 9851)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc6cae7a8e0 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1592b70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1592b70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc6c2cfac50 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#4  0x00007fc6c2cff668 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#5  0x00007fc6c27a71ab in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#6  0x00007fc6cae799b1 in QThreadPrivate::start (arg=0x18c8a10) at thread/qthread_unix.cpp:248
#7  0x00007fc6cabeb914 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#8  0x00007fc6c92d329d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7fc6b6cd9710 (LWP 9853)):
#0  0x00007fc6c92ca549 in *__GI___poll (fds=0x16d4b10, nfds=1, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:85
#1  0x00007fc6c631ce5c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fc6c631d188 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fc6caf890ea in QEventDispatcherGlib::processEvents (this=0x15db4c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fc6caf5e27d in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fc6caf5e5ea in QEventLoop::exec (this=0x7fc6b6cd8df0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fc6cae775e9 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fc6caf4055a in QInotifyFileSystemWatcherEngine::run (this=0x19a3dd0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fc6cae799b1 in QThreadPrivate::start (arg=0x19a3dd0) at thread/qthread_unix.cpp:248
#9  0x00007fc6cabeb914 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007fc6c92d329d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fc6afeff710 (LWP 9870)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc6cae7a8e0 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1583970, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1583970, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc6c1f84f73 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x15773f0, th=0x1a7bdb0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fc6c1f8820c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=<value optimized out>, th=0x1a7bdb0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0x00007fc6c1f848ac in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=<value optimized out>, th=0x80)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0x00007fc6c1f882e4 in ThreadWeaver::WorkingHardState::applyForWork (this=<value optimized out>, th=0x1a7bdb0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x00007fc6c1f85106 in ThreadWeaver::WeaverImpl::applyForWork (this=0x15773f0, th=0x1a7bdb0, previous=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0x00007fc6c1f88300 in ThreadWeaver::WorkingHardState::applyForWork (this=<value optimized out>, th=0x1a7bdb0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007fc6c1f85106 in ThreadWeaver::WeaverImpl::applyForWork (this=0x15773f0, th=0x1a7bdb0, previous=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00007fc6c1f86e07 in ThreadWeaver::ThreadRunHelper::run (this=0x7fc6afefee30, parent=0x15773f0, th=0x1a7bdb0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:87
#11 0x00007fc6c1f86f46 in ThreadWeaver::Thread::run (this=0x1a7bdb0) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142
#12 0x00007fc6cae799b1 in QThreadPrivate::start (arg=0x1a7bdb0) at thread/qthread_unix.cpp:248
#13 0x00007fc6cabeb914 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#14 0x00007fc6c92d329d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fc6aed43710 (LWP 10325)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc6cae7a8e0 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1583970, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1583970, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc6c1f84f73 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x15773f0, th=0x2228530)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fc6c1f8820c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=<value optimized out>, th=0x2228530)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0x00007fc6c1f848ac in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=<value optimized out>, th=0x80)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0x00007fc6c1f882e4 in ThreadWeaver::WorkingHardState::applyForWork (this=<value optimized out>, th=0x2228530)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x00007fc6c1f85106 in ThreadWeaver::WeaverImpl::applyForWork (this=0x15773f0, th=0x2228530, previous=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0x00007fc6c1f86e07 in ThreadWeaver::ThreadRunHelper::run (this=0x7fc6aed42e30, parent=0x15773f0, th=0x2228530)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:87
#9  0x00007fc6c1f86f46 in ThreadWeaver::Thread::run (this=0x2228530) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142
#10 0x00007fc6cae799b1 in QThreadPrivate::start (arg=0x2228530) at thread/qthread_unix.cpp:248
#11 0x00007fc6cabeb914 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#12 0x00007fc6c92d329d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fc6cd0da760 (LWP 9848)):
[KCrash Handler]
#5  0x00007fc6c9f0b995 in QWidget::actions() const () from /usr/lib64/qt4/libQtGui.so.4
#6  0x00007fc6ca31dfd4 in QToolBar::clear() () from /usr/lib64/qt4/libQtGui.so.4
#7  0x00007fc6be93415a in BookmarkProvider::slotBookmarksChanged (this=0x16272e0, group=<value optimized out>, caller=<value optimized out>)
    at /var/tmp/portage/www-client/rekonq-0.4.0/work/rekonq-0.4.0/src/bookmarks/bookmarksmanager.cpp:222
#8  0x00007fc6be934f6c in BookmarkProvider::qt_metacall (this=0x16272e0, _c=QMetaObject::InvokeMetaMethod, _id=822609680, _a=0x7fff310808d0)
    at /var/tmp/portage/www-client/rekonq-0.4.0/work/rekonq-0.4.0_build/src/bookmarksmanager.moc:207
#9  0x00007fc6caf65603 in QMetaObject::metacall (object=0x16272e0, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0x7fff310808d0) at kernel/qmetaobject.cpp:237
#10 0x00007fc6caf73c7f in QMetaObject::activate (sender=0x16d9400, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3285
#11 0x00007fc6cc20ccf6 in KBookmarkManager::changed (this=0x7fff31080710, _t1=<value optimized out>, _t2=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3_build/kio/kbookmarkmanager.moc:136
#12 0x00007fc6cc20f436 in KBookmarkManager::slotFileChanged (this=0x16d9400, path=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kio/bookmarks/kbookmarkmanager.cc:315
#13 0x00007fc6cc20f56f in KBookmarkManager::qt_metacall (this=0x16d9400, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff31080ad0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3_build/kio/kbookmarkmanager.moc:104
#14 0x00007fc6caf65603 in QMetaObject::metacall (object=0x16d9400, cl=QMetaObject::InvokeMetaMethod, idx=14, argv=0x7fff31080ad0) at kernel/qmetaobject.cpp:237
#15 0x00007fc6caf73c7f in QMetaObject::activate (sender=0x16d93c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3285
#16 0x00007fc6cc19f173 in KDirWatch::deleted (this=0x7fff31080710, _t1=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3_build/kio/kdirwatch.moc:113
#17 0x00007fc6cc19f2d9 in KDirWatch::setDeleted (this=0x16d93c0, _file=...) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kio/kio/kdirwatch.cpp:1798
#18 0x00007fc6cc19f42f in KDirWatch::qt_metacall (this=0x16d93c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x24514b0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3_build/kio/kdirwatch.moc:87
#19 0x00007fc6caf65603 in QMetaObject::metacall (object=0x16d93c0, cl=QMetaObject::InvokeMetaMethod, idx=9, argv=0x24514b0) at kernel/qmetaobject.cpp:237
#20 0x00007fc6caf6ebf5 in QMetaCallEvent::placeMetaCall (this=0x7fff31080710, object=0x7fff31080710) at kernel/qobject.cpp:561
#21 0x00007fc6caf6f87c in QObject::event (this=0x16d93c0, e=0x2213b10) at kernel/qobject.cpp:1240
#22 0x00007fc6c9ec196c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007fc6c9ec7f6b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007fc6cb6efe84 in KApplication::notify (this=0x7fff31081650, receiver=0x16d93c0, event=0x2213b10)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#25 0x00007fc6caf5f7cc in QCoreApplication::notifyInternal (this=0x7fff31081650, receiver=0x16d93c0, event=0x2213b10) at kernel/qcoreapplication.cpp:704
#26 0x00007fc6caf6049e in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1461550) at kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1461550) at kernel/qcoreapplication.cpp:1345
#28 0x00007fc6caf606f1 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#29 0x00007fc6caf8963e in QCoreApplication::sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#30 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#31 0x00007fc6c6319843 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0x00007fc6c631d070 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x00007fc6c631d188 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0x00007fc6caf890cb in QEventDispatcherGlib::processEvents (this=0x14c6540, flags=) at kernel/qeventdispatcher_glib.cpp:412
#35 0x00007fc6c9f704c6 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#36 0x00007fc6caf5e27d in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#37 0x00007fc6caf5e5ea in QEventLoop::exec (this=0x7fff310815b0, flags=) at kernel/qeventloop.cpp:201
#38 0x00007fc6caf607ca in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#39 0x00007fc6be93f2ed in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/www-client/rekonq-0.4.0/work/rekonq-0.4.0/src/main.cpp:157
#40 0x000000000040712f in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=1, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x14a2795 "acetylene09;1274074014;88404;2462_TIME102323351") at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kinit/kinit.cpp:710
#41 0x0000000000407854 in handle_launcher_request (sock=8, who=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kinit/kinit.cpp:1202
#42 0x0000000000408521 in handle_requests (waitForPid=0) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kinit/kinit.cpp:1395
#43 0x0000000000408d9f in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kinit/kinit.cpp:1838

Possible duplicates by query: bug 226927, bug 224448, bug 222607, bug 218608.

Reported using DrKonqi
Comment 1 Andrea Diamantini 2010-05-18 18:20:55 UTC
This has been probably fixed in master (0.4.70, now). At least I cannot reproduce. Can you pls try upgrading your rekonq version and (re)test it?
Comment 2 David Zaslavsky 2010-05-21 06:22:20 UTC
I've been running from git master (8ea63d8) for a couple days now and no crashes, even when I tried to reproduce the circumstances as well as I could remember. So you're probably right, it's fixed. If it happens again I will investigate further.