Bug 239946 - Konqueror crashed while reading an article
Summary: Konqueror crashed while reading an article
Status: RESOLVED LATER
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 4.4.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-29 07:16 UTC by Thomas Tanghus
Modified: 2011-11-23 02:59 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 Thomas Tanghus 2010-05-29 07:16:52 UTC
Application: konqueror (4.4.3 (KDE 4.4.3))
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I had several open URL's:
Using WebKit KPart:
http://www.dr.dk/tjenester/programoversigten/w3c/epg.asp?media=radio&page=1&seldate=0&seltime=1
https://www.cbb.dk/cbb?cmd=gomystatus
Using KHTML:
http://www.dr.dk/podcast/Video
http://www.dr.dk/netradio/afspillere.asp
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/
http://techrights.org/2010/05/28/webkit-trademark/
http://arstechnica.com/open-source/news/2007/07/the-unforking-of-kdes-khtml-and-webkit.ars (Active tab)
when Konqueror suddenly crashed.

 -- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77fbaa0 (LWP 14014))]

Thread 6 (Thread 0xb5242b70 (LWP 14230)):
#0  0x00a81422 in __kernel_vsyscall ()
#1  0x00ccfd33 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x00c66697 in _L_lock_9637 () from /lib/tls/i686/cmov/libc.so.6
#3  0x00c64ec6 in *__GI___libc_free (mem=0x82ff880) at malloc.c:3736
#4  0x00b3d741 in operator delete(void*) () from /usr/lib/libstdc++.so.6
#5  0x0096a21a in QEventDispatcherUNIX::unregisterSocketNotifier (this=0x837e0d8, notifier=0xb52422ec) at kernel/qeventdispatcher_unix.cpp:803
#6  0x00957779 in QSocketNotifier::setEnabled (this=0xfffffe00, enable=false) at kernel/qsocketnotifier.cpp:298
#7  0x0096b4b1 in QEventDispatcherUNIXPrivate::doSelect (this=0x83bcec0, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:260
#8  0x0096bf05 in QEventDispatcherUNIX::processEvents (this=0x837e0d8, flags=...) at kernel/qeventdispatcher_unix.cpp:920
#9  0x0093b059 in QEventLoop::processEvents (this=0xb5242290, flags=) at kernel/qeventloop.cpp:149
#10 0x0093b4aa in QEventLoop::exec (this=0xb5242290, flags=...) at kernel/qeventloop.cpp:201
#11 0x008375a8 in QThread::exec (this=0x837de18) at thread/qthread.cpp:487
#12 0x0091ac1b in QInotifyFileSystemWatcherEngine::run (this=0x837de18) at io/qfilesystemwatcher_inotify.cpp:248
#13 0x0083a32e in QThreadPrivate::start (arg=0x837de18) at thread/qthread_unix.cpp:248
#14 0x0011596e in start_thread (arg=0xb5242b70) at pthread_create.c:300
#15 0x00cc2a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb420ab70 (LWP 14245)):
#0  0x00a81422 in __kernel_vsyscall ()
#1  0x0011a015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x062f29d7 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x709bda0) at ../JavaScriptCore/wtf/FastMalloc.cpp:2299
#3  0x062f2a21 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x709bda0) at ../JavaScriptCore/wtf/FastMalloc.cpp:1433
#4  0x0011596e in start_thread (arg=0xb420ab70) at pthread_create.c:300
#5  0x00cc2a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb254bb70 (LWP 14249)):
#0  0x00a81422 in __kernel_vsyscall ()
#1  0x00ccfd33 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x00c66697 in _L_lock_9637 () from /lib/tls/i686/cmov/libc.so.6
#3  0x00c64ec6 in *__GI___libc_free (mem=0x82fb318) at malloc.c:3736
#4  0x00b3d741 in operator delete(void*) () from /usr/lib/libstdc++.so.6
#5  0x0096ac85 in ~QEventDispatcherUNIXPrivate (this=0x82fb318, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:174
#6  0x009532ec in QScopedPointerDeleter<QObjectData>::cleanup (this=0x87acbe0, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#7  ~QScopedPointer (this=0x87acbe0, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#8  ~QObject (this=0x87acbe0, __in_chrg=<value optimized out>) at kernel/qobject.cpp:992
#9  0x0092e588 in ~QAbstractEventDispatcher (this=0x87acbe0, __in_chrg=<value optimized out>) at kernel/qabstracteventdispatcher.cpp:231
#10 0x0096a33a in ~QEventDispatcherUNIX (this=0x87acbe0, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:628
#11 0x00839e9a in QThreadPrivate::finish (arg=0xa51890) at thread/qthread_unix.cpp:284
#12 0x0083a336 in ~__pthread_cleanup_class (arg=0xa51890) at /usr/include/pthread.h:535
#13 QThreadPrivate::start (arg=0xa51890) at thread/qthread_unix.cpp:253
#14 0x0011596e in start_thread (arg=0xb254bb70) at pthread_create.c:300
#15 0x00cc2a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb1d4ab70 (LWP 14449)):
#0  0x00a81422 in __kernel_vsyscall ()
#1  0x0011a342 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x05d2cce7 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xad57ab70 (LWP 14466)):
#0  0x00a81422 in __kernel_vsyscall ()
#1  0x00cbb971 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0x009658b2 in qt_safe_select (nfds=34, fdread=0xa83b348, fdwrite=0xa83b55c, fdexcept=0xa83b770, orig_timeout=0x0) at kernel/qcore_unix.cpp:143
#3  0x0096a2f9 in QEventDispatcherUNIX::select (this=0xa826b20, nfds=34, readfds=0xa83b348, writefds=0xa83b55c, exceptfds=0xa83b770, timeout=0x0) at kernel/qeventdispatcher_unix.cpp:633
#4  0x0096b007 in QEventDispatcherUNIXPrivate::doSelect (this=0xa83b250, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:218
#5  0x0096bf05 in QEventDispatcherUNIX::processEvents (this=0xa826b20, flags=...) at kernel/qeventdispatcher_unix.cpp:920
#6  0x0093b059 in QEventLoop::processEvents (this=0xad57a280, flags=) at kernel/qeventloop.cpp:149
#7  0x0093b4aa in QEventLoop::exec (this=0xad57a280, flags=...) at kernel/qeventloop.cpp:201
#8  0x008375a8 in QThread::exec (this=0xabd4548) at thread/qthread.cpp:487
#9  0x0331b96a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#10 0x0083a32e in QThreadPrivate::start (arg=0xabd4548) at thread/qthread_unix.cpp:248
#11 0x0011596e in start_thread (arg=0xad57ab70) at pthread_create.c:300
#12 0x00cc2a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77fbaa0 (LWP 14014)):
[KCrash Handler]
#6  0x00c608da in malloc_consolidate (av=<value optimized out>) at malloc.c:5142
#7  0x00c62afd in _int_malloc (av=<value optimized out>, bytes=<value optimized out>) at malloc.c:4370
#8  0x00c65a6c in _int_realloc (av=<value optimized out>, oldp=0xb67a5b8, oldsize=264, nb=1032) at malloc.c:5271
#9  0x00c65f9d in *__GI___libc_realloc (oldmem=0xb67a5c0, bytes=1024) at malloc.c:3821
#10 0x00834a94 in qRealloc (ptr=0xb67a5c0, size=1024) at global/qmalloc.cpp:65
#11 0x0083d4ae in QByteArray::realloc (this=0x8aac188, alloc=1004) at tools/qbytearray.cpp:1424
#12 0x0083d925 in QByteArray::resize (this=0x8aac188, size=524) at tools/qbytearray.cpp:1380
#13 0x008b2034 in QBuffer::writeData (this=0xc4b0a78, data=0xbf96502c "", len=390) at io/qbuffer.cpp:428
#14 0x008c946e in QIODevice::write (this=0xc4b0a78, data=0xbf96502c "", maxSize=390) at io/qiodevice.cpp:1324
#15 0x008b3800 in QDataStream::writeRawData (this=0xbf965558, s=0xbf96502c "", len=390) at io/qdatastream.cpp:1353
#16 0x008b3aeb in QDataStream::writeBytes (this=0xbf965558, s=0xbf96502c "", len=390) at io/qdatastream.cpp:1337
#17 0x008879ad in operator<< (out=..., str=...) at tools/qstring.cpp:7250
#18 0xb430a363 in KHTMLPart::saveState (this=0x8a4d3e8, stream=...) at ../../khtml/khtml_part.cpp:5278
#19 0xb434f11e in KHTMLPartBrowserExtension::saveState (this=0x8a53478, stream=...) at ../../khtml/khtml_ext.cpp:98
#20 0x0178a6cf in KonqView::updateHistoryEntry (this=0x8a4dbe0, saveLocationBarURL=true) at ../../../../apps/konqueror/src/konqview.cpp:760
#21 0x0178e428 in KonqView::saveConfig (this=0x8a4dbe0, config=..., prefix=..., options=...) at ../../../../apps/konqueror/src/konqview.cpp:1335
#22 0x017a1e80 in KonqFrame::saveConfig (this=0x8a1d710, config=..., prefix=..., options=..., docContainer=0x846ff98) at ../../../../apps/konqueror/src/konqframe.cpp:119
#23 0x017a82fc in KonqFrameTabs::saveConfig (this=0x846ff80, config=..., prefix=..., options=..., docContainer=0x846ff98, id=0, depth=1) at ../../../../apps/konqueror/src/konqtabs.cpp:158
#24 0x017c47f5 in KonqMainWindow::saveConfig (this=0x846e5b8, config=..., prefix=..., options=..., docContainer=0x846ff98, id=0, depth=1) at ../../../../apps/konqueror/src/konqmainwindow.cpp:5525
#25 0x01795e60 in KonqViewManager::saveViewProfileToGroup (this=0x84700d0, profileGroup=..., options=...) at ../../../../apps/konqueror/src/konqviewmanager.cpp:878
#26 0x017c51b1 in KonqMainWindow::saveProperties (this=0x846e5b8, config=...) at ../../../../apps/konqueror/src/konqmainwindow.cpp:4832
#27 0x01800dec in KonqSessionManager::saveCurrentSession (this=0x82b0148, sessionConfig=0x8412a60) at ../../../../apps/konqueror/src/konqsessionmanager.cpp:192
#28 0x0180291a in KonqSessionManager::autoSaveSession (this=0x82b0148) at ../../../../apps/konqueror/src/konqsessionmanager.cpp:157
#29 0x01803e9b in KonqSessionManager::qt_metacall (this=0x82b0148, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf965a7c) at ./konqsessionmanager.moc:88
#30 0x00941c9a in QMetaObject::metacall (object=0x82b0148, cl=1128, idx=6, argv=0xbf965a7c) at kernel/qmetaobject.cpp:237
#31 0x009503d5 in QMetaObject::activate (sender=0x82b0150, m=0xa505a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#32 0x009a1aa7 in QTimer::timeout (this=0x82b0150) at .moc/release-shared/moc_qtimer.cpp:134
#33 0x0095860e in QTimer::timerEvent (this=0x82b0150, e=0xbf965fb0) at kernel/qtimer.cpp:271
#34 0x0094d254 in QObject::event (this=0x82b0150, e=0x10) at kernel/qobject.cpp:1212
#35 0x03f3e4dc in QApplicationPrivate::notify_helper (this=0x823e520, receiver=0x82b0150, e=0xbf965fb0) at kernel/qapplication.cpp:4300
#36 0x03f4505e in QApplication::notify (this=0xbf966424, receiver=0x82b0150, e=0xbf965fb0) at kernel/qapplication.cpp:3704
#37 0x01084f5a in KApplication::notify (this=0xbf966424, receiver=0x82b0150, event=0xbf965fb0) at ../../kdeui/kernel/kapplication.cpp:302
#38 0x0093ca3b in QCoreApplication::notifyInternal (this=0xbf966424, receiver=0x82b0150, event=0xbf965fb0) at kernel/qcoreapplication.cpp:704
#39 0x0096bd66 in QCoreApplication::sendEvent (this=0x823ed28) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#40 QTimerInfoList::activateTimers (this=0x823ed28) at kernel/qeventdispatcher_unix.cpp:603
#41 0x0096bf17 in QEventDispatcherUNIX::processEvents (this=0x81f4b48, flags=...) at kernel/qeventdispatcher_unix.cpp:924
#42 0x03fff1a2 in QEventDispatcherX11::processEvents (this=0x81f4b48, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#43 0x0093b059 in QEventLoop::processEvents (this=0xbf966204, flags=) at kernel/qeventloop.cpp:149
#44 0x0093b4aa in QEventLoop::exec (this=0xbf966204, flags=...) at kernel/qeventloop.cpp:201
#45 0x0093f69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#46 0x03f3e577 in QApplication::exec () at kernel/qapplication.cpp:3579
#47 0x0181723e in kdemain (argc=3, argv=0x8226840) at ../../../../apps/konqueror/src/konqmain.cpp:271
#48 0x0804e133 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x82268b4 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x8051465 "0") at ../../kinit/kinit.cpp:717
#49 0x0804ec6d in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#50 0x0804f190 in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1402
#51 0x0804fe4f in main (argc=4, argv=0xbf967004, envp=0xbf967018) at ../../kinit/kinit.cpp:1845

Possible duplicates by query: bug 219020, bug 217739, bug 213540, bug 207008, bug 207003.

Reported using DrKonqi
Comment 1 Dawit Alemayehu 2011-11-22 04:46:01 UTC
This seems to be a memory allocation issue on your system. It is crashing when trying to resize (read: add more memory) to QByteArray. Do you still see this crash in the most recent release of KDE, v4.7.4 ?
Comment 2 Thomas Tanghus 2011-11-22 08:28:47 UTC
I'm still on 4.7.3 but this specific bug I haven't seen for a while. I must admit that I have had to change to Firefox as my main browser.
It's been 1½ year so feel free to close it.