Bug 157423 - segfault in Save As download dialog
Summary: segfault in Save As download dialog
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-08 14:28 UTC by Marcus Better
Modified: 2014-01-25 13:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.11 KB, text/plain)
2014-01-25 13:54 UTC, Joachim Mairböck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Better 2008-02-08 14:28:16 UTC
Version:           4.0.1 (KDE 4.0.1) (using 4.0.1 (KDE 4.0.1), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.24-lg

Konqueror crashes repeatably when pressing "Save" in the file name dialog when downloading a file from SourceForge.

Specifically, visit this page:

  https://sourceforge.net/project/showfiles.php?group_id=102670&package_id=110097

and click on the link for mobicents-src-1_2_0_BETA1.zip. In the Save
As dialog is shown, accept the suggested file name. This causes the crash immediately.

(no debugging symbols found)
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb63e96c0 (LWP 28665)]
[KCrash handler]
#6  KHTMLPopupGUIClient::saveURL (parent=0x8c29648, url=@0xbff8e28c, 
    destURL=@0xbff8e158, metadata=@0x8e019b4, cacheId=0)
    at /usr/include/qt4/QtCore/qatomic_i386.h:83
#7  0xb46f4721 in KHTMLPopupGUIClient::saveURL (parent=0x8c29648, 
    caption=@0xbff8e208, url=@0xbff8e28c, metadata=@0x8e019b4, 
    filter=@0xbff8e204, cacheId=0, suggestedFilename=@0xbff8e2fc)
    at /build/buildd/kde4libs-4.0.1/khtml/khtml_ext.cpp:916
#8  0xb46e0eb2 in KHTMLRun::save (this=0x8aee5d0, url=@0xbff8e28c, 
    suggestedFilename=@0xbff8e2fc)
    at /build/buildd/kde4libs-4.0.1/khtml/khtml_run.cpp:101
#9  0xb7410a48 in KParts::BrowserRun::handleNonEmbeddable (this=0x8aee5d0, 
    _mimeType=@0xbff8e358)
    at /build/buildd/kde4libs-4.0.1/kparts/browserrun.cpp:233
#10 0xb46e1091 in KHTMLRun::foundMimeType (this=0x8aee5d0, _type=@0xbff8e3bc)
    at /build/buildd/kde4libs-4.0.1/khtml/khtml_run.cpp:74
#11 0xb741151d in KParts::BrowserRun::slotBrowserMimetype (this=0x8aee5d0, 
    _job=0x8a070b8, type=@0xbff8f024)
    at /build/buildd/kde4libs-4.0.1/kparts/browserrun.cpp:215
#12 0xb7411c6e in KParts::BrowserRun::qt_metacall (this=0x8aee5d0, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbff8e918)
    at /build/buildd/kde4libs-4.0.1/obj-i486-linux-gnu/kparts/browserrun.moc:72
#13 0xb46e0bc2 in KHTMLRun::qt_metacall (this=0x8aee5d0, 
    _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbff8e918)
    at /build/buildd/kde4libs-4.0.1/obj-i486-linux-gnu/khtml/khtml_run.moc:58
#14 0xb7ccee0a in QMetaObject::activate (sender=0x8a070b8, 
    from_signal_index=44, to_signal_index=44, argv=0xbff8e918)
    at kernel/qobject.cpp:3087
#15 0xb7ccf9c2 in QMetaObject::activate (sender=0x8a070b8, m=0xb7675a50, 
    local_signal_index=4, argv=0xbff8e918) at kernel/qobject.cpp:3149
#16 0xb74ce749 in KIO::TransferJob::mimetype (this=0x8a070b8, _t1=0x8a070b8, 
    _t2=@0xbff8f024)
    at /build/buildd/kde4libs-4.0.1/obj-i486-linux-gnu/kio/jobclasses.moc:383
#17 0xb74cf802 in KIO::TransferJob::slotMimetype (this=0x8a070b8, 
    type=@0xbff8f024) at /build/buildd/kde4libs-4.0.1/kio/kio/job.cpp:1106
#18 0xb74da8aa in KIO::TransferJob::qt_metacall (this=0x8a070b8, 
    _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbff8ee5c)
    at /build/buildd/kde4libs-4.0.1/obj-i486-linux-gnu/kio/jobclasses.moc:338
#19 0xb7ccee0a in QMetaObject::activate (sender=0x8cea2b0, 
    from_signal_index=23, to_signal_index=23, argv=0xbff8ee5c)
    at kernel/qobject.cpp:3087
#20 0xb7ccf9c2 in QMetaObject::activate (sender=0x8cea2b0, m=0xb76783a4, 
    local_signal_index=19, argv=0xbff8ee5c) at kernel/qobject.cpp:3149
#21 0xb759ee03 in KIO::SlaveInterface::mimeType (this=0x8cea2b0, 
    _t1=@0xbff8f024)
    at /build/buildd/kde4libs-4.0.1/obj-i486-linux-gnu/kio/slaveinterface.moc:262
#22 0xb75a2f8f in KIO::SlaveInterface::dispatch (this=0x8cea2b0, _cmd=21, 
    rawdata=@0xbff8f064)
    at /build/buildd/kde4libs-4.0.1/kio/kio/slaveinterface.cpp:285
#23 0xb759fa09 in KIO::SlaveInterface::dispatch (this=0x8cea2b0)
    at /build/buildd/kde4libs-4.0.1/kio/kio/slaveinterface.cpp:90
#24 0xb758f78f in KIO::Slave::gotInput (this=0x8cea2b0)
    at /build/buildd/kde4libs-4.0.1/kio/kio/slave.cpp:319
#25 0xb75904fd in KIO::Slave::qt_metacall (this=0x8cea2b0, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbff8f598)
    at /build/buildd/kde4libs-4.0.1/obj-i486-linux-gnu/kio/slave.moc:74
#26 0xb7ccee0a in QMetaObject::activate (sender=0x96a34b0, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3087
#27 0xb7ccf9c2 in QMetaObject::activate (sender=0x96a34b0, m=0xb76752a0, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3149
#28 0xb749f087 in KIO::Connection::readyRead (this=0x96a34b0)
    at /build/buildd/kde4libs-4.0.1/obj-i486-linux-gnu/kio/connection.moc:83
#29 0xb74a0d40 in KIO::ConnectionPrivate::dequeue (this=0xa1b5d70)
    at /build/buildd/kde4libs-4.0.1/kio/kio/connection.cpp:82
#30 0xb74a0dfe in KIO::Connection::qt_metacall (this=0x96a34b0, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x849a308)
    at /build/buildd/kde4libs-4.0.1/obj-i486-linux-gnu/kio/connection.moc:71
#31 0xb7cc8a2b in QMetaCallEvent::placeMetaCall (this=0x8e92d70, 
    object=0x96a34b0) at kernel/qobject.cpp:536
#32 0xb7ccdaf3 in QObject::event (this=0x96a34b0, e=0x0)
    at kernel/qobject.cpp:1128
#33 0xb6c1d21d in QApplicationPrivate::notify_helper (this=0x8058178, 
    receiver=0x96a34b0, e=0x8e92d70) at kernel/qapplication.cpp:3556
#34 0xb6c20c77 in QApplication::notify (this=0xbff8feac, receiver=0x96a34b0, 
    e=0x8e92d70) at kernel/qapplication.cpp:3115
#35 0xb782e6cd in KApplication::notify (this=0xbff8feac, receiver=0x96a34b0, 
    event=0x8e92d70)
    at /build/buildd/kde4libs-4.0.1/kdeui/kernel/kapplication.cpp:314
#36 0xb7cbbffb in QCoreApplication::notifyInternal (this=0xbff8feac, 
    receiver=0x96a34b0, event=0x8e92d70) at kernel/qcoreapplication.cpp:530
#37 0xb7cbd7be in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x804bf50)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:200
#38 0xb7cbdaad in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=-1) at kernel/qcoreapplication.cpp:1001
#39 0xb7cdfcdb in postEventSourceDispatch (s=0x805b460)
    at kernel/qeventdispatcher_glib.cpp:207
#40 0xb692c2b6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0xb692f643 in ?? () from /usr/lib/libglib-2.0.so.0
#42 0x0805a898 in ?? ()
#43 0x00000000 in ?? ()
#0  0xb7fc4410 in __kernel_vsyscall ()


Another trace of the same bug:

(no debugging symbols found)
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb639d6c0 (LWP 29085)]
[KCrash handler]
#6  QMap<QString, QString>::detach_helper (this=0x8e310e8)
    at /usr/include/qt4/QtCore/qatomic_i386.h:83
#7  0xb7484d98 in KIO::Job::addMetaData (this=0x954a850, key=@0xbfe40abc, 
    value=@0xbfe40ab8) at /usr/include/qt4/QtCore/qmap.h:159
#8  0xb46a6eea in KHTMLPopupGUIClient::saveURL (parent=0x84614d8, 
    url=@0xbfe40cec, destURL=@0xbfe40bb8, metadata=@0x8d9cbac, cacheId=0)
    at /build/buildd/kde4libs-4.0.1/khtml/khtml_ext.cpp:994
#9  0xb46a8721 in KHTMLPopupGUIClient::saveURL (parent=0x84614d8, 
    caption=@0xbfe40c68, url=@0xbfe40cec, metadata=@0x8d9cbac, 
    filter=@0xbfe40c64, cacheId=0, suggestedFilename=@0xbfe40d5c)
    at /build/buildd/kde4libs-4.0.1/khtml/khtml_ext.cpp:916
#10 0xb4694eb2 in KHTMLRun::save (this=0x92b45d0, url=@0xbfe40cec, 
    suggestedFilename=@0xbfe40d5c)
    at /build/buildd/kde4libs-4.0.1/khtml/khtml_run.cpp:101
#11 0xb73c4a48 in KParts::BrowserRun::handleNonEmbeddable (this=0x92b45d0, 
    _mimeType=@0xbfe40db8)
    at /build/buildd/kde4libs-4.0.1/kparts/browserrun.cpp:233
#12 0xb4695091 in KHTMLRun::foundMimeType (this=0x92b45d0, _type=@0xbfe40e1c)
    at /build/buildd/kde4libs-4.0.1/khtml/khtml_run.cpp:74
#13 0xb73c551d in KParts::BrowserRun::slotBrowserMimetype (this=0x92b45d0, 
    _job=0x926ce98, type=@0xbfe41a84)
    at /build/buildd/kde4libs-4.0.1/kparts/browserrun.cpp:215
#14 0xb73c5c6e in KParts::BrowserRun::qt_metacall (this=0x92b45d0, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfe41378)
    at /build/buildd/kde4libs-4.0.1/obj-i486-linux-gnu/kparts/browserrun.moc:72
#15 0xb4694bc2 in KHTMLRun::qt_metacall (this=0x92b45d0, 
    _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfe41378)
    at /build/buildd/kde4libs-4.0.1/obj-i486-linux-gnu/khtml/khtml_run.moc:58
#16 0xb7c82e0a in QMetaObject::activate (sender=0x926ce98, 
    from_signal_index=44, to_signal_index=44, argv=0xbfe41378)
    at kernel/qobject.cpp:3087
#17 0xb7c839c2 in QMetaObject::activate (sender=0x926ce98, m=0xb7629a50, 
    local_signal_index=4, argv=0xbfe41378) at kernel/qobject.cpp:3149
#18 0xb7482749 in KIO::TransferJob::mimetype (this=0x926ce98, _t1=0x926ce98, 
    _t2=@0xbfe41a84)
    at /build/buildd/kde4libs-4.0.1/obj-i486-linux-gnu/kio/jobclasses.moc:383
#19 0xb7483802 in KIO::TransferJob::slotMimetype (this=0x926ce98, 
    type=@0xbfe41a84) at /build/buildd/kde4libs-4.0.1/kio/kio/job.cpp:1106
#20 0xb748e8aa in KIO::TransferJob::qt_metacall (this=0x926ce98, 
    _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbfe418bc)
    at /build/buildd/kde4libs-4.0.1/obj-i486-linux-gnu/kio/jobclasses.moc:338
#21 0xb7c82e0a in QMetaObject::activate (sender=0x868afc0, 
    from_signal_index=23, to_signal_index=23, argv=0xbfe418bc)
    at kernel/qobject.cpp:3087
#22 0xb7c839c2 in QMetaObject::activate (sender=0x868afc0, m=0xb762c3a4, 
    local_signal_index=19, argv=0xbfe418bc) at kernel/qobject.cpp:3149
#23 0xb7552e03 in KIO::SlaveInterface::mimeType (this=0x868afc0, 
    _t1=@0xbfe41a84)
    at /build/buildd/kde4libs-4.0.1/obj-i486-linux-gnu/kio/slaveinterface.moc:262
#24 0xb7556f8f in KIO::SlaveInterface::dispatch (this=0x868afc0, _cmd=21, 
    rawdata=@0xbfe41ac4)
    at /build/buildd/kde4libs-4.0.1/kio/kio/slaveinterface.cpp:285
#25 0xb7553a09 in KIO::SlaveInterface::dispatch (this=0x868afc0)
    at /build/buildd/kde4libs-4.0.1/kio/kio/slaveinterface.cpp:90
#26 0xb754378f in KIO::Slave::gotInput (this=0x868afc0)
    at /build/buildd/kde4libs-4.0.1/kio/kio/slave.cpp:319
#27 0xb75444fd in KIO::Slave::qt_metacall (this=0x868afc0, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfe41ff8)
    at /build/buildd/kde4libs-4.0.1/obj-i486-linux-gnu/kio/slave.moc:74
#28 0xb7c82e0a in QMetaObject::activate (sender=0x8676a98, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3087
#29 0xb7c839c2 in QMetaObject::activate (sender=0x8676a98, m=0xb76292a0, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3149
#30 0xb7453087 in KIO::Connection::readyRead (this=0x8676a98)
    at /build/buildd/kde4libs-4.0.1/obj-i486-linux-gnu/kio/connection.moc:83
#31 0xb7454d40 in KIO::ConnectionPrivate::dequeue (this=0x87102f0)
    at /build/buildd/kde4libs-4.0.1/kio/kio/connection.cpp:82
#32 0xb7454dfe in KIO::Connection::qt_metacall (this=0x8676a98, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x8f0b9a8)
    at /build/buildd/kde4libs-4.0.1/obj-i486-linux-gnu/kio/connection.moc:71
#33 0xb7c7ca2b in QMetaCallEvent::placeMetaCall (this=0x8747620, 
    object=0x8676a98) at kernel/qobject.cpp:536
#34 0xb7c81af3 in QObject::event (this=0x8676a98, e=0x95d87c0)
    at kernel/qobject.cpp:1128
#35 0xb6bd121d in QApplicationPrivate::notify_helper (this=0x8058178, 
    receiver=0x8676a98, e=0x8747620) at kernel/qapplication.cpp:3556
#36 0xb6bd4c77 in QApplication::notify (this=0xbfe4290c, receiver=0x8676a98, 
    e=0x8747620) at kernel/qapplication.cpp:3115
#37 0xb77e26cd in KApplication::notify (this=0xbfe4290c, receiver=0x8676a98, 
    event=0x8747620)
    at /build/buildd/kde4libs-4.0.1/kdeui/kernel/kapplication.cpp:314
#38 0xb7c6fffb in QCoreApplication::notifyInternal (this=0xbfe4290c, 
    receiver=0x8676a98, event=0x8747620) at kernel/qcoreapplication.cpp:530
#39 0xb7c717be in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x804bf50)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:200
#40 0xb7c71aad in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=-1) at kernel/qcoreapplication.cpp:1001
#41 0xb7c93cdb in postEventSourceDispatch (s=0x805b460)
    at kernel/qeventdispatcher_glib.cpp:207
#42 0xb68e02b6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0xb68e3643 in ?? () from /usr/lib/libglib-2.0.so.0
#44 0x0805a898 in ?? ()
#45 0x00000000 in ?? ()
#0  0xb7f78410 in __kernel_vsyscall ()
Comment 1 david 2008-05-04 13:09:50 UTC
from krush day tests : 
3 people tested with konqueror 4.0.3 or highter and it works just fine.

please retry with a newer version to see if it's been fixed.
Comment 2 Marcus Better 2008-05-05 14:25:42 UTC
Seems to work with 4.00.72. (Of course the server response for that page has likely changed too.)
Comment 3 Joachim Mairböck 2014-01-25 13:54:59 UTC
Created attachment 84837 [details]
New crash information added by DrKonqi

konqueror (4.11.95) on KDE Platform 4.11.95 using Qt 4.8.5

- What I was doing when the application crashed:
Konqueror crashed when trying to download iTunes for Windows (http://www.apple.com/de/itunes/download/) and clicking "Save as" in the dialog. The browser is redirected to a "Thanks" page.

-- Backtrace (Reduced):
#7  0xacc82421 in KHTMLRun::save (this=0x1705d9a8, url=..., suggestedFilename=...) at /usr/src/debug/kdelibs-4.11.95/khtml/khtml_run.cpp:104
#8  0xb31ded87 in KParts::BrowserRun::handleNonEmbeddable (this=this@entry=0x1705d9a8, _mimeType=..., selectedService=selectedService@entry=0xbf870f40) at /usr/src/debug/kdelibs-4.11.95/kparts/browserrun.cpp:287
#9  0xacc826a6 in KHTMLRun::foundMimeType (this=0x1705d9a8, _type=...) at /usr/src/debug/kdelibs-4.11.95/khtml/khtml_run.cpp:64
#10 0xb389035f in KRun::mimeTypeDetermined (this=0x1705d9a8, mimeType=...) at /usr/src/debug/kdelibs-4.11.95/kio/kio/krun.cpp:1460
#11 0xb31ddd6e in KParts::BrowserRun::slotBrowserMimetype (this=this@entry=0x1705d9a8, _job=0x176829d0, type=...) at /usr/src/debug/kdelibs-4.11.95/kparts/browserrun.cpp:261