Bug 219020

Summary: Konqueror freezes / crashes when visiting http://xmpp.org/extensions/xep-0124.html
Product: [Applications] konqueror Reporter: Guido Winkelmann <guido-kdebugs>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Guido Winkelmann 2009-12-17 07:22:11 UTC
Version:            (using KDE 4.3.4)
Compiler:          gcc 4.3.4 
OS:                Linux
Installed from:    Gentoo Packages

When visiting http://xmpp.org/extensions/xep-0124.html, Konqueror will freeze or sometimes crash with a Segmentation fault.

This is fully reproducible on my machine

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

Thread 4 (Thread 0x7ff0c8210950 (LWP 6914)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:91
#1  0x00007ff0d99428be in _L_lock_3849 () from /lib/libc.so.6
#2  0x00007ff0d993ef9b in __libc_free (mem=0x7ff0d9c1aa00) at malloc.c:3623
#3  0x00007ff0d8ffd796 in g_source_unref_internal (source=0xd98820, context=0x12139e0, have_lock=0) at gmain.c:1203
#4  0x00007ff0dd0ae7e2 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x12abe20, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:289
#5  0x00007ff0dcfb936f in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:212
#6  0x00007ff0dcfb9496 in QThreadPrivate::start (arg=0xd27c20) at thread/qthread_unix.cpp:190
#7  0x00007ff0dcd49007 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#8  0x00007ff0d999a48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 3 (Thread 0x7ff0c7a0f950 (LWP 6917)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:91
#1  0x00007ff0d99428be in _L_lock_3849 () from /lib/libc.so.6
#2  0x00007ff0d993ef9b in __libc_free (mem=0x7ff0d9c1aa00) at malloc.c:3623
#3  0x00007ff0d8ffd796 in g_source_unref_internal (source=0x1217130, context=0xe3ee40, have_lock=0) at gmain.c:1203
#4  0x00007ff0dd0ae7e2 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0xbff580, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:289
#5  0x00007ff0dcfb936f in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:212
#6  0x00007ff0dcfb9496 in QThreadPrivate::start (arg=0x10d6780) at thread/qthread_unix.cpp:190
#7  0x00007ff0dcd49007 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#8  0x00007ff0d999a48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 2 (Thread 0x7ff0c6fdb950 (LWP 6918)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007ff0dcfba1b7 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff0dcfb16c9 in QThreadPoolThread::run (this=0xbe5890) at concurrent/qthreadpool.cpp:140
#4  0x00007ff0dcfb9484 in QThreadPrivate::start (arg=0xbe5890) at thread/qthread_unix.cpp:188
#5  0x00007ff0dcd49007 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007ff0d999a48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 1 (Thread 0x7ff0dd534740 (LWP 6913)):
[KCrash Handler]
#5  malloc_consolidate (av=0x7ff0d9c1aa00) at malloc.c:4889
#6  0x00007ff0d993feb6 in _int_malloc (av=0x7ff0d9c1aa00, bytes=8193) at malloc.c:4229
#7  0x00007ff0d9941164 in _int_realloc (av=<value optimized out>, oldmem=0xc1ad40, bytes=<value optimized out>) at malloc.c:5035
#8  0x00007ff0d99420cf in __libc_realloc (oldmem=0xc1ad40, bytes=8192) at malloc.c:3708
#9  0x00007ff0dcfd916b in QListData::realloc (this=0x7fff35474b30, alloc=<value optimized out>) at tools/qlistdata.cpp:111
#10 0x00007ff0dcfd937d in QListData::append (this=0x7fff35474b30) at tools/qlistdata.cpp:131
#11 0x00007ff0cbfe3c42 in append (t=<value optimized out>, this=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:429
#12 operator<< (t=<value optimized out>, this=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:304
#13 khtml::RenderTableSection::addCell (t=<value optimized out>, this=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/rendering/render_table.cpp:1257
#14 0x00007ff0cbfe405f in khtml::RenderTableRow::addChild (this=0x1264df0, child=0x1264e70, beforeChild=0x0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/rendering/render_table.cpp:2279
#15 0x00007ff0cbf0a3af in DOM::NodeImpl::createRendererIfNeeded (this=0x102a0f0) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/xml/dom_nodeimpl.cpp:1084
#16 0x00007ff0cbf14e09 in DOM::ElementImpl::attach (this=0x7ff0d9c1aa00) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/xml/dom_elementimpl.cpp:863
#17 0x00007ff0cbf09384 in DOM::NodeBaseImpl::attach (this=0x1029e50) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/xml/dom_nodeimpl.cpp:1823
#18 0x00007ff0cbf09384 in DOM::NodeBaseImpl::attach (this=0x1027390) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/xml/dom_nodeimpl.cpp:1823
#19 0x00007ff0cbf09384 in DOM::NodeBaseImpl::attach (this=0x1026d70) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/xml/dom_nodeimpl.cpp:1823
#20 0x00007ff0cbf88c11 in DOM::HTMLTableElementImpl::attach (this=0x1026d70) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/html/html_tableimpl.cpp:595
#21 0x00007ff0cbf09384 in DOM::NodeBaseImpl::attach (this=0x1026440) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/xml/dom_nodeimpl.cpp:1823
#22 0x00007ff0cbf09384 in DOM::NodeBaseImpl::attach (this=0x105c910) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/xml/dom_nodeimpl.cpp:1823
#23 0x00007ff0cbf16454 in DOM::ElementImpl::recalcStyle (this=0x105c910, change=Force) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/xml/dom_elementimpl.cpp:961
#24 0x00007ff0cbf5e1e9 in DOM::HTMLElementImpl::recalcStyle (this=0x7ff0d9c1aa00, ch=8193) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/html/html_elementimpl.cpp:242
#25 0x00007ff0cbf1635e in DOM::ElementImpl::recalcStyle (this=0xcbdeb0, change=Force) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/xml/dom_elementimpl.cpp:990
#26 0x00007ff0cbf5e1e9 in DOM::HTMLElementImpl::recalcStyle (this=0x7ff0d9c1aa00, ch=8193) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/html/html_elementimpl.cpp:242
#27 0x00007ff0cbf05ecf in DOM::DocumentImpl::recalcStyle (this=0xbe5aa0, change=Force) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/xml/dom_docimpl.cpp:1436
#28 0x00007ff0cbf02cee in DOM::DocumentImpl::updateStyleSelector (this=0xbe5aa0, shallow=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/xml/dom_docimpl.cpp:2214
#29 0x00007ff0cbf58ab1 in DOM::HTMLLinkElementImpl::finished (this=0x124fc80) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/html/html_headimpl.cpp:273
#30 0x00007ff0cbf590ad in DOM::HTMLLinkElementImpl::setStyleSheet (this=0x124fc80, url=..., sheetStr=<value optimized out>, charset=..., mimetype=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/html/html_headimpl.cpp:264
#31 0x00007ff0cc0734d7 in khtml::CachedCSSStyleSheet::checkNotify (this=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/misc/loader.cpp:306
#32 0x00007ff0cc073887 in khtml::CachedCSSStyleSheet::data (this=0x12baf70, buffer=..., eof=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/misc/loader.cpp:296
#33 0x00007ff0cc06df75 in khtml::Loader::slotFinished (this=0xbbbdb0, job=0xd9e9d0) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/khtml/misc/loader.cpp:1461
#34 0x00007ff0cc073e4f in khtml::Loader::qt_metacall (this=0xbbbdb0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff35475210)
    at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4_build/khtml/loader.moc:131
#35 0x00007ff0dd09b43e in QMetaObject::activate (sender=0xd9e9d0, from_signal_index=<value optimized out>, to_signal_index=7, argv=0xc1a980) at kernel/qobject.cpp:3101
#36 0x00007ff0dc9b03c2 in KJob::result (this=0x7ff0d9c1aa00, _t1=0xd9e9d0) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4_build/kdecore/kjob.moc:188
#37 0x00007ff0dc9b073f in KJob::emitResult (this=0xd9e9d0) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kdecore/jobs/kjob.cpp:304
#38 0x00007ff0dbf6cf08 in KIO::SimpleJob::slotFinished (this=0xd9e9d0) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kio/kio/job.cpp:477
#39 0x00007ff0dbf6d3d3 in KIO::TransferJob::slotFinished (this=0xd9e9d0) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kio/kio/job.cpp:948
#40 0x00007ff0dbf68475 in KIO::TransferJob::qt_metacall (this=0xd9e9d0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff35475620)
    at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4_build/kio/jobclasses.moc:343
#41 0x00007ff0dd09b43e in QMetaObject::activate (sender=0xbfe810, from_signal_index=<value optimized out>, to_signal_index=8, argv=0xc1a980) at kernel/qobject.cpp:3101
#42 0x00007ff0dc027f99 in KIO::SlaveInterface::dispatch (this=0xbfe810, _cmd=104, rawdata=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kio/kio/slaveinterface.cpp:175
#43 0x00007ff0dc024a91 in KIO::SlaveInterface::dispatch (this=0xbfe810) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kio/kio/slaveinterface.cpp:91
#44 0x00007ff0dc01779e in KIO::Slave::gotInput (this=0xbfe810) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kio/kio/slave.cpp:322
#45 0x00007ff0dc019a70 in KIO::Slave::qt_metacall (this=0xbfe810, _c=InvokeMetaMethod, _id=129, _a=0x7fff35475a50) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4_build/kio/slave.moc:76
#46 0x00007ff0dd09b43e in QMetaObject::activate (sender=0xc649e0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xc1a980) at kernel/qobject.cpp:3101
#47 0x00007ff0dbf36b1f in KIO::ConnectionPrivate::dequeue (this=0xb99eb0) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kio/kio/connection.cpp:82
#48 0x00007ff0dbf36f72 in KIO::Connection::qt_metacall (this=0xc649e0, _c=InvokeMetaMethod, _id=129, _a=0x12bb870)
    at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4_build/kio/connection.moc:73
#49 0x00007ff0dd098121 in QObject::event (this=0xc649e0, e=0x11ee8f0) at kernel/qobject.cpp:1099
#50 0x00007ff0da561aed in QApplicationPrivate::notify_helper (this=0x6b0e80, receiver=0xc649e0, e=0x11ee8f0) at kernel/qapplication.cpp:4065
#51 0x00007ff0da56927a in QApplication::notify (this=0x7fff35476670, receiver=0xc649e0, e=0x11ee8f0) at kernel/qapplication.cpp:4030
#52 0x00007ff0db5498db in KApplication::notify (this=0x7fff35476670, receiver=0xc649e0, event=0x11ee8f0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kdeui/kernel/kapplication.cpp:302
#53 0x00007ff0dd089953 in QCoreApplication::notifyInternal (this=0x7fff35476670, receiver=0xc649e0, event=0x11ee8f0) at kernel/qcoreapplication.cpp:606
#54 0x00007ff0dd08a261 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#55 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1244
#56 0x00007ff0dd0ae073 in sendPostedEvents () at kernel/qcoreapplication.h:218
#57 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:210
#58 0x00007ff0d8ffde51 in g_main_dispatch (context=<value optimized out>) at gmain.c:1824
#59 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2377
#60 0x00007ff0d90013e8 in g_main_context_iterate (context=0x6b3920, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2455
#61 0x00007ff0d900159c in IA__g_main_context_iteration (context=0x6b3920, may_block=1) at gmain.c:2518
#62 0x00007ff0dd0add1f in QEventDispatcherGlib::processEvents (this=0x615850, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#63 0x00007ff0da5e5c0f in QGuiEventDispatcherGlib::processEvents (this=0x7ff0d9c1aa00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#64 0x00007ff0dd088382 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#65 0x00007ff0dd08851c in QEventLoop::exec (this=0x7fff35476410, flags=...) at kernel/qeventloop.cpp:197
#66 0x00007ff0dd08a4b4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#67 0x00007ff0d1778137 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/konqueror-4.3.4/work/konqueror-4.3.4/konqueror/src/konqmain.cpp:257
#68 0x00000000004074fe in launch (argc=2, _name=0x65e278 "/usr/bin/konqueror", args=<value optimized out>, cwd=0x0, envc=0, envs=0x65e29c "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x65e2a4 "tolkien;1261030753;515775;5528_TIME7456014") at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kinit/kinit.cpp:677
#69 0x0000000000407cd0 in handle_launcher_request (sock=7, who=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kinit/kinit.cpp:1169
#70 0x0000000000408216 in handle_requests (waitForPid=0) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kinit/kinit.cpp:1362
#71 0x0000000000408d2d in main (argc=2, argv=0x7fff35477c78, envp=0x7fff35477c90) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kinit/kinit.cpp:1793
Comment 1 Tommi Tervo 2009-12-17 11:49:52 UTC

*** This bug has been marked as a duplicate of bug 204297 ***