Bug 199606

Summary: "open in new tab" leads to crash with digg.com
Product: [Applications] konqueror Reporter: L. Jacob <len>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 4.2.4   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description L. Jacob 2009-07-09 22:43:12 UTC
Version:            (using KDE 4.2.4)
Compiler:          gcc version 4.4.0 20090630 (prerelease) (GCC)
 
OS:                Linux
Installed from:    Unspecified Linux

Viewing digg.com, I right click on links and select "Open in new tab".  They load without problem in the background while I view more info at digg.com, loading more links in new background tabs if it's interesting.  I may have 5+ tabs open in the background.  I left click on one of the links to load in the foreground, and Konqueror freezes.  I cannot click buttons or menu items.  I click the 'X' to close and get the following:


Application: Konqueror (konqueror), signal SIGSEGV
[Current thread is 0 (LWP 8049)]

Thread 3 (Thread 0xb2948b70 (LWP 8050)):
#0  0xb800c424 in __kernel_vsyscall ()
#1  0xb6647f82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7eae6e4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb717dfbf in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb717381e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb717d022 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb66436bc in start_thread () from /lib/libpthread.so.0
#7  0xb7ea0ffe in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb1105b70 (LWP 8054)):
#0  0xb800c424 in __kernel_vsyscall ()
#1  0xb6647f82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7eae6e4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb717dfbf in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb717381e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb717d022 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb66436bc in start_thread () from /lib/libpthread.so.0
#7  0xb7ea0ffe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5e3dac0 (LWP 8049)):
[KCrash Handler]
#6  0xb42061b0 in khtml::CSSStyleSelectorList::collect () from /usr/lib/libkhtml.so.5
#7  0xb4206cf5 in khtml::CSSStyleSelector::buildLists () from /usr/lib/libkhtml.so.5
#8  0xb421738b in khtml::CSSStyleSelector::CSSStyleSelector () from /usr/lib/libkhtml.so.5
#9  0xb40c1b6d in DOM::DocumentImpl::rebuildStyleSelector () from /usr/lib/libkhtml.so.5
#10 0xb40c1ca4 in DOM::DocumentImpl::updateStyleSelector () from /usr/lib/libkhtml.so.5
#11 0xb40c20d0 in DOM::DocumentImpl::styleSheetLoaded () from /usr/lib/libkhtml.so.5
#12 0xb411c937 in DOM::HTMLLinkElementImpl::finished () from /usr/lib/libkhtml.so.5
#13 0xb411d1f3 in DOM::HTMLLinkElementImpl::setStyleSheet () from /usr/lib/libkhtml.so.5
#14 0xb423a541 in khtml::CachedCSSStyleSheet::checkNotify () from /usr/lib/libkhtml.so.5
#15 0xb423a923 in khtml::CachedCSSStyleSheet::data () from /usr/lib/libkhtml.so.5
#16 0xb42373bd in khtml::Loader::slotFinished () from /usr/lib/libkhtml.so.5
#17 0xb4237707 in khtml::Loader::qt_metacall () from /usr/lib/libkhtml.so.5
#18 0xb72818bc in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0xb72824f2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#20 0xb74a1cf3 in KJob::result () from /usr/lib/libkdecore.so.5
#21 0xb74a2179 in KJob::emitResult () from /usr/lib/libkdecore.so.5
#22 0xb7a5e940 in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.5
#23 0xb7a5ee4a in KIO::TransferJob::slotFinished () from /usr/lib/libkio.so.5
#24 0xb7a5e183 in KIO::TransferJob::qt_metacall () from /usr/lib/libkio.so.5
#25 0xb72818bc in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#26 0xb72824f2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#27 0xb7b124c7 in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.5
#28 0xb7b14da2 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#29 0xb7b12ab3 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#30 0xb7b059d0 in KIO::Slave::gotInput () from /usr/lib/libkio.so.5
#31 0xb7b05b63 in KIO::Slave::qt_metacall () from /usr/lib/libkio.so.5
#32 0xb72818bc in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#33 0xb72824f2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#34 0xb7a2e247 in KIO::Connection::readyRead () from /usr/lib/libkio.so.5
#35 0xb7a3031e in KIO::ConnectionPrivate::dequeue () from /usr/lib/libkio.so.5
#36 0xb7a3044e in KIO::Connection::qt_metacall () from /usr/lib/libkio.so.5
#37 0xb727a5ab in QMetaCallEvent::placeMetaCall () from /usr/lib/libQtCore.so.4
#38 0xb727bcae in QObject::event () from /usr/lib/libQtCore.so.4
#39 0xb68c06a4 in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#40 0xb68c7d8c in QApplication::notify () from /usr/lib/libQtGui.so.4
#41 0xb77b6c8a in KApplication::notify () from /usr/lib/libkdeui.so.5
#42 0xb726bedb in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#43 0xb726cac2 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#44 0xb726cc8d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#45 0xb729694f in ?? () from /usr/lib/libQtCore.so.4
#46 0xb633cd98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#47 0xb63403e0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#48 0xb6340513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#49 0xb729657c in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#50 0xb695e4a5 in ?? () from /usr/lib/libQtGui.so.4
#51 0xb726a489 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#52 0xb726a8da in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#53 0xb726cd4f in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#54 0xb68c0527 in QApplication::exec () from /usr/lib/libQtGui.so.4
#55 0xb7fd01f9 in kdemain () from /usr/lib/libkdeinit4_konqueror.so
#56 0x0804858b in _start ()
Comment 1 Dario Andres 2009-07-09 23:22:08 UTC
Do you think you could reproduce the crash situation at will?
Thanks
Comment 2 L. Jacob 2009-07-10 00:26:33 UTC
Yes, problem is observable and repeatable.

Further, this is the final link I clicked on, selecting it by itself, causes Konqueror to crash.

http://www.appleinsider.com/articles/09/07/08/apple_launches_http_live_streaming_standard_in_iphone_3_0.html
Comment 3 Dario Andres 2009-07-10 00:36:54 UTC
Here using:

Qt: 4.5.2 (KDE-Qt git commit 46a247a2c9a8c0c4456a02f6a0922d859d88fe76
        Date:   Fri Jun 26 13:45:37 2009 +0200)
KDE: 4.3.60 (KDE 4.3.60 (KDE 4.4 >= 20090706))
kdelibs svn rev. 993248 / kdebase svn rev. 993250
on ArchLinux i686 - Kernel 2.6.30

I can reproduce the crash with the following backtrace:

Application: Konqueror (konqueror), signal: Segmentation fault
[Current thread is 0 (LWP 15023)]

Thread 2 (Thread 0xb0f74b70 (LWP 15028)):
#0  0xb7f26424 in __kernel_vsyscall ()
#1  0xb6f2ff82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6fbf6a9 in QWaitConditionPrivate::wait (this=0xa141d30, time=30000) at thread/qwaitcondition_unix.cpp:85
#3  0xb6fbf4c7 in QWaitCondition::wait (this=0xa141c90, mutex=0xa141c8c, time=30000) at thread/qwaitcondition_unix.cpp:159
#4  0xb6fb03ff in QThreadPoolThread::run (this=0xa11cd98) at concurrent/qthreadpool.cpp:140
#5  0xb6fbe266 in QThreadPrivate::start (arg=0xa11cd98) at thread/qthread_unix.cpp:188
#6  0xb6f2b6bc in start_thread () from /lib/libpthread.so.0
#7  0xb60b0ffe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5aa49c0 (LWP 15023)):
[KCrash Handler]
#6  khtml::CSSStyleSelectorList::collect (this=0xa170000, selectorsCache=0xbfe5aed4, selectorList=0xbfe5af1c, propList=0xbfe5af18, regular=khtml::Default, important=khtml::Default)
    at /home/kde-devel/kde/src/kde-qt/include/QtCore/../../src/corelib/arch/qatomic_i386.h:120
#7  0xb3bbdf35 in khtml::CSSStyleSelector::buildLists (this=0xa15ce00) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/css/cssstyleselector.cpp:1910
#8  0xb3bce663 in CSSStyleSelector (this=0xa15ce00, doc=0xa149a68, userStyleSheet=
      {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 10712}, alloc = 0, size = 0, data = 0xb71eee3a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 165}, alloc = 0, size = 0, data = 0xb71eee4e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xbfe5b034, static codecForCStrings = 0x0}, styleSheets=0xa1499a0, url=@0xa149ac0, _strictParsing=true)
    at /home/kde-devel/kde/src/KDE/kdelibs/khtml/css/cssstyleselector.cpp:287
#9  0xb3a7254d in DOM::DocumentImpl::rebuildStyleSelector (this=0xa149a68) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/xml/dom_docimpl.cpp:2393
#10 0xb3a72684 in DOM::DocumentImpl::updateStyleSelector (this=0xa149a68, shallow=false) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/xml/dom_docimpl.cpp:2212
#11 0xb3a72ab0 in DOM::DocumentImpl::styleSheetLoaded (this=0xa149a68) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/xml/dom_docimpl.cpp:2128
#12 0xb3acfb97 in DOM::HTMLLinkElementImpl::finished (this=0xa161350) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/html/html_headimpl.cpp:273
#13 0xb3ad0453 in DOM::HTMLLinkElementImpl::setStyleSheet (this=0xa161350, url=@0xa1616d0, sheetStr=@0xa16170c, charset=@0xbfe5b178, mimetype=@0xbfe5b170)
    at /home/kde-devel/kde/src/KDE/kdelibs/khtml/html/html_headimpl.cpp:264
#14 0xb3bf75b1 in khtml::CachedCSSStyleSheet::checkNotify (this=0xa1616c8) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/misc/loader.cpp:306
#15 0xb3bf7993 in khtml::CachedCSSStyleSheet::data (this=0xa1616c8, buffer=@0xa16149c, eof=true) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/misc/loader.cpp:296
#16 0xb3bf1665 in khtml::Loader::slotFinished (this=0xa082d80, job=0xa174c40) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/misc/loader.cpp:1461
#17 0xb3bf7fd7 in khtml::Loader::qt_metacall (this=0xa082d80, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfe5b3a8) at /home/kde-devel/kde/build/KDE/kdelibs/khtml/loader.moc:131
#18 0xb70de892 in QMetaObject::activate (sender=0xa174c40, from_signal_index=7, to_signal_index=7, argv=0xbfe5b3a8) at kernel/qobject.cpp:3112
#19 0xb70dec0a in QMetaObject::activate (sender=0xa174c40, m=0xb74dfbc8, local_signal_index=3, argv=0xbfe5b3a8) at kernel/qobject.cpp:3186
#20 0xb734aa43 in KJob::result (this=0xa174c40, _t1=0xa174c40) at /home/kde-devel/kde/build/KDE/kdelibs/kdecore/kjob.moc:188
#21 0xb734aec9 in KJob::emitResult (this=0xa174c40) at /home/kde-devel/kde/src/KDE/kdelibs/kdecore/jobs/kjob.cpp:304
#22 0xb7b76390 in KIO::SimpleJob::slotFinished (this=0xa174c40) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/job.cpp:477
#23 0xb7b7689a in KIO::TransferJob::slotFinished (this=0xa174c40) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/job.cpp:948
#24 0xb7b745c3 in KIO::TransferJob::qt_metacall (this=0xa174c40, _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbfe5b5d8) at /home/kde-devel/kde/build/KDE/kdelibs/kio/jobclasses.moc:343
#25 0xb70de892 in QMetaObject::activate (sender=0xa178478, from_signal_index=8, to_signal_index=8, argv=0x0) at kernel/qobject.cpp:3112
#26 0xb70dec0a in QMetaObject::activate (sender=0xa178478, m=0xb7d58e04, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3186
#27 0xb7c41747 in KIO::SlaveInterface::finished (this=0xa178478) at /home/kde-devel/kde/build/KDE/kdelibs/kio/slaveinterface.moc:165
#28 0xb7c4559d in KIO::SlaveInterface::dispatch (this=0xa178478, _cmd=104, rawdata=@0xbfe5b7a8) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/slaveinterface.cpp:175
#29 0xb7c41c03 in KIO::SlaveInterface::dispatch (this=0xa178478) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/slaveinterface.cpp:91
#30 0xb7c33cba in KIO::Slave::gotInput (this=0xa178478) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/slave.cpp:322
#31 0xb7c360e3 in KIO::Slave::qt_metacall (this=0xa178478, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfe5b8c8) at /home/kde-devel/kde/build/KDE/kdelibs/kio/slave.moc:76
#32 0xb70de892 in QMetaObject::activate (sender=0xa2069b8, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3112
#33 0xb70dec0a in QMetaObject::activate (sender=0xa2069b8, m=0xb7d55740, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#34 0xb7b3d9e7 in KIO::Connection::readyRead (this=0xa2069b8) at /home/kde-devel/kde/build/KDE/kdelibs/kio/connection.moc:86
#35 0xb7b3f79e in KIO::ConnectionPrivate::dequeue (this=0xa206818) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/connection.cpp:82
#36 0xb7b3f8ce in KIO::Connection::qt_metacall (this=0xa2069b8, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xa208160) at /home/kde-devel/kde/build/KDE/kdelibs/kio/connection.moc:73
#37 0xb70d8cec in QMetaCallEvent::placeMetaCall (this=0xa152150, object=0xa2069b8) at kernel/qobject.cpp:477
#38 0xb70dab6d in QObject::event (this=0xa2069b8, e=0xa152150) at kernel/qobject.cpp:1110
#39 0xb654800b in QApplicationPrivate::notify_helper (this=0x9ce32f8, receiver=0xa2069b8, e=0xa152150) at kernel/qapplication.cpp:4056
#40 0xb654646c in QApplication::notify (this=0xbfe5c31c, receiver=0xa2069b8, e=0xa152150) at kernel/qapplication.cpp:3603
#41 0xb7725e9a in KApplication::notify (this=0xbfe5c31c, receiver=0xa2069b8, event=0xa152150) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302
#42 0xb70c5089 in QCoreApplication::notifyInternal (this=0xbfe5c31c, receiver=0xa2069b8, event=0xa152150) at kernel/qcoreapplication.cpp:610
#43 0xb70c8a4f in QCoreApplication::sendEvent (receiver=0xa2069b8, event=0xa152150) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#44 0xb70c60c3 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9cb1998) at kernel/qcoreapplication.cpp:1247
#45 0xb70c5d7b in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#46 0xb70fa026 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#47 0xb70f8aca in postEventSourceDispatch (s=0x9ce5718) at kernel/qeventdispatcher_glib.cpp:210
#48 0xb5dfad98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#49 0xb5dfe3e0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#50 0xb5dfe513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#51 0xb70f9922 in QEventDispatcherGlib::processEvents (this=0x9ce32b8, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:327
#52 0xb65f9bda in QGuiEventDispatcherGlib::processEvents (this=0x9ce32b8, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#53 0xb70c2667 in QEventLoop::processEvents (this=0xbfe5c1dc, flags={i = 36}) at kernel/qeventloop.cpp:149
#54 0xb70c27ac in QEventLoop::exec (this=0xbfe5c1dc, flags={i = 0}) at kernel/qeventloop.cpp:201
#55 0xb70c5765 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#56 0xb6546128 in QApplication::exec () at kernel/qapplication.cpp:3525
#57 0xb7efbd71 in kdemain (argc=2, argv=0xbfe5c6b4) at /home/kde-devel/kde/src/KDE/kdebase/apps/konqueror/src/konqmain.cpp:257
#58 0x0804876b in main (argc=2, argv=0xbfe5c6b4) at /home/kde-devel/kde/build/KDE/kdebase/apps/konqueror/src/konqueror_dummy.cpp:3

This seem to be a dupe of bug 195501. Thanks

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