Bug 227323 - rekonq 0.3.90 crashed when closing tab
Summary: rekonq 0.3.90 crashed when closing tab
Status: RESOLVED FIXED
Alias: None
Product: rekonq
Classification: Applications
Component: general (show other bugs)
Version: 0.3.90
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Andrea Diamantini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-17 09:58 UTC by Mikael Gerdin
Modified: 2010-02-17 11:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Gerdin 2010-02-17 09:58:29 UTC
Application: rekonq (0.3.90)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.1
Operating System: Linux 2.6.32-13-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
Cannot reliably reproduce but has occured often enough to make me not use rekonq regularly. I used the Ctrl-W shortcut to close one tab when the crash occured.
I had 3 tabs open and I have the adobe flash plugin installed but I had not clicked on any "Load plugin" buttons.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: rekonq (kdeinit4), signal: Segmentation fault
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7faadddbd800 (LWP 14385))]

Thread 7 (Thread 0x7faac9c0b710 (LWP 14386)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007faad26b1916 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7faad3673ec0) at ../JavaScriptCore/wtf/FastMalloc.cpp:2299
#2  0x00007faad26b1959 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7faad3681f8c) at ../JavaScriptCore/wtf/FastMalloc.cpp:1433
#3  0x00007faadc00db14 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007faadadc807d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7faac8825710 (LWP 14387)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007faadc29e70b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1e58470, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1e58470, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007faad1e83096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1e61700, th=0x20bfa70) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007faad1e856ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e67180, th=0x20bfa70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007faad1e83bff in ThreadWeaver::ThreadRunHelper::run (this=0x7faac8824d90, parent=0x1e61700, th=0x20bfa70) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007faad1e84168 in ThreadWeaver::Thread::run (this=0x20bfa70) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007faadc29d755 in QThreadPrivate::start (arg=0x20bfa70) at thread/qthread_unix.cpp:248
#8  0x00007faadc00db14 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007faadadc807d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7faac7416710 (LWP 14388)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007faadc29e70b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x24e6b10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x24e6b10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007faad2bad808 in WebCore::IconDatabase::syncThreadMainLoop (this=0x7faac9367d80) at loader/icon/IconDatabase.cpp:1412
#4  0x00007faad2bb2198 in WebCore::IconDatabase::iconDatabaseSyncThread (this=0x7faac9367d80) at loader/icon/IconDatabase.cpp:1038
#5  0x00007faad26b6e9b in WTF::ThreadPrivate::run (this=0x25bbc10) at ../JavaScriptCore/wtf/qt/ThreadingQt.cpp:64
#6  0x00007faadc29d755 in QThreadPrivate::start (arg=0x25bbc10) at thread/qthread_unix.cpp:248
#7  0x00007faadc00db14 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007faadadc807d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7faac6c15710 (LWP 14399)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007faadc29e70b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1e58470, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1e58470, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007faad1e83096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1e61700, th=0x25ecaa0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007faad1e856ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e67180, th=0x25ecaa0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007faad1e856c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e67180, th=0x25ecaa0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007faad1e83bff in ThreadWeaver::ThreadRunHelper::run (this=0x7faac6c14d90, parent=0x1e61700, th=0x25ecaa0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007faad1e84168 in ThreadWeaver::Thread::run (this=0x25ecaa0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007faadc29d755 in QThreadPrivate::start (arg=0x25ecaa0) at thread/qthread_unix.cpp:248
#9  0x00007faadc00db14 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007faadadc807d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7faabffff710 (LWP 14549)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007faadc29e70b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1e58470, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1e58470, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007faad1e83096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1e61700, th=0x2604a40) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007faad1e856ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e67180, th=0x2604a40) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007faad1e856c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e67180, th=0x2604a40) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007faad1e856c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e67180, th=0x2604a40) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007faad1e83bff in ThreadWeaver::ThreadRunHelper::run (this=0x7faabfffed90, parent=0x1e61700, th=0x2604a40) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007faad1e84168 in ThreadWeaver::Thread::run (this=0x2604a40) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007faadc29d755 in QThreadPrivate::start (arg=0x2604a40) at thread/qthread_unix.cpp:248
#10 0x00007faadc00db14 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007faadadc807d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7faac5e3f710 (LWP 14554)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007faadc29e70b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1e58470, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1e58470, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007faad1e83096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1e61700, th=0x2872de0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007faad1e856ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e67180, th=0x2872de0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007faad1e856c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e67180, th=0x2872de0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007faad1e856c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e67180, th=0x2872de0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007faad1e856c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e67180, th=0x2872de0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007faad1e83bff in ThreadWeaver::ThreadRunHelper::run (this=0x7faac5e3ed90, parent=0x1e61700, th=0x2872de0) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007faad1e84168 in ThreadWeaver::Thread::run (this=0x2872de0) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007faadc29d755 in QThreadPrivate::start (arg=0x2872de0) at thread/qthread_unix.cpp:248
#11 0x00007faadc00db14 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007faadadc807d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7faadddbd800 (LWP 14385)):
[KCrash Handler]
#5  WebTab::page (this=0x0) at /build/buildd/rekonq-0.3.90/src/webtab.cpp:114
#6  0x00007faacff88618 in MainWindow::notifyMessage (this=0x1e6fc50, msg=..., status=<value optimized out>) at /build/buildd/rekonq-0.3.90/src/mainwindow.cpp:1059
#7  0x00007faacff8e558 in MainWindow::qt_metacall (this=0x1e6fc50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6ab241a0)
    at /build/buildd/rekonq-0.3.90/obj-x86_64-linux-gnu/src/mainwindow.moc:128
#8  0x00007faadc3a4a5f in QMetaObject::activate (sender=0x1e22a30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x34eb20) at kernel/qobject.cpp:3275
#9  0x00007faacff85a75 in MainView::linkHovered (this=0x0, _t1=<value optimized out>) at /build/buildd/rekonq-0.3.90/obj-x86_64-linux-gnu/src/mainview.moc:190
#10 0x00007faacff87d1d in MainView::qt_metacall (this=0x1e22a30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6ab242d0)
    at /build/buildd/rekonq-0.3.90/obj-x86_64-linux-gnu/src/mainview.moc:127
#11 0x00007faadc3a4a5f in QMetaObject::activate (sender=0x287f710, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x34eb20) at kernel/qobject.cpp:3275
#12 0x00007faad2b58faf in QWebPage::linkHovered (this=0x0, _t1=<value optimized out>, _t2=<value optimized out>, _t3=<value optimized out>) at .moc/release-shared/moc_qwebpage.cpp:362
#13 0x00007faad2b41186 in WebCore::ChromeClientQt::mouseDidMoveOverElement (this=0x298e450, result=<value optimized out>) at ../WebKit/qt/WebCoreSupport/ChromeClientQt.cpp:371
#14 0x00007faad29a4506 in WebCore::Chrome::mouseDidMoveOverElement (this=0x7faaaf7980d8, result=..., modifierFlags=42465040) at page/Chrome.cpp:317
#15 0x00007faad29bd266 in WebCore::EventHandler::mouseMoved (this=<value optimized out>, event=...) at page/EventHandler.cpp:1320
#16 0x00007faad2b5ad2f in QWebPagePrivate::mouseMoveEvent (this=<value optimized out>, ev=0x7fff6ab24590) at ../WebKit/qt/Api/qwebpage.cpp:703
#17 0x00007faad2b5adac in QWebPagePrivate::leaveEvent (this=0x2a6d9c0) at ../WebKit/qt/Api/qwebpage.cpp:1180
#18 0x00007faad2b60631 in QWebPage::event (this=0x287f710, ev=0x7fff6ab24c80) at ../WebKit/qt/Api/qwebpage.cpp:2574
#19 0x00007faad2b64691 in QWebView::event (this=0x28c1fc0, e=0x7fff6ab24c80) at ../WebKit/qt/Api/qwebview.cpp:654
#20 0x00007faadb53007c in QApplicationPrivate::notify_helper (this=0x1d509b0, receiver=0x28c1fc0, e=0x7fff6ab24c80) at kernel/qapplication.cpp:4298
#21 0x00007faadb53666b in QApplication::notify (this=0x7fff6ab26a10, receiver=0x28c1fc0, e=0x7fff6ab24c80) at kernel/qapplication.cpp:4181
#22 0x00007faadc8d8db6 in KApplication::notify (this=0x7fff6ab26a10, receiver=0x28c1fc0, event=0x7fff6ab24c80) at ../../kdeui/kernel/kapplication.cpp:302
#23 0x00007faadc391c5c in QCoreApplication::notifyInternal (this=0x7fff6ab26a10, receiver=0x28c1fc0, event=0x7fff6ab24c80) at kernel/qcoreapplication.cpp:704
#24 0x00007faadb5355fe in QCoreApplication::sendEvent (enter=<value optimized out>, leave=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QApplicationPrivate::dispatchEnterLeave (enter=<value optimized out>, leave=<value optimized out>) at kernel/qapplication.cpp:2613
#26 0x00007faadb535fde in QApplicationPrivate::sendMouseEvent (receiver=0x2876e00, event=0x7fff6ab24e40, alienWidget=0x2876e00, nativeWidget=0x1e6fc50, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2943
#27 0x00007faadb5364cf in QApplicationPrivate::sendSyntheticEnterLeave (this=<value optimized out>, widget=<value optimized out>) at kernel/qapplication.cpp:3049
#28 0x00007faadb58d57a in QWidget::setVisible (this=0x2850970, visible=<value optimized out>) at kernel/qwidget.cpp:7401
#29 0x00007faadb56fd2d in QWidget::show (this=0x1e246f0, index=2) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:485
#30 QStackedLayout::setCurrentIndex (this=0x1e246f0, index=2) at kernel/qstackedlayout.cpp:311
#31 0x00007faadb5700c3 in QStackedLayout::takeAt (this=0x1e246f0, index=3) at kernel/qstackedlayout.cpp:265
#32 0x00007faadb560abf in QLayout::removeWidget (this=0x1e246f0, widget=0x2942df0) at kernel/qlayout.cpp:1457
#33 0x00007faadc9d52ad in KTabWidget::Private::removeTab (this=0x1e712d0, index=3) at ../../kdeui/widgets/ktabwidget.cpp:130
#34 0x00007faacff8763b in MainView::closeTab (this=0x1e22a30, index=3) at /build/buildd/rekonq-0.3.90/src/mainview.cpp:514
#35 0x00007faadb5860be in QWidget::event (this=0x1e6fc50, event=0x7fff6ab25a60) at kernel/qwidget.cpp:8013
#36 0x00007faadb94782b in QMainWindow::event (this=0x1e6fc50, event=0x7fff6ab25a60) at widgets/qmainwindow.cpp:1435
#37 0x00007faadb53007c in QApplicationPrivate::notify_helper (this=0x1d509b0, receiver=0x1e6fc50, e=0x7fff6ab25a60) at kernel/qapplication.cpp:4298
#38 0x00007faadb537e25 in QApplication::notify (this=<value optimized out>, receiver=0x1e6fc50, e=0x7fff6ab25a60) at kernel/qapplication.cpp:3761
#39 0x00007faadc8d8db6 in KApplication::notify (this=0x7fff6ab26a10, receiver=0x28c1fc0, event=0x7fff6ab25a60) at ../../kdeui/kernel/kapplication.cpp:302
#40 0x00007faadc391c5c in QCoreApplication::notifyInternal (this=0x7fff6ab26a10, receiver=0x28c1fc0, event=0x7fff6ab25a60) at kernel/qcoreapplication.cpp:704
#41 0x00007faadb5da59a in QKeyMapper::sendKeyEvent (keyWidget=0x28c1fc0, grab=<value optimized out>, type=QEvent::KeyPress, code=87, modifiers=<value optimized out>, text=..., autorepeat=false, 
    count=1, nativeScanCode=25, nativeVirtualKey=119, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1861
#42 0x00007faadb5dcb10 in QKeyMapperPrivate::translateKeyEvent (this=0x7fff6ab25c40, keyWidget=0x28c1fc0, event=<value optimized out>, grab=false) at kernel/qkeymapper_x11.cpp:1831
#43 0x00007faadb5b3fe4 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff6ab26630) at kernel/qapplication_x11.cpp:3394
#44 0x00007faadb5dfca2 in x11EventSourceDispatch (s=0x1d54450, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x00007faad757bef0 in g_main_dispatch (context=0x1d52a20) at /build/buildd/glib2.0-2.23.3/glib/gmain.c:1960
#46 IA__g_main_context_dispatch (context=0x1d52a20) at /build/buildd/glib2.0-2.23.3/glib/gmain.c:2513
#47 0x00007faad757fd28 in g_main_context_iterate (context=0x1d52a20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.23.3/glib/gmain.c:2591
#48 0x00007faad757ff0c in IA__g_main_context_iteration (context=0x1d52a20, may_block=1) at /build/buildd/glib2.0-2.23.3/glib/gmain.c:2654
#49 0x00007faadc3bb143 in QEventDispatcherGlib::processEvents (this=0x1d50370, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#50 0x00007faadb5df88e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007faadc390582 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#52 0x00007faadc39095c in QEventLoop::exec (this=0x7fff6ab26960, flags=) at kernel/qeventloop.cpp:201
#53 0x00007faadc39469b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#54 0x00007faacffc5b82 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/rekonq-0.3.90/src/main.cpp:157
#55 0x0000000000406fb8 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=0x1d06d45 "sovereign;1266395298;678079;4200_TIME3457482") at ../../kinit/kinit.cpp:717
#56 0x0000000000407c70 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#57 0x00000000004081ff in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402
#58 0x0000000000408e12 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1841

Reported using DrKonqi
Comment 1 Andrea Diamantini 2010-02-17 10:25:50 UTC
Quite annoying, yes..
My commit a2ad510 should fix this. Please, test again with today's rekonq code.
I'll wait your confirm to close this.
(btw, thanks for your report and the backtrace)
Comment 2 Mikael Gerdin 2010-02-17 11:14:08 UTC
I manually cherry-picked commit a2ad510 and appied it onto 0.3.90 and built in on my launchpad PPA. So far so good, but as I said I could not reliably reproduce it.
Considering what it crashed on and the fix for it I'm just set it to resolved and reopen it if it appears again.