Bug 277436

Summary: Rekonq crashes on close when a bookmark folder has been clicked
Product: [Unmaintained] rekonq Reporter: tzabal
Component: generalAssignee: Andrea Diamantini <adjam7>
Status: RESOLVED FIXED    
Severity: crash CC: anpa.blanco.amor, dseres, eric.maniscalco, jmmdominguez, lanternslight456, yoann.laissus
Priority: NOR    
Version: 0.7.0   
Target Milestone: 0.8   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description tzabal 2011-07-09 21:11:58 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-8-generic x86_64
Distribution: Ubuntu 11.04

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

I was closing Rekonq.

Specifically, if i click on a Bookmark folder, just to see which bookmarks are listed there and then close Rekonq, an error occured.
It doesn't come up with an error while browsing, just when i close the program.

The crash can be reproduced every time.

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

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

Thread 4 (Thread 0x7fd2c7095700 (LWP 3902)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd2dd2bd2a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fd2dd5d6180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fd2dd2bd2d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fd2dd5e4254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fd2d8069d8c in start_thread (arg=0x7fd2c7095700) at pthread_create.c:304
#4  0x00007fd2dd6cb04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd2c483e700 (LWP 3903)):
#0  0x00007fd2dd6bdf03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd2d4aa2104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd2d4aa2639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd2d8992446 in QEventDispatcherGlib::processEvents (this=0x7fd2c00008b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fd2d8966882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd2d8966abc in QEventLoop::exec (this=0x7fd2c483ddd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fd2d887d924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007fd2d8948c2f in QInotifyFileSystemWatcherEngine::run (this=0xd35ef0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd2d8880175 in QThreadPrivate::start (arg=0xd35ef0) at thread/qthread_unix.cpp:320
#9  0x00007fd2d8069d8c in start_thread (arg=0x7fd2c483e700) at pthread_create.c:304
#10 0x00007fd2dd6cb04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd2bb201700 (LWP 3910)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd2d888082b in wait (this=<value optimized out>, mutex=0x844250, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x844250, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fd2da8400b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8449f0, th=0x1169650) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd2da842723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x845d60, th=0x1169650) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd2da84153f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd2bb200e20, parent=0x8449f0, th=0x1169650) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fd2da8415cb in ThreadWeaver::Thread::run (this=0x1169650) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fd2d8880175 in QThreadPrivate::start (arg=0x1169650) at thread/qthread_unix.cpp:320
#8  0x00007fd2d8069d8c in start_thread (arg=0x7fd2bb201700) at pthread_create.c:304
#9  0x00007fd2dd6cb04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd2dde68780 (LWP 3900)):
[KCrash Handler]
#6  0x00007fd2d9048fa9 in QRasterWindowSurface::~QRasterWindowSurface (this=0x11516f0, __in_chrg=<value optimized out>) at painting/qwindowsurface_raster.cpp:104
#7  0x00007fd2d9049029 in QRasterWindowSurface::~QRasterWindowSurface (this=0x11516f0, __in_chrg=<value optimized out>) at painting/qwindowsurface_raster.cpp:108
#8  0x00007fd2d90635e2 in QWidgetBackingStore::~QWidgetBackingStore (this=0x115a910, __in_chrg=<value optimized out>) at painting/qbackingstore.cpp:883
#9  0x00007fd2d8e9f779 in QWidgetBackingStoreTracker::destroy (this=0x11512e0) at kernel/qwidget.cpp:210
#10 0x00007fd2d8e9f8c9 in QWidgetPrivate::deleteExtra (this=0x1141b70) at kernel/qwidget.cpp:1776
#11 0x00007fd2d8e9fb0c in QWidgetPrivate::~QWidgetPrivate (this=0x1141b70, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:337
#12 0x00007fd2d9299e6d in ~QMenuPrivate (this=0x1141b70, __in_chrg=<value optimized out>) at widgets/qmenu_p.h:171
#13 QMenuPrivate::~QMenuPrivate (this=0x1141b70, __in_chrg=<value optimized out>) at widgets/qmenu_p.h:183
#14 0x00007fd2d897e645 in cleanup (this=0xeea190, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#15 ~QScopedPointer (this=0xeea190, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#16 QObject::~QObject (this=0xeea190, __in_chrg=<value optimized out>) at kernel/qobject.cpp:818
#17 0x00007fd2d8ea1f70 in QWidget::~QWidget (this=0xeea190, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1508
#18 0x00007fd2db44f119 in KMenu::~KMenu (this=0xeea190, __in_chrg=<value optimized out>) at ../../kdeui/widgets/kmenu.cpp:167
#19 0x00007fd2db2ac546 in KActionMenu::~KActionMenu (this=0x1122e40, __in_chrg=<value optimized out>) at ../../kdeui/actions/kactionmenu.cpp:77
#20 0x00007fd2dae5d9e9 in KBookmarkActionMenu::~KBookmarkActionMenu (this=0x1122e40, __in_chrg=<value optimized out>) at ../../kio/bookmarks/kbookmarkmenu.cc:763
#21 0x00007fd2d8979c14 in QObjectPrivate::deleteChildren (this=0x8791d0) at kernel/qobject.cpp:1964
#22 0x00007fd2d897e5f4 in QObject::~QObject (this=0xca5660, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#23 0x00007fd2dda26d3e in BookmarkMenu::~BookmarkMenu (this=0xca5660, __in_chrg=<value optimized out>) at /build/buildd/rekonq-0.7.0/src/bookmarks/bookmarkstoolbar.cpp:63
#24 0x00007fd2dda26da9 in BookmarkMenu::~BookmarkMenu (this=0xca5660, __in_chrg=<value optimized out>) at /build/buildd/rekonq-0.7.0/src/bookmarks/bookmarkstoolbar.cpp:66
#25 0x00007fd2d8979c14 in QObjectPrivate::deleteChildren (this=0x878c50) at kernel/qobject.cpp:1964
#26 0x00007fd2d8ea1ee2 in QWidget::~QWidget (this=0xa6df50, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1631
#27 0x00007fd2db44f119 in KMenu::~KMenu (this=0xa6df50, __in_chrg=<value optimized out>) at ../../kdeui/widgets/kmenu.cpp:167
#28 0x00007fd2db2ac546 in KActionMenu::~KActionMenu (this=0xa72d00, __in_chrg=<value optimized out>) at ../../kdeui/actions/kactionmenu.cpp:77
#29 0x00007fd2dae5d9e9 in KBookmarkActionMenu::~KBookmarkActionMenu (this=0xa72d00, __in_chrg=<value optimized out>) at ../../kio/bookmarks/kbookmarkmenu.cc:763
#30 0x00007fd2d8979c14 in QObjectPrivate::deleteChildren (this=0xa4a540) at kernel/qobject.cpp:1964
#31 0x00007fd2d897e5f4 in QObject::~QObject (this=0xa4a500, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#32 0x00007fd2dda22cf9 in BookmarkProvider::~BookmarkProvider (this=0xa4a500, __in_chrg=<value optimized out>) at /build/buildd/rekonq-0.7.0/src/bookmarks/bookmarkprovider.cpp:99
#33 0x00007fd2d8979c14 in QObjectPrivate::deleteChildren (this=0x799520) at kernel/qobject.cpp:1964
#34 0x00007fd2d897e5f4 in QObject::~QObject (this=0x7fff245790b0, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#35 0x00007fd2d8e5f112 in QApplication::~QApplication (this=0x7fff245790b0, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1080
#36 0x00007fd2dd9d426f in Application::~Application (this=0x7fff245790b0, __in_chrg=<value optimized out>) at /build/buildd/rekonq-0.7.0/src/application.cpp:84
#37 0x00007fd2dda58900 in kdemain (argc=1, argv=<value optimized out>) at /build/buildd/rekonq-0.7.0/src/main.cpp:213
#38 0x00007fd2dd603eff in __libc_start_main (main=0x400730 <main(int, char**)>, argc=1, ubp_av=0x7fff24579a38, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff24579a28) at libc-start.c:226
#39 0x0000000000400659 in _start ()

Possible duplicates by query: bug 277215, bug 277044, bug 274590, bug 274198, bug 274085.

Reported using DrKonqi
Comment 1 Yoann Laissus 2011-07-12 09:18:13 UTC
*** Bug 277215 has been marked as a duplicate of this bug. ***
Comment 2 Yoann Laissus 2011-07-12 09:29:50 UTC
Can you try with a git build ? 
Many fixes have been committed since the 0.7 release.
Comment 3 dseres 2011-09-03 07:32:00 UTC
Created attachment 63342 [details]
New crash information added by DrKonqi

rekonq (0.7.0) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.2

- What I was doing when the application crashed:

I closed reqonq. Before it i opened serveral tabs. One contained a java applet.

-- Backtrace (Reduced):
#7  0x06a8d43a in QRasterWindowSurface::~QRasterWindowSurface (this=0xa35a698, __in_chrg=<value optimized out>) at painting/qwindowsurface_raster.cpp:104
#8  0x06a8d4d2 in QRasterWindowSurface::~QRasterWindowSurface (this=0xa35a698, __in_chrg=<value optimized out>) at painting/qwindowsurface_raster.cpp:108
#9  0x06aa90c1 in QWidgetBackingStore::~QWidgetBackingStore (this=0xa353d98, __in_chrg=<value optimized out>) at painting/qbackingstore.cpp:883
#10 0x068cb86b in QWidgetBackingStoreTracker::destroy (this=0xa09bce8) at kernel/qwidget.cpp:210
#11 0x068cb9c1 in QWidgetPrivate::deleteExtra (this=0x9dabe28) at kernel/qwidget.cpp:1776
Comment 4 Andrea Diamantini 2011-09-16 14:18:20 UTC
Should be fixed in master. 0.7.80 here.
Comment 5 Andrea Diamantini 2011-09-16 14:20:02 UTC
*** Bug 280276 has been marked as a duplicate of this bug. ***
Comment 6 Andrea Diamantini 2011-12-06 22:40:22 UTC
*** Bug 282643 has been marked as a duplicate of this bug. ***
Comment 7 Lamarque V. Souza 2011-12-29 11:34:09 UTC
*** Bug 274198 has been marked as a duplicate of this bug. ***