Bug 61091

Summary: Konqueror crash with octet stream (*.exe)
Product: [Applications] konqueror Reporter: Thomas <tmoser>
Component: generalAssignee: Konqueror Bugs <konqueror-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Thomas 2003-07-11 15:07:37 UTC
Version:           Konqueror 3.1.2 Using KDE 3.1.2 (using KDE KDE 3.1.2)
Installed from:    Unlisted Binary Package
OS:          Linux

Opening the following URL crashes the whole Konqueror session. It is a "Content-Type: application/octet-stream" containing a Windows EXE file (which is a stupid thing to click on, but I did not see it the first time and Konqueror should not crash anyway). This error is 100% reproducable for me.

URL: http://www.ericsson.com/mobilityworld/developerszonedown/downloads/general/Sony_Ericsson_pJava_P800_Course.exe

tcpflow me -> server:
>>>>>>>>
GET /mobilityworld/developerszonedown/downloads/general/Sony_Ericsson_pJava_P800_Course.exe HTTP/1.1
Connection: Keep-Alive
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux)
Referer: http://www.sonyericsson.com/developer/semcroot/global/p_home.jsp
Pragma: no-cache
Cache-control: no-cache
Accept: text/*, image/jpeg, image/png, image/*, */*
Accept-Encoding: x-gzip, x-deflate, gzip, deflate, identity
Accept-Charset: iso-8859-1, utf-8;q=0.5, *;q=0.5
Accept-Language: en
Host: www.ericsson.com
Cookie: Ericsson=1311023ef10800005fa2053f44fa000016060000

<<<<<<<<



tcpflow server --> me (11104 bytes 'till crash):
>>>>>>>>
HTTP/1.0 200 OK
Server: Microsoft-IIS/5.0
Content-Type: application/octet-stream
Accept-Ranges: bytes
Last-Modified: Tue, 03 Sep 2002 08:40:05 GMT
ETag: "54499f802553c21:87e"
Content-Length: 2286243
Date: Fri, 11 Jul 2003 12:40:50 GMT
Connection: keep-alive

+ binary stuff + "This program must be run under Win32" + binary stuff ...
<<<<<<<<


Backtrace:
>>>>>>>>
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 1024 (LWP 3394)]

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
0x410d33a9 in wait4 () from /lib/i686/libc.so.6
#0  0x410d33a9 in wait4 () from /lib/i686/libc.so.6
#1  0x4114ecf0 in __DTOR_END__ () from /lib/i686/libc.so.6
#2  0x40f2e983 in waitpid () from /lib/i686/libpthread.so.0
#3  0x4062a25d in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#4  0x40f2ca7a in pthread_sighandler () from /lib/i686/libpthread.so.0
#5  <signal handler called>
#6  0x41396a62 in KonqFrame::attachInternal() ()
   from /opt/kde3/lib/konqueror.so
#7  0x4139696c in KonqFrame::attach(KonqViewFactory const&) ()
   from /opt/kde3/lib/konqueror.so
#8  0x41386ed7 in KonqView::switchView(KonqViewFactory&) ()
   from /opt/kde3/lib/konqueror.so
#9  0x4138575b in KonqView::KonqView(KonqViewFactory&, KonqFrame*, KonqMainWindow*, KSharedPtr<KService> const&, QValueList<KSharedPtr<KService> > const&, QValueList<KSharedPtr<KService> > const&, QString const&, bool) ()
   from /opt/kde3/lib/konqueror.so
#10 0x4138f323 in KonqViewManager::setupView(KonqFrameContainerBase*, KonqViewFactory&, KSharedPtr<KService> const&, QValueList<KSharedPtr<KService> > const&, QValueList<KSharedPtr<KService> > const&, QString const&, bool) ()
   from /opt/kde3/lib/konqueror.so
#11 0x4138af3a in KonqViewManager::Initialize(QString const&, QString const&)
    () from /opt/kde3/lib/konqueror.so
#12 0x4136409a in KonqMainWindow::openView(QString, KURL const&, KonqView*, KonqOpenURLRequest) () from /opt/kde3/lib/konqueror.so
#13 0x41384617 in KonqRun::foundMimeType(QString const&) ()
   from /opt/kde3/lib/konqueror.so
#14 0x400410f6 in KParts::BrowserRun::slotBrowserMimetype(KIO::Job*, QString const&) () from /opt/kde3/lib/libkparts.so.2
#15 0x40042e1c in KParts::BrowserRun::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkparts.so.2
#16 0x4138515d in KonqRun::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/konqueror.so
#17 0x409c0ef9 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
#18 0x4015cc27 in KIO::TransferJob::mimetype(KIO::Job*, QString const&) ()
   from /opt/kde3/lib/libkio.so.4
#19 0x4014bd02 in KIO::TransferJob::slotMimetype(QString const&) ()
   from /opt/kde3/lib/libkio.so.4
#20 0x4015cdf5 in KIO::TransferJob::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkio.so.4
#21 0x409c0ef9 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
#22 0x409c11c5 in QObject::activate_signal(int, QString) ()
   from /usr/lib/libqt-mt.so.3
#23 0x4013e45a in KIO::SlaveInterface::mimeType(QString const&) ()
   from /opt/kde3/lib/libkio.so.4
#24 0x4013c473 in KIO::SlaveInterface::dispatch(int, QMemArray<char> const&) ()
   from /opt/kde3/lib/libkio.so.4
#25 0x4013bfd9 in KIO::SlaveInterface::dispatch() ()
   from /opt/kde3/lib/libkio.so.4
#26 0x40139c3b in KIO::Slave::gotInput() () from /opt/kde3/lib/libkio.so.4
#27 0x4013b6d0 in KIO::Slave::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkio.so.4
#28 0x409c0ef9 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
#29 0x409c0fd5 in QObject::activate_signal(int, int) ()
   from /usr/lib/libqt-mt.so.3
#30 0x40ca2ee2 in QSocketNotifier::activated(int) ()
   from /usr/lib/libqt-mt.so.3
#31 0x409dd740 in QSocketNotifier::event(QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#32 0x40962d94 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#33 0x4096231c in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#34 0x405bbf79 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#35 0x4093bd08 in QEventLoop::activateSocketNotifiers() ()
   from /usr/lib/libqt-mt.so.3
#36 0x409192f3 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/libqt-mt.so.3
#37 0x40976b06 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
#38 0x409769a8 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
#39 0x40962fc1 in QApplication::exec() () from /usr/lib/libqt-mt.so.3
#40 0x4135ca77 in main () from /opt/kde3/lib/konqueror.so
#41 0x0804cc3a in strcpy ()
#42 0x0804d909 in strcpy ()
#43 0x0804dddc in strcpy ()
#44 0x0804eb40 in strcpy ()
#45 0x4104e4c2 in __libc_start_main () from /lib/i686/libc.so.6
<<<<<<<<

Package: binary package kdebase3-3.1.2-14 etc from download.kde.org
Comment 1 Maksim Orlovich 2003-07-11 15:28:55 UTC
Duplicate of #58480, fixed for 3.1.3 and up by Waldo Bastian.  
 

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