Bug 198824

Summary: Konquerer crashes when opening particular webpage
Product: [Applications] konqueror Reporter: Ralph Janke <txwikinger>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: tenco
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ralph Janke 2009-07-03 20:34:20 UTC
Application that crashed: konqueror
Version of the application: 4.2.95 (KDE 4.2.95 (KDE 4.3 RC1))
KDE Version: 4.2.95 (KDE 4.2.95 (KDE 4.3 RC1))
Qt Version: 4.5.0
Operating System: Linux 2.6.28-11-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
Happens reproducibly when opening http://www.appleinsider.com/articles/09/07/02/pesky_psystar_to_emerge_from_chapter_11_with_new_mac_offering.html

 -- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
[Current thread is 0 (LWP 20136)]

Thread 2 (Thread 0x7f6179805950 (LWP 20190)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f61941fb917 in QWaitCondition::wait (this=0x32e5b68, mutex=0x32e5b60, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f61941f1409 in QThreadPoolThread::run (this=0x3335610) at concurrent/qthreadpool.cpp:140
#3  0x00007f61941fa952 in QThreadPrivate::start (arg=0x3335610) at thread/qthread_unix.cpp:189
#4  0x00007f619007c3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f6190c60fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f61947c0750 (LWP 20136)):
[KCrash Handler]
#5  khtml::CSSStyleSelectorList::collect (this=0x2de0000, selectorsCache=0x7fff9c7f5ef0, selectorList=0x7fff9c7f5f40, propList=0x7fff9c7f5f30, regular=khtml::Default, important=khtml::Default)
    at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#6  0x00007f617f9c8bdb in khtml::CSSStyleSelector::buildLists (this=0x2de42b0) at /build/buildd/kde4libs-4.2.95/khtml/css/cssstyleselector.cpp:1910
#7  0x00007f617f9d833c in CSSStyleSelector (this=0x2de42b0, doc=0x2feb050, userStyleSheet=
      {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 15052}, alloc = 0, size = 0, data = 0x60b57a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 200}, alloc = 0, size = 0, data = 0x7f61945d943a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7fff9c7f6100, static codecForCStrings = 0x0}, styleSheets=0x2c74640, url=@0x2feb100, _strictParsing=<value optimized out>)
    at /build/buildd/kde4libs-4.2.95/khtml/css/cssstyleselector.cpp:287
#8  0x00007f617f887acc in DOM::DocumentImpl::rebuildStyleSelector (this=0x2feb050) at /build/buildd/kde4libs-4.2.95/khtml/xml/dom_docimpl.cpp:2393
#9  0x00007f617f887c35 in DOM::DocumentImpl::updateStyleSelector (this=0x2feb050, shallow=240) at /build/buildd/kde4libs-4.2.95/khtml/xml/dom_docimpl.cpp:2212
#10 0x00007f617f8e0319 in DOM::HTMLLinkElementImpl::finished (this=0x2f84a80) at /build/buildd/kde4libs-4.2.95/khtml/html/html_headimpl.cpp:273
#11 0x00007f617f8e092f in DOM::HTMLLinkElementImpl::setStyleSheet (this=0x2f84a80, url=@0x3343fc0, sheetStr=<value optimized out>, charset=@0x7fff9c7f6250, mimetype=<value optimized out>)
    at /build/buildd/kde4libs-4.2.95/khtml/html/html_headimpl.cpp:264
#12 0x00007f617f9fecef in khtml::CachedCSSStyleSheet::checkNotify (this=<value optimized out>) at /build/buildd/kde4libs-4.2.95/khtml/misc/loader.cpp:306
#13 0x00007f617f9ff0b8 in khtml::CachedCSSStyleSheet::data (this=0x3343fb0, buffer=@0x2e7dd18, eof=<value optimized out>) at /build/buildd/kde4libs-4.2.95/khtml/misc/loader.cpp:296
#14 0x00007f617f9f94ed in khtml::Loader::slotFinished (this=0x2b05e90, job=0x3303cd0) at /build/buildd/kde4libs-4.2.95/khtml/misc/loader.cpp:1461
#15 0x00007f617f9ff6f7 in khtml::Loader::qt_metacall (this=0x2b05e90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9c7f6560)
    at /build/buildd/kde4libs-4.2.95/obj-x86_64-linux-gnu/khtml/loader.moc:131
#16 0x00007f61942f91f2 in QMetaObject::activate (sender=0x3303cd0, from_signal_index=<value optimized out>, to_signal_index=7, argv=0x7fff9c7f5f30) at kernel/qobject.cpp:3069
#17 0x00007f6193e06472 in KJob::result (this=0x2de0000, _t1=0x3303cd0) at /build/buildd/kde4libs-4.2.95/obj-x86_64-linux-gnu/kdecore/kjob.moc:188
#18 0x00007f6193e067ef in KJob::emitResult (this=0x3303cd0) at /build/buildd/kde4libs-4.2.95/kdecore/jobs/kjob.cpp:304
#19 0x00007f6193400d50 in KIO::SimpleJob::slotFinished (this=0x3303cd0) at /build/buildd/kde4libs-4.2.95/kio/kio/job.cpp:477
#20 0x00007f6193401203 in KIO::TransferJob::slotFinished (this=0x3303cd0) at /build/buildd/kde4libs-4.2.95/kio/kio/job.cpp:948
#21 0x00007f61933fbff5 in KIO::TransferJob::qt_metacall (this=0x3303cd0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9c7f6960)
    at /build/buildd/kde4libs-4.2.95/obj-x86_64-linux-gnu/kio/jobclasses.moc:343
#22 0x00007f61942f91f2 in QMetaObject::activate (sender=0x33ea320, from_signal_index=<value optimized out>, to_signal_index=8, argv=0x7fff9c7f5f30) at kernel/qobject.cpp:3069
#23 0x00007f61934bd3d1 in KIO::SlaveInterface::dispatch (this=0x33ea320, _cmd=104, rawdata=<value optimized out>) at /build/buildd/kde4libs-4.2.95/kio/kio/slaveinterface.cpp:175
#24 0x00007f61934b9f22 in KIO::SlaveInterface::dispatch (this=0x33ea320) at /build/buildd/kde4libs-4.2.95/kio/kio/slaveinterface.cpp:91
#25 0x00007f61934acaa3 in KIO::Slave::gotInput (this=0x33ea320) at /build/buildd/kde4libs-4.2.95/kio/kio/slave.cpp:322
#26 0x00007f61934aed08 in KIO::Slave::qt_metacall (this=0x33ea320, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff9c7f6d80) at /build/buildd/kde4libs-4.2.95/obj-x86_64-linux-gnu/kio/slave.moc:76
#27 0x00007f61942f91f2 in QMetaObject::activate (sender=0x2ea03f0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x7fff9c7f5f30) at kernel/qobject.cpp:3069
#28 0x00007f61933ca761 in KIO::ConnectionPrivate::dequeue (this=0x2f2e160) at /build/buildd/kde4libs-4.2.95/kio/kio/connection.cpp:82
#29 0x00007f61933cabba in KIO::Connection::qt_metacall (this=0x2ea03f0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x343d930)
    at /build/buildd/kde4libs-4.2.95/obj-x86_64-linux-gnu/kio/connection.moc:73
#30 0x00007f61942f3848 in QObject::event (this=0x2ea03f0, e=0x2ba3040) at kernel/qobject.cpp:1118
#31 0x00007f619186d78d in QApplicationPrivate::notify_helper (this=0x25022c0, receiver=0x2ea03f0, e=0x2ba3040) at kernel/qapplication.cpp:4084
#32 0x00007f619187597a in QApplication::notify (this=0x7fff9c7f79c0, receiver=0x2ea03f0, e=0x2ba3040) at kernel/qapplication.cpp:4049
#33 0x00007f61929b062b in KApplication::notify (this=0x7fff9c7f79c0, receiver=0x2ea03f0, event=0x2ba3040) at /build/buildd/kde4libs-4.2.95/kdeui/kernel/kapplication.cpp:302
#34 0x00007f61942e375c in QCoreApplication::notifyInternal (this=0x7fff9c7f79c0, receiver=0x2ea03f0, event=0x2ba3040) at kernel/qcoreapplication.cpp:602
#35 0x00007f61942e43ca in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x247e100) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#36 0x00007f619430d1e3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#37 0x00007f61902cb20a in IA__g_main_context_dispatch (context=0x25042f0) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#38 0x00007f61902ce8e0 in g_main_context_iterate (context=0x25042f0, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#39 0x00007f61902cea7c in IA__g_main_context_iteration (context=0x25042f0, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#40 0x00007f619430ce6f in QEventDispatcherGlib::processEvents (this=0x2480cb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#41 0x00007f6191905bef in QGuiEventDispatcherGlib::processEvents (this=0x2de0000, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#42 0x00007f61942e2002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1669368064}) at kernel/qeventloop.cpp:149
#43 0x00007f61942e23cd in QEventLoop::exec (this=0x7fff9c7f7740, flags={i = -1669367984}) at kernel/qeventloop.cpp:200
#44 0x00007f61942e4694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#45 0x00007f6188e9ed32 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/kdebase-4.2.95/apps/konqueror/src/konqmain.cpp:271
#46 0x000000000040714e in launch (argc=2, _name=0x24e1a08 "/usr/bin/konqueror", args=<value optimized out>, cwd=0x0, envc=0, envs=0x24e1a2c "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x24e1a34 "desktop001;1246645706;957927;17611_TIME264244363") at /build/buildd/kde4libs-4.2.95/kinit/kinit.cpp:672
#47 0x0000000000407978 in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.2.95/kinit/kinit.cpp:1164
#48 0x0000000000407f25 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.2.95/kinit/kinit.cpp:1357
#49 0x0000000000408a66 in main (argc=1, argv=0x7fff9c7f9098, envp=0x7fff9c7f90a8) at /build/buildd/kde4libs-4.2.95/kinit/kinit.cpp:1784

This bug may be a duplicate of or related to bug 195501

Reported using DrKonqi
Comment 1 Martin Ammermüller 2009-07-04 22:11:07 UTC
I can reproduce. KDE 4.3 RC1 compiled from tarballs on Debian testing/unstable

Backtrace:

Application: Konqueror (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  0xaffaf916 in QBasicAtomicInt::ref (this=0x100e6) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#7  0xb0207e61 in QList (this=0xbf9aef90, l=@0x9910004) at /usr/include/qt4/QtCore/qlist.h:111
#8  0xb0209b90 in QListIterator (this=0xbf9aef90, container=@0x9910004) at /usr/include/qt4/QtCore/qlist.h:684
#9  0xb01f90bd in khtml::CSSStyleSelectorList::collect (this=0x9910000, selectorsCache=0xbf9af01c, selectorList=0xbf9af034, propList=0xbf9af030, regular=khtml::Default, important=khtml::Default)
    at /home/martin/sandkasten/kdelibs-4.2.95/khtml/css/cssstyleselector.cpp:2119
#10 0xb01f9bc6 in khtml::CSSStyleSelector::buildLists (this=0x9b433c8) at /home/martin/sandkasten/kdelibs-4.2.95/khtml/css/cssstyleselector.cpp:1910
#11 0xb02039d4 in CSSStyleSelector (this=0x9b433c8, doc=0x98f2278, userStyleSheet=
      {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 25940}, alloc = 0, size = 0, data = 0x805347a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 240}, alloc = 0, size = 0, data = 0xb7ebcc2e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xbf9af1a8, static codecForCStrings = 0x0}, styleSheets=0xb236848, url=@0x98f22d0, _strictParsing=true)
    at /home/martin/sandkasten/kdelibs-4.2.95/khtml/css/cssstyleselector.cpp:287
#12 0xb00437a6 in DOM::DocumentImpl::rebuildStyleSelector (this=0x98f2278) at /home/martin/sandkasten/kdelibs-4.2.95/khtml/xml/dom_docimpl.cpp:2393
#13 0xb0051b52 in DOM::DocumentImpl::updateStyleSelector (this=0x98f2278, shallow=false) at /home/martin/sandkasten/kdelibs-4.2.95/khtml/xml/dom_docimpl.cpp:2212
#14 0xb0051f87 in DOM::DocumentImpl::styleSheetLoaded (this=0x98f2278) at /home/martin/sandkasten/kdelibs-4.2.95/khtml/xml/dom_docimpl.cpp:2128
#15 0xb00c135e in DOM::HTMLLinkElementImpl::finished (this=0x9ab2088) at /home/martin/sandkasten/kdelibs-4.2.95/khtml/html/html_headimpl.cpp:273
#16 0xb00c3401 in DOM::HTMLLinkElementImpl::setStyleSheet (this=0x9ab2088, url=@0x9fda0c0, sheetStr=@0x9fda0fc, charset=@0xbf9af2f4, mimetype=@0xbf9af2ec)
    at /home/martin/sandkasten/kdelibs-4.2.95/khtml/html/html_headimpl.cpp:264
#17 0xb022f6d6 in khtml::CachedCSSStyleSheet::checkNotify (this=0x9fda0b8) at /home/martin/sandkasten/kdelibs-4.2.95/khtml/misc/loader.cpp:306
#18 0xb0236b64 in khtml::CachedCSSStyleSheet::data (this=0x9fda0b8, buffer=@0x9a650bc, eof=true) at /home/martin/sandkasten/kdelibs-4.2.95/khtml/misc/loader.cpp:296
#19 0xb0231f7a in khtml::Loader::slotFinished (this=0x987a810, job=0x9b53c40) at /home/martin/sandkasten/kdelibs-4.2.95/khtml/misc/loader.cpp:1461
#20 0xb023232f in khtml::Loader::qt_metacall (this=0x987a810, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf9af4dc) at /home/martin/sandkasten/build/kdelibs/khtml/loader.moc:131
#21 0xb7ddeb98 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb7ddf822 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0xb7b1d324 in KJob::result (this=0x9b53c40, _t1=0x9b53c40) at /home/martin/sandkasten/build/kdelibs/kdecore/kjob.moc:188
#24 0xb7b1d889 in KJob::emitResult (this=0x9b53c40) at /home/martin/sandkasten/kdelibs-4.2.95/kdecore/jobs/kjob.cpp:304
#25 0xb773bbb3 in KIO::SimpleJob::slotFinished (this=0x9b53c40) at /home/martin/sandkasten/kdelibs-4.2.95/kio/kio/job.cpp:477
#26 0xb773bf8c in KIO::TransferJob::slotFinished (this=0x9b53c40) at /home/martin/sandkasten/kdelibs-4.2.95/kio/kio/job.cpp:948
#27 0xb774310d in KIO::TransferJob::qt_metacall (this=0x9b53c40, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbf9af738) at /home/martin/sandkasten/build/kdelibs/kio/jobclasses.moc:343
#28 0xb7ddeb98 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0xb7ddf822 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#30 0xb77f76e5 in KIO::SlaveInterface::finished (this=0xb23ea50) at /home/martin/sandkasten/build/kdelibs/kio/slaveinterface.moc:165
#31 0xb77f94e2 in KIO::SlaveInterface::dispatch (this=0xb23ea50, _cmd=104, rawdata=@0xbf9af8e4) at /home/martin/sandkasten/kdelibs-4.2.95/kio/kio/slaveinterface.cpp:175
#32 0xb77f93ce in KIO::SlaveInterface::dispatch (this=0xb23ea50) at /home/martin/sandkasten/kdelibs-4.2.95/kio/kio/slaveinterface.cpp:91
#33 0xb77ece3c in KIO::Slave::gotInput (this=0xb23ea50) at /home/martin/sandkasten/kdelibs-4.2.95/kio/kio/slave.cpp:322
#34 0xb77ee2b6 in KIO::Slave::qt_metacall (this=0xb23ea50, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf9af9e8) at /home/martin/sandkasten/build/kdelibs/kio/slave.moc:76
#35 0xb7ddeb98 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#36 0xb7ddf822 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#37 0xb7709847 in KIO::Connection::readyRead (this=0xf211218) at /home/martin/sandkasten/build/kdelibs/kio/connection.moc:86
#38 0xb770a7e1 in KIO::ConnectionPrivate::dequeue (this=0xc8e1e58) at /home/martin/sandkasten/kdelibs-4.2.95/kio/kio/connection.cpp:82
#39 0xb770b71b in KIO::Connection::qt_metacall (this=0xf211218, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xa9fae80) at /home/martin/sandkasten/build/kdelibs/kio/connection.moc:73
#40 0xb7dd77eb in QMetaCallEvent::placeMetaCall () from /usr/lib/libQtCore.so.4
#41 0xb7dd9290 in QObject::event () from /usr/lib/libQtCore.so.4
#42 0xb67ff7bc in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#43 0xb6807ace in QApplication::notify () from /usr/lib/libQtGui.so.4
#44 0xb73435d3 in KApplication::notify (this=0xbf9b0240, receiver=0xf211218, event=0x99711a8) at /home/martin/sandkasten/kdelibs-4.2.95/kdeui/kernel/kapplication.cpp:302
#45 0xb7dc8a2b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#46 0xb7dc9685 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#47 0xb7dc987d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#48 0xb7df474f in ?? () from /usr/lib/libQtCore.so.4
#49 0xb6378848 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#50 0xb637bdab in ?? () from /usr/lib/libglib-2.0.so.0
#51 0x095cd498 in ?? ()
#52 0x00000000 in ?? ()
Comment 2 Christophe Marin 2009-07-09 00:28:35 UTC

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