Bug 151083 - crash (failed assert) in askEmbedOrSave
Summary: crash (failed assert) in askEmbedOrSave
Status: RESOLVED DUPLICATE of bug 163195
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 151773 154790 156670 157616 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-20 11:15 UTC by Benoît Jacob
Modified: 2008-06-05 11:56 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benoît Jacob 2007-10-20 11:15:35 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          g++ 4.2.1 
OS:                Linux

Title says it all... konqi crashed, backtrace below.

Context: I clicked to download a source tarball which was hosted on sf, the page said "your download will begin shortly" and konqi crashed when the download was ready to begin.

---------------
backtrace
---------------

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1238055232 (LWP 16530)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb668d875 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb668f201 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb71e332f in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbffc6720 "ASSERT: \"d\" in file /home/gaston/cuisine/trunk/kdelibs/kdecore/util/ksharedptr.h, line 114") at global/qglobal.cpp:2162
#10 0xb71e33b3 in qFatal (msg=0xb72e0610 "ASSERT: \"%s\" in file %s, line %d")
    at global/qglobal.cpp:2393
#11 0xb71e351f in qt_assert (assertion=0xb7f08bdd "d", 
    file=0xb7f08ba0 "/home/gaston/cuisine/trunk/kdelibs/kdecore/util/ksharedptr.h", line=114) at global/qglobal.cpp:1919
#12 0xb7eeea21 in KSharedPtr<KMimeType>::operator-> (this=0xbffc8810)
    at /home/gaston/cuisine/trunk/kdelibs/kdecore/util/ksharedptr.h:114
#13 0xb7f04258 in KParts::BrowserRun::askEmbedOrSave (url=@0xbffc88d8, 
    mimeType=@0xbffc895c, suggestedFileName=@0xbffc8914, flags=0)
    at /home/gaston/cuisine/trunk/kdelibs/kparts/browserrun.cpp:360
#14 0xb422dc72 in KHTMLPart::processObjectRequest (this=0x82aaf80, 
    child=0x992dcf8, _url=@0xbffc8950, mimetype=@0xbffc895c)
    at /home/gaston/cuisine/trunk/kdelibs/khtml/khtml_part.cpp:4455
#15 0xb42564e6 in KHTMLRun::foundMimeType (this=0x937b8d0, _type=@0xbffc89bc)
    at /home/gaston/cuisine/trunk/kdelibs/khtml/khtml_run.cpp:53
#16 0xb7f0562d in KParts::BrowserRun::slotBrowserMimetype (this=0x937b8d0, 
    _job=0x979f528, type=@0xbffc95ac)
    at /home/gaston/cuisine/trunk/kdelibs/kparts/browserrun.cpp:215
#17 0xb7f058dd in KParts::BrowserRun::qt_metacall (this=0x937b8d0, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbffc8f38)
    at /home/kde4/kdelibs-build/kparts/browserrun.moc:72
#18 0xb42562da in KHTMLRun::qt_metacall (this=0x937b8d0, 
    _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbffc8f38)
    at /home/kde4/kdelibs-build/khtml/khtml_run.moc:58
#19 0xb72b931e in QMetaObject::activate (sender=0x979f528, 
    from_signal_index=44, to_signal_index=44, argv=0xbffc8f38)
    at kernel/qobject.cpp:3089
#20 0xb72b9d6f in QMetaObject::activate (sender=0x979f528, m=0xb7e3aa70, 
    local_signal_index=4, argv=0xbffc8f38) at kernel/qobject.cpp:3151
#21 0xb7ccbbed in KIO::TransferJob::mimetype (this=0x979f528, _t1=0x979f528, 
    _t2=@0xbffc95ac) at /home/kde4/kdelibs-build/kio/jobclasses.moc:382
#22 0xb7ccd6b8 in KIO::TransferJob::slotMimetype (this=0x979f528, 
    type=@0xbffc95ac)
    at /home/gaston/cuisine/trunk/kdelibs/kio/kio/job.cpp:1125
#23 0xb7cd75ee in KIO::TransferJob::qt_metacall (this=0x979f528, 
    _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbffc94ac)
    at /home/kde4/kdelibs-build/kio/jobclasses.moc:337
#24 0xb72b931e in QMetaObject::activate (sender=0x8f81c70, 
    from_signal_index=23, to_signal_index=23, argv=0xbffc94ac)
    at kernel/qobject.cpp:3089
#25 0xb72b9d6f in QMetaObject::activate (sender=0x8f81c70, m=0xb7e3d5c4, 
    local_signal_index=19, argv=0xbffc94ac) at kernel/qobject.cpp:3151
#26 0xb7d79292 in KIO::SlaveInterface::mimeType (this=0x8f81c70, 
    _t1=@0xbffc95ac) at /home/kde4/kdelibs-build/kio/slaveinterface.moc:264
#27 0xb7d7baf8 in KIO::SlaveInterface::dispatch (this=0x8f81c70, _cmd=21, 
    rawdata=@0xbffc95e8)
    at /home/gaston/cuisine/trunk/kdelibs/kio/kio/slaveinterface.cpp:281
#28 0xb7d7b499 in KIO::SlaveInterface::dispatch (this=0x8f81c70)
    at /home/gaston/cuisine/trunk/kdelibs/kio/kio/slaveinterface.cpp:88
#29 0xb7d6e598 in KIO::Slave::gotInput (this=0x8f81c70)
    at /home/gaston/cuisine/trunk/kdelibs/kio/kio/slave.cpp:318
#30 0xb7d6fae4 in KIO::Slave::qt_metacall (this=0x8f81c70, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbffc9700)
    at /home/kde4/kdelibs-build/kio/slave.moc:74
#31 0xb72b931e in QMetaObject::activate (sender=0x891d620, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3089
#32 0xb72b9d6f in QMetaObject::activate (sender=0x891d620, m=0xb7e3a2a8, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3151
#33 0xb7ca774b in KIO::Connection::readyRead (this=0x891d620)
    at /home/kde4/kdelibs-build/kio/connection.moc:83
#34 0xb7ca8891 in KIO::ConnectionPrivate::commandReceived (this=0x8ebea88, 
    task=@0xbffca1dc)
    at /home/gaston/cuisine/trunk/kdelibs/kio/kio/connection.cpp:89
#35 0xb7ca91cf in KIO::Connection::qt_metacall (this=0x891d620, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbffca0cc)
    at /home/kde4/kdelibs-build/kio/connection.moc:72
#36 0xb72b931e in QMetaObject::activate (sender=0x82f9d88, 
    from_signal_index=5, to_signal_index=5, argv=0xbffca0cc)
    at kernel/qobject.cpp:3089
#37 0xb72b9d6f in QMetaObject::activate (sender=0x82f9d88, m=0xb7e3a288, 
    local_signal_index=1, argv=0xbffca0cc) at kernel/qobject.cpp:3151
#38 0xb7ca77da in KIO::AbstractConnectionBackend::commandReceived (
    this=0x82f9d88, _t1=@0xbffca1dc)
    at /home/kde4/kdelibs-build/kio/connection_p.moc:87
#39 0xb7ca944f in KIO::SocketConnectionBackend::socketReadyRead (
    this=0x82f9d88)
    at /home/gaston/cuisine/trunk/kdelibs/kio/kio/connection.cpp:362
#40 0xb7ca96f8 in KIO::SocketConnectionBackend::qt_metacall (this=0x82f9d88, 
    _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x9d53330)
    at /home/kde4/kdelibs-build/kio/connection_p.moc:142
#41 0xb72b2338 in QMetaCallEvent::placeMetaCall (this=0xa000758, 
    object=0x82f9d88) at kernel/qobject.cpp:538
#42 0xb72b707d in QObject::event (this=0x82f9d88, e=0xa000758)
    at kernel/qobject.cpp:1130
#43 0xb6a4e8c3 in QApplicationPrivate::notify_helper (this=0x805e328, 
    receiver=0x82f9d88, e=0xa000758) at kernel/qapplication.cpp:3558
#44 0xb6a4eba9 in QApplication::notify (this=0xbffcaaf0, receiver=0x82f9d88, 
    e=0xa000758) at kernel/qapplication.cpp:3117
#45 0xb78f53e9 in KApplication::notify (this=0xbffcaaf0, receiver=0x82f9d88, 
    event=0xa000758)
    at /home/gaston/cuisine/trunk/kdelibs/kdeui/kernel/kapplication.cpp:319
#46 0xb72a4ef4 in QCoreApplication::notifyInternal (this=0xbffcaaf0, 
    receiver=0x82f9d88, event=0xa000758) at kernel/qcoreapplication.cpp:532
#47 0xb72a8241 in QCoreApplication::sendEvent (receiver=0x82f9d88, 
    event=0xa000758)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:202
#48 0xb72a53cb in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x804bbc0) at kernel/qcoreapplication.cpp:1115
#49 0xb72a5521 in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=-1) at kernel/qcoreapplication.cpp:1003
#50 0xb72cf985 in postEventSourceDispatch (s=0x8061368)
    at kernel/qeventdispatcher_glib.cpp:209
#51 0xb64f611c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#52 0xb64f955f in ?? () from /usr/lib/libglib-2.0.so.0
#53 0x0805fea8 in ?? ()
#54 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 1 Benoît Jacob 2007-10-20 11:19:07 UTC
To reproduce this crash:
http://kile.sourceforge.net/download.php?get=http://prdownloads.sourceforge.net/kile/kile-2.0b2.tar.bz2?download

Here, it crashes consistently (sf decides to use the OVH mirror for me, don't know if that is relevant)
Comment 2 Maksim Orlovich 2007-11-22 20:38:49 UTC
*** Bug 151773 has been marked as a duplicate of this bug. ***
Comment 3 Maksim Orlovich 2008-01-31 21:10:40 UTC
*** Bug 156670 has been marked as a duplicate of this bug. ***
Comment 4 Tommi Tervo 2008-06-04 11:15:06 UTC
*** Bug 154790 has been marked as a duplicate of this bug. ***
Comment 5 Tommi Tervo 2008-06-04 11:15:28 UTC
*** Bug 157616 has been marked as a duplicate of this bug. ***
Comment 6 Maksim Orlovich 2008-06-04 17:16:07 UTC
Hmm, seems lke it needs a null-check there, if no content-disposition is set..
Comment 7 Jakub Stachowski 2008-06-05 11:56:58 UTC

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