Bug 154790

Summary: Assertion in ksharedptr.h fails when i download sourceforge
Product: [Applications] konqueror Reporter: Jonny Heggheim <hegjon>
Component: generalAssignee: Konqueror Bugs <konqueror-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jonny Heggheim 2007-12-29 01:16:51 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

Konqueror crashes when i try to download http://prdownloads.sourceforge.net/xine/xine-lib-1.1.8.tar.bz2 from http://xinehq.de/index.php/releases

How to reproduce:
Click on the xine-lib-1.1.8.tar.bz2-link on http://xinehq.de/index.php/releases

===Output===
konqueror(19986)/khtml (tokenizer) khtml::HTMLTokenizer::notifyFinished: Finished loading an external script
konqueror(19986)/kio (KIOJob) KIO::SlaveInterface::dispatch: incoming metadata now QMap(("HTTP-Headers", "HTTP/1.1 404 Not Found
Date: Fri, 28 Dec 2007 23:59:08 GMT
Content-Length: 345
Content-Type: text/html
Server: lighttpd/1.4.18
Connection: keep-alive")("PrivacyCompactPolicy", "NOI
DEV
PSA
PSD
IVA
PVD
OTP
OUR
OTR
IND
OTC")("PrivacyPolicy", "http://www.googleadservices.com/pagead/p3p.xml")("cache-creation-date", "1198886673")("charset", "utf-8")("expire-date", "1198973073")("modified", "Wed, 19 Dec 2007 02:46:48 GMT")("no-cache", "true")("permanent-redirect", "true")("referrer", "http://sourceforge.net/project/downloading.php?groupname=xine&filename=xine-lib-1.1.8.tar.bz2&use_mirror=garr")("request-id", "")("ssl_in_use", "FALSE"))
 newly arrived metadata is QMap(("PrivacyCompactPolicy", "NOI
DEV
PSA
PSD
IVA
PVD
OTP
OUR
OTR
IND
OTC")("PrivacyPolicy", "http://www.googleadservices.com/pagead/p3p.xml")("cache-creation-date", "1198886673")("charset", "utf-8")("expire-date", "1198973073")("modified", "Wed, 19 Dec 2007 02:46:48 GMT")("referrer", "http://sourceforge.net/project/downloading.php?groupname=xine&filename=xine-lib-1.1.8.tar.bz2&use_mirror=garr")("request-id", "")("ssl_in_use", "FALSE"))
konqueror(19986)/kio (KIOJob) KIO::SlaveInterface::dispatch: incoming metadata now QMap(("HTTP-Headers", "HTTP/1.1 200 OK
P3P: policyref="http://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA PVD OTP OUR OTR IND OTC"
Last-Modified: Wed, 19 Dec 2007 02:46:48 GMT
Content-Type: text/javascript; charset=UTF-8
Expires: Sat, 29 Dec 2007 23:59:09 GMT
Cache-Control: public, max-age=86400, x-gzip-ok="public"
Server: cafe
Content-Length: 17197
Date: Fri, 28 Dec 2007 23:59:09 GMT")("PrivacyCompactPolicy", "NOI
DEV
PSA
PSD
IVA
PVD
OTP
OUR
OTR
IND
OTC")("PrivacyPolicy", "http://www.googleadservices.com/pagead/p3p.xml")("cache-creation-date", "1198886673")("charset", "utf-8")("expire-date", "1198973073")("modified", "Wed, 19 Dec 2007 02:46:48 GMT")("no-cache", "true")("permanent-redirect", "true")("referrer", "http://sourceforge.net/project/downloading.php?groupname=xine&filename=xine-lib-1.1.8.tar.bz2&use_mirror=garr")("request-id", "")("ssl_in_use", "FALSE"))
 newly arrived metadata is QMap(("HTTP-Headers", "HTTP/1.1 200 OK
P3P: policyref="http://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA PVD OTP OUR OTR IND OTC"
Last-Modified: Wed, 19 Dec 2007 02:46:48 GMT
Content-Type: text/javascript; charset=UTF-8
Expires: Sat, 29 Dec 2007 23:59:09 GMT
Cache-Control: public, max-age=86400, x-gzip-ok="public"
Server: cafe
Content-Length: 17197
Date: Fri, 28 Dec 2007 23:59:09 GMT"))
konqueror(19986)/khtml (tokenizer) khtml::HTMLTokenizer::notifyFinished: Finished loading an external script
konqueror(19986) KConfigGroup::readXdgListEntry: List entry mime in "/home/kde-devel/kde/share/apps/kjava/pluginsinfo" is not compliant with XDG standard (missing trailing semicolon).
konqueror(19986) KConfigGroup::readXdgListEntry: List entry mime in "/home/kde-devel/.kde4/share/apps/nsplugins/pluginsinfo" is not compliant with XDG standard (missing trailing semicolon).
konqueror(19986) KConfigGroup::readXdgListEntry: List entry mime in "/home/kde-devel/.kde4/share/apps/nsplugins/pluginsinfo" is not compliant with XDG standard (missing trailing semicolon).
konqueror(19986)/kio (KIOJob) KIO::SlaveInterface::dispatch: incoming metadata now QMap(("HTTP-Headers", "HTTP/1.1 200 OK

Cache-Control: max-age=604800

Date: Fri, 28 Dec 2007 23:58:32 GMT

Content-Length: 626

Content-Type: image/gif

ETag: "152271744"

Expires: Fri, 12 Oct 2007 00:06:27 GMT

Last-Modified: Thu, 06 Apr 2006 21:13:14 GMT

Accept-Ranges: bytes

Server: lighttpd/1.4.18

Connection: keep-alive


")("cache-creation-date", "1198886674")("expire-date", "1199951193")("modified", "Mon, 27 Aug 2007 18:59:18 GMT")("no-cache", "true")("referrer", "http://sourceforge.net/project/downloading.php?groupname=xine&filename=xine-lib-1.1.8.tar.bz2&use_mirror=garr")("request-id", "")("ssl_in_use", "FALSE"))
 newly arrived metadata is QMap(("cache-creation-date", "1198886674")("expire-date", "1199951193")("modified", "Mon, 27 Aug 2007 18:59:18 GMT")("referrer", "http://sourceforge.net/project/downloading.php?groupname=xine&filename=xine-lib-1.1.8.tar.bz2&use_mirror=garr")("request-id", "")("ssl_in_use", "FALSE"))
konqueror(19986)/kparts KParts::BrowserRun::slotBrowserMimetype: slotBrowserMimetype: found "application/x-bzip2" for KUrl("http://garr.dl.sourceforge.net/sourceforge/xine/xine-lib-1.1.8.tar.bz2")
konqueror(19986)/kio (KIOJob) KIO::Job::doKill: Job::kill this= KIO::TransferJob(0x91f4f28)   KIO::TransferJob
ASSERT: "d" in file /home/kde-devel/kde/src/KDE/kdelibs/kdecore/util/ksharedptr.h, line 114
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = konqueror path = <unknown> pid = 19986


===Backtrace===
[?1034hUsing host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb625cb50 (LWP 19986)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb65f18f5 in raise () from /lib/libc.so.6
#8  0xb65f31e1 in abort () from /lib/libc.so.6
#9  0xb719a31f in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbf966f00 "ASSERT: \"d\" in file /home/kde-devel/kde/src/KDE/kdelibs/kdecore/util/ksharedptr.h, line 114") at global/qglobal.cpp:2160
#10 0xb719a383 in qFatal (msg=0xb72967f0 "ASSERT: \"%s\" in file %s, line %d")
    at global/qglobal.cpp:2392
#11 0xb719a4dd in qt_assert (assertion=0xb7e866e2 "d", 
    file=0xb7e866a4 "/home/kde-devel/kde/src/KDE/kdelibs/kdecore/util/ksharedptr.h", line=114) at global/qglobal.cpp:1917
#12 0xb7e6c573 in KSharedPtr<KMimeType>::operator-> (this=0xbf968fa0)
    at /home/kde-devel/kde/src/KDE/kdelibs/kdecore/util/ksharedptr.h:114
#13 0xb7e81d1c in KParts::BrowserRun::askEmbedOrSave (url=@0xbf9690ac, 
    mimeType=@0xbf969130, suggestedFileName=@0xbf9690a4, flags=0)
    at /home/kde-devel/kde/src/KDE/kdelibs/kparts/browserrun.cpp:360
#14 0xb425e3cf in KHTMLPart::processObjectRequest (this=0x82f2dd0, 
    child=0x978faf8, _url=@0xbf969134, mimetype=@0xbf969130)
    at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtml_part.cpp:4405
#15 0xb4287a0a in KHTMLRun::foundMimeType (this=0x978fee8, _type=@0xbf969168)
    at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtml_run.cpp:53
#16 0xb7e83138 in KParts::BrowserRun::slotBrowserMimetype (this=0x978fee8, 
    _job=0x91f4f28, type=@0xbf969cf8)
    at /home/kde-devel/kde/src/KDE/kdelibs/kparts/browserrun.cpp:215
#17 0xb7e833c5 in KParts::BrowserRun::qt_metacall (this=0x978fee8, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf9696e8)
    at /home/kde-devel/kde/build/KDE/kdelibs/kparts/browserrun.moc:72
#18 0xb42877fe in KHTMLRun::qt_metacall (this=0x978fee8, 
    _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbf9696e8)
    at /home/kde-devel/kde/build/KDE/kdelibs/khtml/khtml_run.moc:58
#19 0xb726f5b6 in QMetaObject::activate (sender=0x91f4f28, 
    from_signal_index=44, to_signal_index=44, argv=0xbf9696e8)
    at kernel/qobject.cpp:3087
#20 0xb726ffc1 in QMetaObject::activate (sender=0x91f4f28, m=0xb7e458b0, 
    local_signal_index=4, argv=0xbf9696e8) at kernel/qobject.cpp:3149
#21 0xb7cd1bcd in KIO::TransferJob::mimetype (this=0x91f4f28, _t1=0x91f4f28, 
    _t2=@0xbf969cf8)
    at /home/kde-devel/kde/build/KDE/kdelibs/kio/jobclasses.moc:383
#22 0xb7cd3652 in KIO::TransferJob::slotMimetype (this=0x91f4f28, 
    type=@0xbf969cf8)
    at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/job.cpp:1106
#23 0xb7cdd362 in KIO::TransferJob::qt_metacall (this=0x91f4f28, 
    _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbf969c4c)
    at /home/kde-devel/kde/build/KDE/kdelibs/kio/jobclasses.moc:338
#24 0xb726f5b6 in QMetaObject::activate (sender=0x84215d8, 
    from_signal_index=23, to_signal_index=23, argv=0xbf969c4c)
    at kernel/qobject.cpp:3087
#25 0xb726ffc1 in QMetaObject::activate (sender=0x84215d8, m=0xb7e48204, 
    local_signal_index=19, argv=0xbf969c4c) at kernel/qobject.cpp:3149
#26 0xb7d7d154 in KIO::SlaveInterface::mimeType (this=0x84215d8, 
    _t1=@0xbf969cf8)
    at /home/kde-devel/kde/build/KDE/kdelibs/kio/slaveinterface.moc:262
#27 0xb7d7fa38 in KIO::SlaveInterface::dispatch (this=0x84215d8, _cmd=21, 
    rawdata=@0xbf969dd4)
    at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/slaveinterface.cpp:285
#28 0xb7d7f35b in KIO::SlaveInterface::dispatch (this=0x84215d8)
    at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/slaveinterface.cpp:90
#29 0xb7d72544 in KIO::Slave::gotInput (this=0x84215d8)
    at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/slave.cpp:318
#30 0xb7d7398c in KIO::Slave::qt_metacall (this=0x84215d8, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf96a2d4)
    at /home/kde-devel/kde/build/KDE/kdelibs/kio/slave.moc:74
#31 0xb726f5b6 in QMetaObject::activate (sender=0x8440248, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3087
#32 0xb726ffc1 in QMetaObject::activate (sender=0x8440248, m=0xb7e45100, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3149
#33 0xb7cac733 in KIO::Connection::readyRead (this=0x8440248)
    at /home/kde-devel/kde/build/KDE/kdelibs/kio/connection.moc:83
#34 0xb7cad65f in KIO::ConnectionPrivate::dequeue (this=0x849acc0)
    at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/connection.cpp:82
#35 0xb7cae599 in KIO::Connection::qt_metacall (this=0x8440248, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x98ac740)
    at /home/kde-devel/kde/build/KDE/kdelibs/kio/connection.moc:71
#36 0xb72686f8 in QMetaCallEvent::placeMetaCall (this=0x8e31be8, 
    object=0x8440248) at kernel/qobject.cpp:536
#37 0xb726d455 in QObject::event (this=0x8440248, e=0x8e31be8)
    at kernel/qobject.cpp:1128
#38 0xb69f99c7 in QApplicationPrivate::notify_helper (this=0x805bdd8, 
    receiver=0x8440248, e=0x8e31be8) at kernel/qapplication.cpp:3556
#39 0xb69f9ce0 in QApplication::notify (this=0xbf96acb8, receiver=0x8440248, 
    e=0x8e31be8) at kernel/qapplication.cpp:3115
#40 0xb78d96f7 in KApplication::notify (this=0xbf96acb8, receiver=0x8440248, 
    event=0x8e31be8)
    at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:319
#41 0xb725b4a4 in QCoreApplication::notifyInternal (this=0xbf96acb8, 
    receiver=0x8440248, event=0x8e31be8) at kernel/qcoreapplication.cpp:530
#42 0xb725e7f1 in QCoreApplication::sendEvent (receiver=0x8440248, 
    event=0x8e31be8)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:200
#43 0xb725b97b in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x804cf50) at kernel/qcoreapplication.cpp:1113
#44 0xb725bad1 in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=-1) at kernel/qcoreapplication.cpp:1001
#45 0xb7285c34 in postEventSourceDispatch (s=0x805ed98)
    at kernel/qeventdispatcher_glib.cpp:207
#46 0xb64725d6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#47 0xb6475972 in ?? () from /usr/lib/libglib-2.0.so.0
#48 0x0805d910 in ?? ()
#49 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 1 FiNeX 2007-12-29 12:19:08 UTC
Confirmed on revision 754025.
Comment 2 Tommi Tervo 2008-06-04 11:15:04 UTC

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