Bug 284356 - Rekonq 0.8.0 segfault on start
Summary: Rekonq 0.8.0 segfault on start
Status: RESOLVED FIXED
Alias: None
Product: rekonq
Classification: Applications
Component: general (show other bugs)
Version: 0.8.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Andrea Diamantini
URL:
Keywords:
: 285214 285978 286899 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-18 12:50 UTC by Matija Šuklje
Modified: 2011-12-09 08:52 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.85 KB, text/plain)
2011-11-04 12:44 UTC, David
Details
New crash information added by DrKonqi (5.95 KB, text/plain)
2011-11-09 21:17 UTC, Gilles Maliar
Details
New crash information added by DrKonqi (5.95 KB, text/plain)
2011-11-09 21:17 UTC, Gilles Maliar
Details
New crash information added by DrKonqi (5.95 KB, text/plain)
2011-11-09 21:17 UTC, Gilles Maliar
Details
New crash information added by DrKonqi (6.03 KB, text/plain)
2011-12-09 08:44 UTC, Jan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matija Šuklje 2011-10-18 12:50:36 UTC
Application: rekonq (0.8.0)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.2
Operating System: Linux 2.6.39-gentoo-r3 x86_64
Distribution: "Gentoo Base System release 2.0.3"

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

1) start rekonq
2) see it crash

It doesn't even manage to show its main window.

I'm not sure if it's related, but I suspect it could be that I use an older Qt-WebKit.

KDE 4.7.1
Qt (including Qt-WebKit): 4.7.2

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7fc2b093e700 (LWP 12701)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc2c3085144 in scavengerThread (context=0x7fc2c38a6f20) at wtf/FastMalloc.cpp:2378
#2  WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fc2c38a6f20) at wtf/FastMalloc.cpp:1497
#3  0x00007fc2bea39c5c in start_thread (arg=0x7fc2b093e700) at pthread_create.c:301
#4  0x00007fc2c3e5667d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fc2af796700 (LWP 12702)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc2c3a5b494 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fc2c3d73180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fc2c3a5b4c9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fc2c3d81254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fc2bea39c5c in start_thread (arg=0x7fc2af796700) at pthread_create.c:301
#4  0x00007fc2c3e5667d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fc2c45da760 (LWP 12700)):
[KCrash Handler]
#6  page (this=0x14cefc0) at /var/tmp/portage/www-client/rekonq-0.8.0/work/rekonq-0.8.0/src/webtab.h:71
#7  MainWindow::updateActions (this=0x14cefc0) at /var/tmp/portage/www-client/rekonq-0.8.0/work/rekonq-0.8.0/src/mainwindow.cpp:716
#8  0x00007fc2c4163851 in MainWindow::postLaunch (this=0x14cefc0) at /var/tmp/portage/www-client/rekonq-0.8.0/work/rekonq-0.8.0/src/mainwindow.cpp:272
#9  0x00007fc2c41693c5 in MainWindow::qt_metacall (this=0x14cefc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe31e51d0) at /var/tmp/portage/www-client/rekonq-0.8.0/work/rekonq-0.8.0_build/src/mainwindow.moc:175
#10 0x00007fc2bf0ce7e7 in QMetaObject::activate (sender=0x174fef0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#11 0x00007fc2bf0d526f in QSingleShotTimer::timerEvent (this=0x174fef0) at kernel/qtimer.cpp:308
#12 0x00007fc2bf0ce019 in QObject::event (this=0x174fef0, e=<value optimized out>) at kernel/qobject.cpp:1181
#13 0x00007fc2bf5b5c54 in QApplicationPrivate::notify_helper (this=0x1368fc0, receiver=0x174fef0, e=0x7fffe31e5920) at kernel/qapplication.cpp:4462
#14 0x00007fc2bf5ba7ca in QApplication::notify (this=<value optimized out>, receiver=0x174fef0, e=0x7fffe31e5920) at kernel/qapplication.cpp:4341
#15 0x00007fc2c1b0bd16 in KApplication::notify (this=0x7fffe31e5c60, receiver=0x174fef0, event=0x7fffe31e5920) at /var/tmp/portage/kde-base/kdelibs-4.7.1-r3/work/kdelibs-4.7.1/kdeui/kernel/kapplication.cpp:311
#16 0x00007fc2bf0ba0db in QCoreApplication::notifyInternal (this=0x7fffe31e5c60, receiver=0x174fef0, event=0x7fffe31e5920) at kernel/qcoreapplication.cpp:731
#17 0x00007fc2bf0e78ae in sendEvent (this=0x137b870) at kernel/qcoreapplication.h:215
#18 QTimerInfoList::activateTimers (this=0x137b870) at kernel/qeventdispatcher_unix.cpp:604
#19 0x00007fc2bf0e48f4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#20 0x00007fc2baddff6e in g_main_dispatch (context=0x137a680) at gmain.c:2441
#21 g_main_context_dispatch (context=0x137a680) at gmain.c:3014
#22 0x00007fc2bade0758 in g_main_context_iterate (context=0x137a680, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3092
#23 0x00007fc2bade09ed in g_main_context_iteration (context=0x137a680, may_block=1) at gmain.c:3155
#24 0x00007fc2bf0e4fef in QEventDispatcherGlib::processEvents (this=0x1340e50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#25 0x00007fc2bf65b0be in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007fc2bf0b9482 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007fc2bf0b96c4 in QEventLoop::exec (this=0x7fffe31e5bb0, flags=...) at kernel/qeventloop.cpp:201
#28 0x00007fc2bf0bdb4b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#29 0x00007fc2c41e70c5 in kdemain (argc=1, argv=0x7fffe31e65f8) at /var/tmp/portage/www-client/rekonq-0.8.0/work/rekonq-0.8.0/src/main.cpp:215
#30 0x00007fc2c3da3e9d in __libc_start_main (main=0x400860 <main(int, char**)>, argc=1, ubp_av=0x7fffe31e65f8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffe31e65e8) at libc-start.c:226
#31 0x0000000000400789 in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2011-10-29 12:01:16 UTC
*** Bug 285214 has been marked as a duplicate of this bug. ***
Comment 2 David 2011-11-04 12:44:40 UTC
Created attachment 65230 [details]
New crash information added by DrKonqi

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

Everytime rekonq is started it segfaults. This can be reproduced every time.

-- Backtrace (Reduced):
#6  page (this=0x0) at /build/buildd/rekonq-0.8.0/src/webtab.h:71
#7  MainWindow::updateActions (this=0xb38d00) at /build/buildd/rekonq-0.8.0/src/mainwindow.cpp:716
#8  0x00007f85b78319e1 in MainWindow::postLaunch (this=0xb38d00) at /build/buildd/rekonq-0.8.0/src/mainwindow.cpp:272
#9  0x00007f85b78374b1 in MainWindow::qt_metacall (this=0xb38d00, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7ffffb664650) at /build/buildd/rekonq-0.8.0/obj-x86_64-linux-gnu/src/mainwindow.moc:175
[...]
#11 0x00007f85b237ef7f in QSingleShotTimer::timerEvent (this=0xdd8980) at kernel/qtimer.cpp:308
Comment 3 Christoph Feck 2011-11-07 20:23:10 UTC
*** Bug 285978 has been marked as a duplicate of this bug. ***
Comment 4 Andrea Diamantini 2011-11-08 11:45:55 UTC
Git commit c8a48c13388b34099e8ee7704985d887b36acd0d by Andrea Diamantini.
Committed on 08/11/2011 at 12:42.
Pushed by adjam into branch 'NoPostLaunch'.

Remove postLaunch calls

This will help a lot in having a clean/easy startup, also a bit less
fast.
Let's see if this helps stability...

PS:
To the bug reporter. I pushed a "NoPostLaunch" in rekonq git repo.
Can you please try compiling and testing if this fixes your troubles
on startup??
Many thanks for any help.
Andrea.
CCBUG:284356

M  +18   -26   src/application.cpp
M  +0    -5    src/application.h
M  +5    -8    src/mainview.cpp
M  +2    -7    src/mainview.h
M  +55   -62   src/mainwindow.cpp
M  +0    -1    src/mainwindow.h
M  +2    -2    src/tabbar.cpp
M  +1    -0    src/webtab.cpp
M  +4    -2    src/webtab.h

http://commits.kde.org/rekonq/c8a48c13388b34099e8ee7704985d887b36acd0d
Comment 5 Gilles Maliar 2011-11-09 21:17:23 UTC
Created attachment 65455 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
I was doing nothing, it crashes ALWAYS at launch since upgrade 11.10 (with ubuntu 11.10 first, and now with kubuntu 11.10 recently installed)

-- Backtrace (Reduced):
#6  page (this=0x0) at /build/buildd/rekonq-0.8.0/src/webtab.h:71
#7  MainWindow::updateActions (this=0x2225a90) at /build/buildd/rekonq-0.8.0/src/mainwindow.cpp:716
#8  0x00007ffc955ea9e1 in MainWindow::postLaunch (this=0x2225a90) at /build/buildd/rekonq-0.8.0/src/mainwindow.cpp:272
#9  0x00007ffc955f04b1 in MainWindow::qt_metacall (this=0x2225a90, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff2ba874b0) at /build/buildd/rekonq-0.8.0/obj-x86_64-linux-gnu/src/mainwindow.moc:175
[...]
#11 0x00007ffc90137f7f in QSingleShotTimer::timerEvent (this=0x2438b80) at kernel/qtimer.cpp:308
Comment 6 Gilles Maliar 2011-11-09 21:17:24 UTC
Created attachment 65456 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
I was doing nothing, it crashes ALWAYS at launch since upgrade 11.10 (with ubuntu 11.10 first, and now with kubuntu 11.10 recently installed)

-- Backtrace (Reduced):
#6  page (this=0x0) at /build/buildd/rekonq-0.8.0/src/webtab.h:71
#7  MainWindow::updateActions (this=0x2225a90) at /build/buildd/rekonq-0.8.0/src/mainwindow.cpp:716
#8  0x00007ffc955ea9e1 in MainWindow::postLaunch (this=0x2225a90) at /build/buildd/rekonq-0.8.0/src/mainwindow.cpp:272
#9  0x00007ffc955f04b1 in MainWindow::qt_metacall (this=0x2225a90, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff2ba874b0) at /build/buildd/rekonq-0.8.0/obj-x86_64-linux-gnu/src/mainwindow.moc:175
[...]
#11 0x00007ffc90137f7f in QSingleShotTimer::timerEvent (this=0x2438b80) at kernel/qtimer.cpp:308
Comment 7 Gilles Maliar 2011-11-09 21:17:24 UTC
Created attachment 65457 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
I was doing nothing, it crashes ALWAYS at launch since upgrade 11.10 (with ubuntu 11.10 first, and now with kubuntu 11.10 recently installed)

-- Backtrace (Reduced):
#6  page (this=0x0) at /build/buildd/rekonq-0.8.0/src/webtab.h:71
#7  MainWindow::updateActions (this=0x2225a90) at /build/buildd/rekonq-0.8.0/src/mainwindow.cpp:716
#8  0x00007ffc955ea9e1 in MainWindow::postLaunch (this=0x2225a90) at /build/buildd/rekonq-0.8.0/src/mainwindow.cpp:272
#9  0x00007ffc955f04b1 in MainWindow::qt_metacall (this=0x2225a90, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff2ba874b0) at /build/buildd/rekonq-0.8.0/obj-x86_64-linux-gnu/src/mainwindow.moc:175
[...]
#11 0x00007ffc90137f7f in QSingleShotTimer::timerEvent (this=0x2438b80) at kernel/qtimer.cpp:308
Comment 8 Andrea Diamantini 2011-11-14 05:07:44 UTC
Git commit 6ce25c6e5db5a90e272fb5ca1c665c65310c1b9f by Andrea Diamantini.
Committed on 08/11/2011 at 12:42.
Pushed by adjam into branch 'master'.

Remove postLaunch calls

This will help a lot in having a clean/easy startup, also a bit less
fast.
Let's see if this helps stability...

PS:
To the bug reporter. I pushed a "NoPostLaunch" in rekonq git repo.
Can you please try compiling and testing if this fixes your troubles
on startup??
Many thanks for any help.
Andrea.
CCBUG:284356

M  +18   -26   src/application.cpp
M  +0    -5    src/application.h
M  +5    -8    src/mainview.cpp
M  +2    -7    src/mainview.h
M  +55   -62   src/mainwindow.cpp
M  +0    -1    src/mainwindow.h
M  +2    -2    src/tabbar.cpp
M  +1    -0    src/webtab.cpp
M  +4    -2    src/webtab.h

http://commits.kde.org/rekonq/6ce25c6e5db5a90e272fb5ca1c665c65310c1b9f
Comment 9 Yoann Laissus 2011-11-18 08:02:24 UTC
*** Bug 286899 has been marked as a duplicate of this bug. ***
Comment 10 Andrea Diamantini 2011-11-18 14:49:33 UTC
Git commit 830b2f24ec1375b5fee5891f10444a67da562484 by Andrea Diamantini.
Committed on 08/11/2011 at 12:42.
Pushed by adjam into branch 'Branches.0.8'.

Remove postLaunch calls

This will help a lot in having a clean/easy startup, also a bit less
fast.
Let's see if this helps stability...

PS:
To the bug reporter. I pushed a "NoPostLaunch" in rekonq git repo.
Can you please try compiling and testing if this fixes your troubles
on startup??
Many thanks for any help.
Andrea.
CCBUG:284356

M  +18   -26   src/application.cpp
M  +0    -5    src/application.h
M  +5    -8    src/mainview.cpp
M  +2    -7    src/mainview.h
M  +55   -62   src/mainwindow.cpp
M  +0    -1    src/mainwindow.h
M  +2    -2    src/tabbar.cpp
M  +1    -0    src/webtab.cpp
M  +4    -2    src/webtab.h

http://commits.kde.org/rekonq/830b2f24ec1375b5fee5891f10444a67da562484
Comment 11 Jan 2011-12-09 08:44:43 UTC
Created attachment 66532 [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:

start rekonq and immediately crashed. the main window didn't even show up.

-- Backtrace (Reduced):
#6  page (this=0x0) at /build/buildd/rekonq-0.8.0/src/webtab.h:71
#7  MainWindow::updateActions (this=0x1575b90) at /build/buildd/rekonq-0.8.0/src/mainwindow.cpp:716
#8  0x00007fbde7ee09e1 in MainWindow::postLaunch (this=0x1575b90) at /build/buildd/rekonq-0.8.0/src/mainwindow.cpp:272
#9  0x00007fbde7ee64b1 in MainWindow::qt_metacall (this=0x1575b90, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff5c0f1470) at /build/buildd/rekonq-0.8.0/obj-x86_64-linux-gnu/src/mainwindow.moc:175
[...]
#11 0x00007fbde25cdf7f in QSingleShotTimer::timerEvent (this=0x1774dc0) at kernel/qtimer.cpp:308
Comment 12 Jan 2011-12-09 08:52:06 UTC
The latest git version:
34cc0191f3e580685cc3f8b0b74160d5559544b2

The bug seems to be fixed. You have to wait for the distributions to package the new version.