Bug 279648

Summary: rekonq crashed when closing it before the start page was completely loaded
Product: [Unmaintained] rekonq Reporter: Eike Petersen <eike.petersen>
Component: generalAssignee: Andrea Diamantini <adjam7>
Status: RESOLVED DUPLICATE    
Severity: crash CC: hrvoje.senjan, krotersv
Priority: NOR    
Version: 0.7.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Eike Petersen 2011-08-08 11:09:04 UTC
Application: rekonq (0.7.0)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

reconq was started by clicking on a link in another application (tagesschau.de, nothing fancy and no special popups or such things). Since I didn't want to use rekonq, I immediately hit the close button before the page was fully loaded. Then, the crash appeared.

-- Backtrace:
Application: rekonq (rekonq), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fbd7ddaa780 (LWP 2345))]

Thread 5 (Thread 0x7fbd6870c700 (LWP 2346)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbd7c82c832 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fbd77fb0d8c in start_thread (arg=0x7fbd6870c700) at pthread_create.c:304
#3  0x00007fbd7d61604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fbd67141700 (LWP 2347)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbd7d2082a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fbd7d521180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fbd7d2082d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fbd7d52f254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fbd77fb0d8c in start_thread (arg=0x7fbd67141700) at pthread_create.c:304
#4  0x00007fbd7d61604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fbd65c0c700 (LWP 2348)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbd787c782b in wait (this=<value optimized out>, mutex=0x270fa40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x270fa40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fbd7a78b0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x271e590, th=0x2aa9d90) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fbd7a78d723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x271da60, th=0x2aa9d90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fbd7a78c53f in ThreadWeaver::ThreadRunHelper::run (this=0x7fbd65c0be20, parent=0x271e590, th=0x2aa9d90) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fbd7a78c5cb in ThreadWeaver::Thread::run (this=0x2aa9d90) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fbd787c7175 in QThreadPrivate::start (arg=0x2aa9d90) at thread/qthread_unix.cpp:320
#8  0x00007fbd77fb0d8c in start_thread (arg=0x7fbd65c0c700) at pthread_create.c:304
#9  0x00007fbd7d61604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fbd63372700 (LWP 2350)):
#0  0x00007fffe79ff861 in clock_gettime ()
#1  0x00007fbd73866146 in clock_gettime (clock_id=1, tp=0x7fbd63371b30) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007fbd78818304 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fbd788d9e3d in QTimerInfoList::updateCurrentTime (this=0x7fbd5c0012d0) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007fbd788da1a5 in QTimerInfoList::timerWait (this=0x7fbd5c0012d0, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007fbd788d8c2c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fbd63371c4c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fbd788d8cd5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fbd749e80a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fbd749e8f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fbd749e9639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fbd788d9446 in QEventDispatcherGlib::processEvents (this=0x2a07650, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#12 0x00007fbd788ad882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fbd788adabc in QEventLoop::exec (this=0x7fbd63371dd0, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007fbd787c4924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#15 0x00007fbd7888fc2f in QInotifyFileSystemWatcherEngine::run (this=0x2993c10) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007fbd787c7175 in QThreadPrivate::start (arg=0x2993c10) at thread/qthread_unix.cpp:320
#17 0x00007fbd77fb0d8c in start_thread (arg=0x7fbd63372700) at pthread_create.c:304
#18 0x00007fbd7d61604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbd7ddaa780 (LWP 2345)):
[KCrash Handler]
#6  0x00007fbd790baa82 in QStyleSheetStyle::event (this=0x29f93d0, e=0x7fffe787ab80) at styles/qstylesheetstyle.cpp:5801
#7  0x00007fbd78d9c9f4 in QApplicationPrivate::notify_helper (this=0x25a4ee0, receiver=0x29f93d0, e=0x7fffe787ab80) at kernel/qapplication.cpp:4462
#8  0x00007fbd78da13ba in QApplication::notify (this=<value optimized out>, receiver=0x29f93d0, e=0x7fffe787ab80) at kernel/qapplication.cpp:4341
#9  0x00007fbd7b2d3866 in KApplication::notify (this=0x7fffe787bbb0, receiver=0x29f93d0, event=0x7fffe787ab80) at ../../kdeui/kernel/kapplication.cpp:311
#10 0x00007fbd788ae49c in QCoreApplication::notifyInternal (this=0x7fffe787bbb0, receiver=0x29f93d0, event=0x7fffe787ab80) at kernel/qcoreapplication.cpp:731
#11 0x00007fbd78d9b295 in sendEvent (focus=0x0, reason=Qt::OtherFocusReason) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#12 QApplicationPrivate::setFocusWidget (focus=0x0, reason=Qt::OtherFocusReason) at kernel/qapplication.cpp:2235
#13 0x00007fbd78dde294 in QWidget::clearFocus (this=0x29ed380) at kernel/qwidget.cpp:6434
#14 0x00007fbd78de8e2c in QWidget::~QWidget (this=0x29ed380, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1563
#15 0x00007fbd7d97de49 in UrlBar::~UrlBar() () from /usr/lib/kde4/libkdeinit/libkdeinit4_rekonq.so
#16 0x00007fbd788c0c14 in QObjectPrivate::deleteChildren (this=0x273b9b0) at kernel/qobject.cpp:1964
#17 0x00007fbd78de8ef2 in QWidget::~QWidget (this=0x2662f20, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1631
#18 0x00007fbd7d97c191 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_rekonq.so
#19 0x00007fbd78df46f9 in QWidgetAction::~QWidgetAction (this=0x2942e90, __in_chrg=<value optimized out>) at kernel/qwidgetaction.cpp:128
#20 0x00007fbd7b1f54e9 in KAction::~KAction (this=0x2942e90, __in_chrg=<value optimized out>) at ../../kdeui/actions/kaction.cpp:171
#21 0x00007fbd788c0c14 in QObjectPrivate::deleteChildren (this=0x25a1440) at kernel/qobject.cpp:1964
#22 0x00007fbd78de8ef2 in QWidget::~QWidget (this=0x25a11d0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1631
#23 0x00007fbd7b397ae5 in KMainWindow::~KMainWindow (this=0x25a11d0, __in_chrg=<value optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:467
#24 0x00007fbd7d928046 in MainWindow::~MainWindow() () from /usr/lib/kde4/libkdeinit/libkdeinit4_rekonq.so
#25 0x00007fbd7d928099 in MainWindow::~MainWindow() () from /usr/lib/kde4/libkdeinit/libkdeinit4_rekonq.so
#26 0x00007fbd788c24c8 in QObject::event (this=0x25a11d0, e=<value optimized out>) at kernel/qobject.cpp:1209
#27 0x00007fbd78ded67d in QWidget::event (this=0x25a11d0, event=0x4b66030) at kernel/qwidget.cpp:8718
#28 0x00007fbd791b9c0b in QMainWindow::event (this=0x25a11d0, event=0x4b66030) at widgets/qmainwindow.cpp:1480
#29 0x00007fbd78d9c9f4 in QApplicationPrivate::notify_helper (this=0x25a4ee0, receiver=0x25a11d0, e=0x4b66030) at kernel/qapplication.cpp:4462
#30 0x00007fbd78da13ba in QApplication::notify (this=<value optimized out>, receiver=0x25a11d0, e=0x4b66030) at kernel/qapplication.cpp:4341
#31 0x00007fbd7b2d3866 in KApplication::notify (this=0x7fffe787bbb0, receiver=0x25a11d0, event=0x4b66030) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x00007fbd788ae49c in QCoreApplication::notifyInternal (this=0x7fffe787bbb0, receiver=0x25a11d0, event=0x4b66030) at kernel/qcoreapplication.cpp:731
#33 0x00007fbd788b1c25 in sendEvent (receiver=0x0, event_type=0, data=0x2545b60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2545b60) at kernel/qcoreapplication.cpp:1372
#35 0x00007fbd788d9253 in sendPostedEvents (s=0x259beb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#36 postEventSourceDispatch (s=0x259beb0) at kernel/qeventdispatcher_glib.cpp:277
#37 0x00007fbd749e8bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fbd749e93a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fbd749e9639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fbd788d93ef in QEventDispatcherGlib::processEvents (this=0x2545340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#41 0x00007fbd78e464de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007fbd788ad882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007fbd788adabc in QEventLoop::exec (this=0x7fffe787bb40, flags=...) at kernel/qeventloop.cpp:201
#44 0x00007fbd788b1ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#45 0x00007fbd7d9a38f4 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_rekonq.so
#46 0x00007fbd7d54eeff in __libc_start_main (main=0x400730 <_start+256>, argc=2, ubp_av=0x7fffe787c538, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffe787c528) at libc-start.c:226
#47 0x0000000000400659 in _start ()

Possible duplicates by query: bug 276880, bug 273027, bug 272573, bug 268328, bug 264659.

Reported using DrKonqi
Comment 1 Hrvoje Senjan 2011-08-17 06:41:32 UTC
Created attachment 62888 [details]
New crash information added by DrKonqi

rekonq (0.7.57) on KDE Platform 4.7.00 (4.7.0) using Qt 4.7.2

- What I was doing when the application crashed:

Exactly the same behaviour as the original reporter wrote - Rekonq crashed when i closed it (the page wasn't completly opened).

-- Backtrace (Reduced):
#6  0x00007f2992a6ba82 in QStyleSheetStyle::event (this=0x12e6c20, e=0x7fff32f5da40) at styles/qstylesheetstyle.cpp:5801
#7  0x00007f299274d9f4 in QApplicationPrivate::notify_helper (this=0xeb57e0, receiver=0x12e6c20, e=0x7fff32f5da40) at kernel/qapplication.cpp:4462
#8  0x00007f29927523ba in QApplication::notify (this=<value optimized out>, receiver=0x12e6c20, e=0x7fff32f5da40) at kernel/qapplication.cpp:4341
#9  0x00007f299345dd66 in KApplication::notify (this=0x7fff32f5ea70, receiver=0x12e6c20, event=0x7fff32f5da40) at ../../kdeui/kernel/kapplication.cpp:311
#10 0x00007f29913c149c in QCoreApplication::notifyInternal (this=0x7fff32f5ea70, receiver=0x12e6c20, event=0x7fff32f5da40) at kernel/qcoreapplication.cpp:731
Comment 2 Hrvoje Senjan 2011-08-17 06:42:39 UTC
Well, the difference is , i opened rekonq on purpose :)
Comment 3 Christoph Feck 2011-09-07 18:26:28 UTC

*** This bug has been marked as a duplicate of bug 268328 ***
Comment 4 Stanislav 2012-01-02 10:00:14 UTC
Created attachment 67331 [details]
New crash information added by DrKonqi

rekonq (0.8.0) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

I have loaded avi-file by Kopete.  I have clicked on link in the information window and reconq has been opened, but I have closed it before it opened the avi-file. So it crashed reconq.

-- Backtrace (Reduced):
#6  0x00007f084a6e4692 in QStyleSheetStyle::event (this=0x2435c70, e=0x7fffea812880) at styles/qstylesheetstyle.cpp:5808
#7  0x00007f084a3cd424 in notify_helper (e=0x7fffea812880, receiver=0x2435c70, this=0x1e35880) at kernel/qapplication.cpp:4486
#8  QApplicationPrivate::notify_helper (this=0x1e35880, receiver=0x2435c70, e=0x7fffea812880) at kernel/qapplication.cpp:4458
#9  0x00007f084a3d2291 in QApplication::notify (this=0x7fffea813610, receiver=0x2435c70, e=0x7fffea812880) at kernel/qapplication.cpp:4365
#10 0x00007f084bd8a126 in KApplication::notify (this=0x7fffea813610, receiver=0x2435c70, event=0x7fffea812880) at ../../kdeui/kernel/kapplication.cpp:311