Bug 281400

Summary: rekonq crashes on exit
Product: [Unmaintained] rekonq Reporter: Martin <martin.ruessler>
Component: generalAssignee: Andrea Diamantini <adjam7>
Status: RESOLVED FIXED    
Severity: crash CC: k0l0b0k.void, martin.ruessler, rod, tvaleev
Priority: NOR    
Version: unspecified   
Target Milestone: 0.10   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 0.9.1
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Martin 2011-09-05 13:39:08 UTC
Application: rekonq (0.7.55)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I closed rekonq after visiting a site with an embedded youtube video
- Custom settings of the application:
two tabs were open, both sites have flash content

The crash can be reproduced some of the time.

-- Backtrace:
Application: rekonq (rekonq), signal: Aborted
[Current thread is 1 (Thread 0x7f234a076780 (LWP 12701))]

Thread 6 (Thread 0x7f2334f56700 (LWP 12706)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2348e8a832 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f2342e10d8c in start_thread (arg=0x7f2334f56700) at pthread_create.c:304
#3  0x00007f234310e04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f233398b700 (LWP 12711)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f23498662a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f2349b7f180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f23498662d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f2349b8d254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f2342e10d8c in start_thread (arg=0x7f233398b700) at pthread_create.c:304
#4  0x00007f234310e04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f23323ec700 (LWP 12712)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2343bd182b in wait (this=<value optimized out>, mutex=0x247ba00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x247ba00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f2343ff6704 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x23158e0, th=0x2951c20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f2343ff8d73 in ThreadWeaver::WorkingHardState::applyForWork (this=0x247bb40, th=0x2951c20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f2343ff7b8f in ThreadWeaver::ThreadRunHelper::run (this=0x7f23323ebe20, parent=0x23158e0, th=0x2951c20) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f2343ff7c1b in ThreadWeaver::Thread::run (this=0x2951c20) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f2343bd1175 in QThreadPrivate::start (arg=0x2951c20) at thread/qthread_unix.cpp:320
#8  0x00007f2342e10d8c in start_thread (arg=0x7f23323ec700) at pthread_create.c:304
#9  0x00007f234310e04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f232f911700 (LWP 12717)):
#0  0x00007f233ff8c060 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f233ff8cf9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f233ff8d639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2343ce3446 in QEventDispatcherGlib::processEvents (this=0x27f85f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f2343cb7882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2343cb7abc in QEventLoop::exec (this=0x7f232f910dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f2343bce924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f2343c99c2f in QInotifyFileSystemWatcherEngine::run (this=0x2793e60) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f2343bd1175 in QThreadPrivate::start (arg=0x2793e60) at thread/qthread_unix.cpp:320
#9  0x00007f2342e10d8c in start_thread (arg=0x7f232f911700) at pthread_create.c:304
#10 0x00007f234310e04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f232e1ba700 (LWP 12887)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2343bd182b in wait (this=<value optimized out>, mutex=0x247ba00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x247ba00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f2343ff6704 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x23158e0, th=0x101b03e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f2343ff8d73 in ThreadWeaver::WorkingHardState::applyForWork (this=0x247bb40, th=0x101b03e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f2343ff7b8f in ThreadWeaver::ThreadRunHelper::run (this=0x7f232e1b9e20, parent=0x23158e0, th=0x101b03e0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f2343ff7c1b in ThreadWeaver::Thread::run (this=0x101b03e0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f2343bd1175 in QThreadPrivate::start (arg=0x101b03e0) at thread/qthread_unix.cpp:320
#8  0x00007f2342e10d8c in start_thread (arg=0x7f232e1ba700) at pthread_create.c:304
#9  0x00007f234310e04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f234a076780 (LWP 12701)):
[KCrash Handler]
#6  0x00007f234305bd05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f234305fab6 in abort () at abort.c:92
#8  0x00007f2343094d7b in __libc_message (do_abort=2, fmt=0x7f234317d400 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f234309ebb6 in malloc_printerr (action=3, str=0x7f234317d9a8 "malloc(): smallbin double linked list corrupted", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007f23430a1e78 in _int_malloc (av=0x7f23433b71c0, bytes=<value optimized out>) at malloc.c:4308
#11 0x00007f23430a431e in __libc_malloc (bytes=248) at malloc.c:3660
#12 0x00007f2343bd33cd in QByteArray::resize (this=0x7fff5ca0e1c0, size=216) at tools/qbytearray.cpp:1386
#13 0x00007f2343cebb1f in QUtf8::convertFromUnicode (uc=0x371a20a, len=72, state=0x0) at codecs/qutfcodec.cpp:79
#14 0x00007f2343cebd41 in QUtf8Codec::convertFromUnicode (this=<value optimized out>, uc=<value optimized out>, len=<value optimized out>, state=<value optimized out>) at codecs/qutfcodec.cpp:522
#15 0x00007f2343ce80f7 in QTextCodec::fromUnicode (this=<value optimized out>, str=<value optimized out>) at codecs/qtextcodec.cpp:1379
#16 0x00007f2343c14d91 in QString::toLocal8Bit (this=0x7fff5ca0e1f0) at tools/qstring.cpp:3676
#17 0x00007f2343c4d0c9 in locale_encode (f=<value optimized out>) at io/qfile.cpp:71
#18 0x00007f2343c4d50a in QFile::encodeName (fileName=<value optimized out>) at io/qfile.cpp:482
#19 0x00007f23448b248b in KStandardDirs::exists (fullPath=...) at ../../kdecore/kernel/kstandarddirs.cpp:598
#20 0x00007f23448b962a in KStandardDirs::findResourceDir (this=<value optimized out>, type=<value optimized out>, _filename=<value optimized out>) at ../../kdecore/kernel/kstandarddirs.cpp:574
#21 0x00007f23448b9714 in KStandardDirs::findResource (this=0x2304320, type=0x7f23449aca32 "locale", _filename=...) at ../../kdecore/kernel/kstandarddirs.cpp:482
#22 0x00007f23448b9855 in KStandardDirs::locate (type=0x7f23449aca32 "locale", filename=..., cData=<value optimized out>) at ../../kdecore/kernel/kstandarddirs.cpp:2115
#23 0x00007f2344944fe3 in KLocalizedStringPrivate::notifyCatalogsUpdated (languages=..., catalogs=...) at ../../kdecore/localization/klocalizedstring.cpp:1001
#24 0x00007f2344939487 in KLocalePrivate::updateCatalogs (this=0x24f02f0) at ../../kdecore/localization/klocale_kde.cpp:861
#25 0x00007f2344938909 in KLocalePrivate::removeCatalog (this=0x24f02f0, catalog=<value optimized out>) at ../../kdecore/localization/klocale_kde.cpp:877
#26 0x00007f23448b0bcc in ~KComponentDataPrivate (this=0x2a10cd8, __in_chrg=<value optimized out>) at ../../kdecore/kernel/kcomponentdata_p.h:54
#27 deref (this=0x2a10cd8, __in_chrg=<value optimized out>) at ../../kdecore/kernel/kcomponentdata_p.h:71
#28 KComponentData::~KComponentData (this=0x2a10cd8, __in_chrg=<value optimized out>) at ../../kdecore/kernel/kcomponentdata.cpp:123
#29 0x00007f234497a41f in ~KPluginFactoryPrivate (this=0x2a10150, __in_chrg=<value optimized out>) at ../../kdecore/util/kpluginfactory_p.h:42
#30 KPluginFactory::~KPluginFactory (this=0x2a10150, __in_chrg=<value optimized out>) at ../../kdecore/util/kpluginfactory.cpp:91
#31 0x00007f2332c2dad3 in ?? () from /usr/lib/kde4/kshorturifilter.so
#32 0x00007f2343cd0e65 in QObjectCleanupHandler::clear (this=0x27c2980) at kernel/qobjectcleanuphandler.cpp:140
#33 0x00007f2343cd0e9b in QObjectCleanupHandler::~QObjectCleanupHandler (this=0x27c2980, __in_chrg=<value optimized out>) at kernel/qobjectcleanuphandler.cpp:86
#34 0x00007f2343cd0ee9 in QObjectCleanupHandler::~QObjectCleanupHandler (this=0x27c2980, __in_chrg=<value optimized out>) at kernel/qobjectcleanuphandler.cpp:87
#35 0x00007f2343061961 in __run_exit_handlers (status=0) at exit.c:78
#36 exit (status=0) at exit.c:100
#37 0x00007f2343046f06 in __libc_start_main (main=0x4008d0 <_start+256>, argc=2, ubp_av=0x7fff5ca0e6f8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff5ca0e6e8) at libc-start.c:258
#38 0x00000000004007f9 in _start ()

Possible duplicates by query: bug 279101, bug 265308, bug 257738, bug 253841, bug 253490.

Reported using DrKonqi
Comment 1 Andrea Diamantini 2011-09-16 14:13:28 UTC
*** Bug 282052 has been marked as a duplicate of this bug. ***
Comment 2 Andrea Diamantini 2011-09-16 14:14:27 UTC
Collecting/testing/managing all close/exit crash bugs here
Comment 3 Andrea Diamantini 2011-09-16 14:14:52 UTC
*** Bug 282089 has been marked as a duplicate of this bug. ***
Comment 4 Andrea Diamantini 2012-01-24 10:15:23 UTC
Can you please check this with:
rekonq 0.8.1
qtwebkit 2.2.x
kdelibs 4.7.x

I just have a couple of people finding this fixed upstream in this situation.
Comment 5 Martin 2012-01-29 11:56:00 UTC
At the moment I still (again?) have the bug. I am using
rekonq 0.8.72
qtwebkit 2.2.1
kdelibs 4.8.0

It is enough to visit the youtube main page to get a crash. This works every time.
Comment 6 Martin 2012-01-29 12:55:39 UTC
Created attachment 68299 [details]
New crash information added by DrKonqi

rekonq (0.8.72) on KDE Platform 4.8.00 (4.8.0 using Qt 4.8.0

This is a recent backtrace, even though Dr. Konqi complains that I do not have all debug symbols installed (I just tried to install them before but the needed packages could not be found). I hope that helps.

-- Backtrace (Reduced):
#13 0x00007fb7e6d1e86c in WebCore::PluginView::stop (this=0x7fb7d8fef6c0) at plugins/PluginView.cpp:385
#14 0x00007fb7e6d1f6a5 in WebCore::PluginView::~PluginView (this=0x7fb7d8fef6c0, __in_chrg=<optimized out>) at plugins/PluginView.cpp:301
#15 0x00007fb7e6d1fdd9 in WebCore::PluginView::~PluginView (this=0x7fb7d8fef6c0, __in_chrg=<optimized out>) at plugins/PluginView.cpp:314
[...]
#17 derefIfNotNull<WebCore::Widget> (ptr=<optimized out>) at ../JavaScriptCore/wtf/PassRefPtr.h:59
#18 derefIfNotNull<WebCore::Widget> (ptr=<optimized out>) at ../JavaScriptCore/wtf/HashTable.h:888
Comment 7 Andrea Diamantini 2012-01-29 21:24:40 UTC
If it crashed on youtube, the PluginView code crashing you see in the backtrace crashes surely cause of flash. What's your flash version?
Comment 8 Martin 2012-01-30 17:33:53 UTC
My flash version is 11.1.102.55.

Somehow it always comes down to flash not working properly...
Comment 9 Andrea Diamantini 2012-01-31 07:29:10 UTC
(In reply to comment #6)
> Created an attachment (id=68299) [details]
> New crash information added by DrKonqi
> 
> rekonq (0.8.72) on KDE Platform 4.8.00 (4.8.0 using Qt 4.8.0
> 
> This is a recent backtrace, even though Dr. Konqi complains that I do not have
> all debug symbols installed (I just tried to install them before but the needed
> packages could not be found). I hope that helps.
> 

No, I'm sorry. This is another upstream bug.
> -- Backtrace (Reduced):
> #13 0x00007fb7e6d1e86c in WebCore::PluginView::stop (this=0x7fb7d8fef6c0) at
> plugins/PluginView.cpp:385
> #14 0x00007fb7e6d1f6a5 in WebCore::PluginView::~PluginView
> (this=0x7fb7d8fef6c0, __in_chrg=<optimized out>) at plugins/PluginView.cpp:301
> #15 0x00007fb7e6d1fdd9 in WebCore::PluginView::~PluginView
> (this=0x7fb7d8fef6c0, __in_chrg=<optimized out>) at plugins/PluginView.cpp:314
> [...]
> #17 derefIfNotNull<WebCore::Widget> (ptr=<optimized out>) at
> ../JavaScriptCore/wtf/PassRefPtr.h:59
> #18 derefIfNotNull<WebCore::Widget> (ptr=<optimized out>) at
> ../JavaScriptCore/wtf/HashTable.h:888
Comment 10 Martin 2012-05-25 08:38:06 UTC
Since some time I haven't experienced this bug. Could be that it is already resolved. Using rekonq 0.9.1 with KDE 4.8.3 and Flash 11.2.202.235. I will close it for now.