Bug 311326 - Konqueror crashes sometimes when tab closed
Summary: Konqueror crashes sometimes when tab closed
Status: RESOLVED UPSTREAM
Alias: None
Product: kwebkitpart
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 1.3.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: webkit-devel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-08 04:59 UTC by Dave Jeffery
Modified: 2013-01-21 20:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Jeffery 2012-12-08 04:59:22 UTC
Application: konqueror (4.9.3)
KDE Platform Version: 4.9.3
Qt Version: 4.8.4
Operating System: Linux 3.6.9-4.fc18.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

i) I was looking at the website met.hu in a tab, with another tab open
ii) Closed tab containing met.hu
iii) Konqueror crashed

No other applications were open at the time apart from Amarok.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f84793a6880 (LWP 1478))]

Thread 5 (Thread 0x7f846a336700 (LWP 1479)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003282a1672d in WTF::TCMalloc_PageHeap::scavengerThread (this=0x3283400ce0 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:2495
#2  0x0000003282a16839 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x0000003291807d15 in start_thread (arg=0x7f846a336700) at pthread_create.c:308
#4  0x00000032914f22cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 4 (Thread 0x7f8469a35700 (LWP 1480)):
#0  g_mutex_get_impl (mutex=0x7f84640009a0) at gthread-posix.c:120
#1  0x0000003291084dc9 in g_mutex_unlock (mutex=mutex@entry=0x7f84640009a0) at gthread-posix.c:229
#2  0x0000003291047d39 in g_main_context_poll (n_fds=1, fds=0x7f84640029c0, timeout=8349, context=0x7f84640009a0, priority=<optimized out>) at gmain.c:3583
#3  g_main_context_iterate (context=context@entry=0x7f84640009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#4  0x0000003291047e64 in g_main_context_iteration (context=0x7f84640009a0, may_block=1) at gmain.c:3351
#5  0x00000032765a60f6 in QEventDispatcherGlib::processEvents (this=0x7f84640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00000032765767df in QEventLoop::processEvents (this=this@entry=0x7f8469a34d00, flags=...) at kernel/qeventloop.cpp:149
#7  0x0000003276576a68 in QEventLoop::exec (this=0x7f8469a34d00, flags=...) at kernel/qeventloop.cpp:204
#8  0x0000003276478950 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x000000327647b92c in QThreadPrivate::start (arg=0x1190f50) at thread/qthread_unix.cpp:338
#10 0x0000003291807d15 in start_thread (arg=0x7f8469a35700) at pthread_create.c:308
#11 0x00000032914f22cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 3 (Thread 0x7f8468850700 (LWP 1498)):
#0  0x00000032914e97ed in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003291047d44 in g_main_context_poll (n_fds=1, fds=0x7f841c002850, timeout=-1, context=0x7f841c0009a0, priority=<optimized out>) at gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7f841c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#3  0x0000003291047e64 in g_main_context_iteration (context=0x7f841c0009a0, may_block=1) at gmain.c:3351
#4  0x00000032765a60f6 in QEventDispatcherGlib::processEvents (this=0x7f841c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00000032765767df in QEventLoop::processEvents (this=this@entry=0x7f846884fcd0, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003276576a68 in QEventLoop::exec (this=0x7f846884fcd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003276478950 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x0000003879da387e in KIO::NameLookUpThread::run (this=0x146ad60) at /usr/src/debug/kdelibs-4.9.3/kio/kio/hostinfo.cpp:226
#9  0x000000327647b92c in QThreadPrivate::start (arg=0x146ad60) at thread/qthread_unix.cpp:338
#10 0x0000003291807d15 in start_thread (arg=0x7f8468850700) at pthread_create.c:308
#11 0x00000032914f22cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7f8423fff700 (LWP 1723)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x000000327647bde7 in wait (time=30000, this=0x7f841c002bb0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x7f841c002b28, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x000000327646f66f in QThreadPoolThread::run (this=0x7f841c002f10) at concurrent/qthreadpool.cpp:141
#4  0x000000327647b92c in QThreadPrivate::start (arg=0x7f841c002f10) at thread/qthread_unix.cpp:338
#5  0x0000003291807d15 in start_thread (arg=0x7f8423fff700) at pthread_create.c:308
#6  0x00000032914f22cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7f84793a6880 (LWP 1478)):
[KCrash Handler]
#6  ref (this=0x9) at ../../src/corelib/arch/qatomic_x86_64.h:121
#7  QtSharedPointer::ExternalRefCountData::getAndRef (obj=0x3001ae0) at tools/qsharedpointer.cpp:1257
#8  0x0000003276a797c2 in QWeakPointer<QObject> (ptr=0x3001ae0, this=<optimized out>) at ../../src/corelib/tools/qsharedpointer_impl.h:595
#9  operator=<QObject> (ptr=0x3001ae0, this=0x21e7580) at ../../src/corelib/tools/qsharedpointer_impl.h:600
#10 QNetworkRequest::setOriginatingObject (this=0x7fff557f9950, object=0x3001ae0) at access/qnetworkrequest.cpp:565
#11 0x000000328270aae1 in WebCore::ResourceRequest::toNetworkRequest (this=0x7fff557f99b0, originatingFrame=0x3001ae0) at platform/network/qt/ResourceRequestQt.cpp:50
#12 0x000000328270f53c in WebCore::QNetworkReplyHandler::redirect (this=this@entry=0x1ef2780, response=..., redirection=...) at platform/network/qt/QNetworkReplyHandler.cpp:569
#13 0x0000003282710230 in WebCore::QNetworkReplyHandler::sendResponseIfNeeded (this=0x1ef2780) at platform/network/qt/QNetworkReplyHandler.cpp:520
#14 0x000000328270dbf2 in flush (this=0x1ef27b8) at platform/network/qt/QNetworkReplyHandler.cpp:195
#15 WebCore::QNetworkReplyHandlerCallQueue::flush (this=0x1ef27b8) at platform/network/qt/QNetworkReplyHandler.cpp:187
#16 0x000000328270ec0a in ~QueueLocker (this=<synthetic pointer>, __in_chrg=<optimized out>) at platform/network/qt/QNetworkReplyHandler.cpp:203
#17 WebCore::QNetworkReplyWrapper::receiveMetaData (this=0x1d00f80) at platform/network/qt/QNetworkReplyHandler.cpp:276
#18 0x000000327658cebf in QMetaObject::activate (sender=0x2bdba80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#19 0x000000327657f8d7 in QMetaMethod::invoke (this=this@entry=0x7fff557fa250, object=object@entry=0x2bdba80, connectionType=Qt::DirectConnection, connectionType@entry=Qt::AutoConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#20 0x0000003276581cac in QMetaObject::invokeMethod (obj=0x2bdba80, member=<optimized out>, type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#21 0x0000003879cc316c in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::AutoConnection, member=0x3879e25d3a "finished", obj=0x2bdba80) at /usr/include/QtCore/qobjectdefs.h:418
#22 KDEPrivate::AccessManagerReply::emitFinished (this=this@entry=0x2bdba80, state=state@entry=true, type=type@entry=Qt::AutoConnection) at /usr/src/debug/kdelibs-4.9.3/kio/kio/accessmanagerreply_p.cpp:484
#23 0x0000003879cc4465 in KDEPrivate::AccessManagerReply::slotResult (this=0x2bdba80, kJob=0x2a6c190) at /usr/src/debug/kdelibs-4.9.3/kio/kio/accessmanagerreply_p.cpp:427
#24 0x000000327658cebf in QMetaObject::activate (sender=0x2a6c190, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff557fa800) at kernel/qobject.cpp:3539
#25 0x0000003277733e92 in KJob::result (this=this@entry=0x2a6c190, _t1=_t1@entry=0x2a6c190) at /usr/src/debug/kdelibs-4.9.3/x86_64-redhat-linux-gnu/kdecore/kjob.moc:207
#26 0x0000003277733ed0 in KJob::emitResult (this=0x2a6c190) at /usr/src/debug/kdelibs-4.9.3/kdecore/jobs/kjob.cpp:318
#27 0x0000003879cf7295 in KIO::SimpleJob::slotFinished (this=this@entry=0x2a6c190) at /usr/src/debug/kdelibs-4.9.3/kio/kio/job.cpp:494
#28 0x0000003879cfe732 in KIO::TransferJob::slotFinished (this=0x2a6c190) at /usr/src/debug/kdelibs-4.9.3/kio/kio/job.cpp:1081
#29 0x000000327658cebf in QMetaObject::activate (sender=0x20e0f20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#30 0x0000003879d99cc1 in KIO::SlaveInterface::dispatch (this=0x20e0f20, _cmd=104, rawdata=...) at /usr/src/debug/kdelibs-4.9.3/kio/kio/slaveinterface.cpp:172
#31 0x0000003879d96dba in KIO::SlaveInterface::dispatch (this=0x20e0f20) at /usr/src/debug/kdelibs-4.9.3/kio/kio/slaveinterface.cpp:88
#32 0x0000003879d8b21e in KIO::Slave::gotInput (this=0x20e0f20) at /usr/src/debug/kdelibs-4.9.3/kio/kio/slave.cpp:344
#33 0x000000327658cebf in QMetaObject::activate (sender=0x2353a10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#34 0x0000003879ccc1f2 in dequeue (this=<optimized out>) at /usr/src/debug/kdelibs-4.9.3/kio/kio/connection.cpp:82
#35 KIO::ConnectionPrivate::dequeue (this=0x20fe6f0) at /usr/src/debug/kdelibs-4.9.3/kio/kio/connection.cpp:71
#36 0x000000327658c39e in QObject::event (this=0x2353a10, e=<optimized out>) at kernel/qobject.cpp:1194
#37 0x0000003277dca5cc in QApplicationPrivate::notify_helper (this=this@entry=0xdbcf60, receiver=receiver@entry=0x2353a10, e=e@entry=0x21bd790) at kernel/qapplication.cpp:4562
#38 0x0000003277dcea4a in QApplication::notify (this=0x7fff557fbb50, receiver=0x2353a10, e=0x21bd790) at kernel/qapplication.cpp:4423
#39 0x0000003278c468f6 in KApplication::notify (this=0x7fff557fbb50, receiver=0x2353a10, event=0x21bd790) at /usr/src/debug/kdelibs-4.9.3/kdeui/kernel/kapplication.cpp:311
#40 0x0000003276577a8e in QCoreApplication::notifyInternal (this=0x7fff557fbb50, receiver=receiver@entry=0x2353a10, event=event@entry=0x21bd790) at kernel/qcoreapplication.cpp:946
#41 0x000000327657b541 in sendEvent (event=0x21bd790, receiver=0x2353a10) at kernel/qcoreapplication.h:231
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xd8e150) at kernel/qcoreapplication.cpp:1570
#43 0x00000032765a5f43 in sendPostedEvents () at kernel/qcoreapplication.h:236
#44 postEventSourceDispatch (s=s@entry=0xdbb9c0) at kernel/qeventdispatcher_glib.cpp:279
#45 0x0000003291047a75 in g_main_dispatch (context=0xdbfe00) at gmain.c:2715
#46 g_main_context_dispatch (context=context@entry=0xdbfe00) at gmain.c:3219
#47 0x0000003291047da8 in g_main_context_iterate (context=context@entry=0xdbfe00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#48 0x0000003291047e64 in g_main_context_iteration (context=0xdbfe00, may_block=1) at gmain.c:3351
#49 0x00000032765a60d6 in QEventDispatcherGlib::processEvents (this=0xd8f610, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#50 0x0000003277e6a73e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#51 0x00000032765767df in QEventLoop::processEvents (this=this@entry=0x7fff557fb850, flags=...) at kernel/qeventloop.cpp:149
#52 0x0000003276576a68 in QEventLoop::exec (this=0x7fff557fb850, flags=...) at kernel/qeventloop.cpp:204
#53 0x000000327657b858 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#54 0x000000387a6b05c2 in kdemain () from /lib64/libkdeinit4_konqueror.so
#55 0x0000003291421a05 in __libc_start_main (main=0x400890 <main>, argc=2, ubp_av=0x7fff557fbdd8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff557fbdc8) at libc-start.c:225
#56 0x00000000004008c1 in _start ()

Reported using DrKonqi
Comment 1 Dawit Alemayehu 2013-01-21 20:00:20 UTC
If this crash is not resolved by the upcoming QtWebKit-2.3 release [1], it should be reported upstream in the QtWebKit bug tracker [2].

[1] http://blogs.kde.org/2013/01/21/qtwebkit-23-beta-1-tagged
[2] http://trac.webkit.org/wiki/QtWebKitBugs