Bug 233768 - rekonq crash on quit
Summary: rekonq crash on quit
Status: RESOLVED WORKSFORME
Alias: None
Product: rekonq
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Andrea Diamantini
URL:
Keywords:
Depends on:
Blocks: 237890
  Show dependency treegraph
 
Reported: 2010-04-08 20:37 UTC by Mathias Panzenböck
Modified: 2010-09-04 10:01 UTC (History)
1 user (show)

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 Mathias Panzenböck 2010-04-08 20:37:23 UTC
Application: rekonq (0.4.59)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32.10-90.fc12.x86_64 x86_64
Distribution: "Fedora release 12 (Constantine)"

-- Information about the crash:
I use current git of rekonq: 43dc2695d62fd2e4fc01aff608bb2af3e8335040 (Thu Apr 8 02:53:38 2010 +0200)

I tested rekonq by opening a LOT of galleries and images on deviantart.com and one youtube video. The good news: rekonq seems to scale much better than firefox. There is no noticable decrease in performance when opening a lot of tabs.
The bad news: deviantArts JavaScript is very buggy with rekonq (dragging images to your favourites, middle-clicking images in the gallery seems not to raise a mouse-up event). And when I closed the browser window (with all tabs still open) rekonq crashed.

 -- Backtrace:
Application: rekonq (rekonq), signal: Aborted
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f1b60058840 (LWP 21128))]

Thread 7 (Thread 0x7f1b55482710 (LWP 21129)):
#0  0x00000037fd8a4d1d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000037fd8a4b90 in __sleep (seconds=0) at ../sysdeps/unix/sysv/linux/sleep.c:138
#2  0x00007f1b6777d147 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f1b6777d1f9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#4  0x00000037fe406a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00000037fd8de67d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f1b53eb6710 (LWP 21133)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1b6416289b in wait (this=<value optimized out>, mutex=0x2707500, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2707500, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f1b6455ff86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x279fd00, th=0x29732f0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1b645624ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x273d810, th=0x29732f0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1b645624c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x273d810, th=0x29732f0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f1b64560e6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f1b53eb5d50, parent=0x279fd00, th=0x29732f0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f1b64561358 in ThreadWeaver::Thread::run (this=0x29732f0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f1b641619a5 in QThreadPrivate::start (arg=0x29732f0) at thread/qthread_unix.cpp:248
#9  0x00000037fe406a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00000037fd8de67d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f1b5284f710 (LWP 21135)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1b6416289b in wait (this=<value optimized out>, mutex=0x278baf0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x278baf0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f1b67c5d0d8 in WebCore::IconDatabase::syncThreadMainLoop() () from /usr/lib64/libQtWebKit.so.4
#4  0x00007f1b67c5d268 in WebCore::IconDatabase::iconDatabaseSyncThread() () from /usr/lib64/libQtWebKit.so.4
#5  0x00007f1b6778271b in WTF::ThreadPrivate::run() () from /usr/lib64/libQtWebKit.so.4
#6  0x00007f1b641619a5 in QThreadPrivate::start (arg=0x29c2480) at thread/qthread_unix.cpp:248
#7  0x00000037fe406a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#8  0x00000037fd8de67d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1b4bbef710 (LWP 21211)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1b6416289b in wait (this=<value optimized out>, mutex=0x2707500, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2707500, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f1b6455ff86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x279fd00, th=0x63b1790) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1b645624ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x273d810, th=0x63b1790) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1b645624c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x273d810, th=0x63b1790) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f1b645624c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x273d810, th=0x63b1790) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f1b64560e6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f1b4bbeed50, parent=0x279fd00, th=0x63b1790) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:87
#8  0x00007f1b64561358 in ThreadWeaver::Thread::run (this=0x63b1790) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:142
#9  0x00007f1b641619a5 in QThreadPrivate::start (arg=0x63b1790) at thread/qthread_unix.cpp:248
#10 0x00000037fe406a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#11 0x00000037fd8de67d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1b49be6710 (LWP 21267)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1b6416289b in wait (this=<value optimized out>, mutex=0x2707500, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2707500, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f1b6455ff86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x279fd00, th=0x3c8a4b0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1b645624ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x273d810, th=0x3c8a4b0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1b645624c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x273d810, th=0x3c8a4b0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f1b645624c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x273d810, th=0x3c8a4b0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f1b645624c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x273d810, th=0x3c8a4b0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f1b64560e6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f1b49be5d50, parent=0x279fd00, th=0x3c8a4b0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:87
#9  0x00007f1b64561358 in ThreadWeaver::Thread::run (this=0x3c8a4b0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:142
#10 0x00007f1b641619a5 in QThreadPrivate::start (arg=0x3c8a4b0) at thread/qthread_unix.cpp:248
#11 0x00000037fe406a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#12 0x00000037fd8de67d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1b217e1710 (LWP 21275)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1b6416289b in wait (this=<value optimized out>, mutex=0x2707500, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2707500, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f1b6455ff86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x279fd00, th=0x652cb10) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1b645624ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x273d810, th=0x652cb10) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1b64560e6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f1b217e0d50, parent=0x279fd00, th=0x652cb10) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f1b64561358 in ThreadWeaver::Thread::run (this=0x652cb10) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f1b641619a5 in QThreadPrivate::start (arg=0x652cb10) at thread/qthread_unix.cpp:248
#8  0x00000037fe406a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x00000037fd8de67d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1b60058840 (LWP 21128)):
[KCrash Handler]
#5  0x00000037fd8326c5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00000037fd833ea5 in abort () at abort.c:92
#7  0x00000037fd86f0f3 in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
#8  0x00000037fd874a76 in malloc_printerr (action=3, str=0x37fd93c368 "free(): invalid pointer", ptr=<value optimized out>) at malloc.c:6264
#9  0x00000037ff44cf42 in process_responses (dpy=0x26291b0, wait_for_first_event=<value optimized out>, current_error=<value optimized out>, current_request=14637395) at xcb_io.c:223
#10 0x00000037ff44d580 in _XReply (dpy=0x26291b0, rep=0x7fff44742fd0, extra=0, discard=1) at xcb_io.c:457
#11 0x00000037ff441043 in XSync (dpy=0x26291b0, discard=0) at Sync.c:48
#12 0x0000003803c06ff1 in XRenderFindDisplay () from /usr/lib64/libXrender.so.1
#13 0x0000003803c04dae in XRenderChangePicture () from /usr/lib64/libXrender.so.1
#14 0x00007f1b64af559d in QX11PaintEngine::end (this=0xd320b40) at painting/qpaintengine_x11.cpp:573
#15 0x00007f1b64a53ab9 in QPainter::end (this=<value optimized out>) at painting/qpainter.cpp:1935
#16 0x00007f1b64a545d8 in QPainter::~QPainter (this=0xd382430, __in_chrg=<value optimized out>) at painting/qpainter.cpp:1490
#17 0x00007f1b67bcdf8c in WebCore::ImageBuffer::~ImageBuffer() () from /usr/lib64/libQtWebKit.so.4
#18 0x00007f1b6797e0a7 in WebCore::HTMLCanvasElement::~HTMLCanvasElement() () from /usr/lib64/libQtWebKit.so.4
#19 0x00007f1b6797e169 in WebCore::HTMLCanvasElement::~HTMLCanvasElement() () from /usr/lib64/libQtWebKit.so.4
#20 0x00007f1b6787fba7 in WebCore::ContainerNode::removeAllChildren() () from /usr/lib64/libQtWebKit.so.4
#21 0x00007f1b678805f2 in WebCore::ContainerNode::~ContainerNode() () from /usr/lib64/libQtWebKit.so.4
#22 0x00007f1b6797ff39 in WebCore::HTMLDivElement::~HTMLDivElement() () from /usr/lib64/libQtWebKit.so.4
#23 0x00007f1b67e5bc41 in WebCore::JSNode::~JSNode() () from /usr/lib64/libQtWebKit.so.4
#24 0x00007f1b676fb870 in unsigned long JSC::Heap::sweep<(JSC::HeapType)0>() () from /usr/lib64/libQtWebKit.so.4
#25 0x00007f1b676fd48f in JSC::Heap::collect() () from /usr/lib64/libQtWebKit.so.4
#26 0x00007f1b67791345 in WebCore::GCController::gcTimerFired(WebCore::Timer<WebCore::GCController>*) () from /usr/lib64/libQtWebKit.so.4
#27 0x00007f1b67ae40c6 in WebCore::ThreadTimers::sharedTimerFiredInternal() () from /usr/lib64/libQtWebKit.so.4
#28 0x00007f1b67bec863 in WebCore::SharedTimerQt::~SharedTimerQt() () from /usr/lib64/libQtWebKit.so.4
#29 0x00007f1b67bec8c9 in WebCore::SharedTimerQt::~SharedTimerQt() () from /usr/lib64/libQtWebKit.so.4
#30 0x00007f1b642566fc in QObjectPrivate::deleteChildren (this=0x25f4ca0) at kernel/qobject.cpp:1986
#31 0x00007f1b6425d149 in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:975
#32 0x00007f1b64921488 in QApplication::~QApplication (this=0x7fff447435c0, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1116
#33 0x00007f1b687c3416 in Application::~Application (this=0x7fff447435c0, __in_chrg=<value optimized out>) at /home/panzi/software/kde4/rekonq/src/application.cpp:104
#34 0x00007f1b68820e75 in kdemain (argc=1, argv=0x7fff44743c28) at /home/panzi/software/kde4/rekonq/src/main.cpp:157
#35 0x0000000000400836 in main (argc=1, argv=0x7fff44743c28) at /home/panzi/software/kde4/rekonq/build/src/rekonq_dummy.cpp:3

Possible duplicates by query: bug 163538.

Reported using DrKonqi
Comment 1 Dario Andres 2010-04-09 14:41:57 UTC
This looks like bug 196207... do you get this crash all the times you repeat the same situation ? If you do, there is a test to perform...
Regards
Comment 2 Mathias Panzenböck 2010-04-09 15:00:47 UTC
Using several devinatArt and one YouTube tab I couldn't reproduce the crash.

How could this be related to bug 196207? That bug seems to be about gtk apps, which rekonq isn't.
Comment 3 Dario Andres 2010-04-09 15:05:33 UTC
<offtopic>The description of that other bug is not really the best... it is a cause related to multithreading apps using glib (one of the gtk pillars), causing a crash on free(). As Qt use glib (to be able to integrate with other gtk plugins), some applications are affected if you have the affected glib version)
The backtrace seems to match, so the crash could be related, or not, that is why we need to test...</offtopic>
Comment 4 Andrea Diamantini 2010-05-14 01:51:45 UTC
I really cannot reproduce this, sorry. I'll move to a worksforme if no news will arrive here in a couple of days..
Comment 5 Andrea Diamantini 2010-05-21 01:56:26 UTC
worksforme:
rekonq 0.4.70
kdelibs 4.4.3
qt 4.6.2