Bug 122205 - Konqueror crashes when trying to download spyware from weather.com
Summary: Konqueror crashes when trying to download spyware from weather.com
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 3.5
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-18 10:54 UTC by Dima Ryazanov
Modified: 2008-04-29 11:39 UTC (History)
0 users

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 Dima Ryazanov 2006-02-18 10:54:50 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    Gentoo Packages
Compiler:          gcc version 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8) 
OS:                Linux

Ok, maybe Konqueror has a point, but still :)

1. Go to http://www.weather.com/services/desktop.html?from=LapLocalLinker&refer=LapLocalLinker
2. Click the red button "Free Download Now!", select "Save As...".
3. No save dialog appears; Konqueror crashes.

Backtrace:

#6  0x0000000c in ?? ()
#7  0x4377c89d in KParts::BrowserRun::handleNonEmbeddable ()
   from /usr/kde/3.5/lib/libkparts.so.2
#8  0x4392ca4f in KonqRun::foundMimeType ()
   from /usr/kde/3.5/lib/libkdeinit_konqueror.so
#9  0x4377bcf8 in KParts::BrowserRun::slotBrowserMimetype ()
   from /usr/kde/3.5/lib/libkparts.so.2
#10 0x4377bda0 in KParts::BrowserRun::qt_invoke ()
   from /usr/kde/3.5/lib/libkparts.so.2
#11 0x438e0a46 in KonqRun::qt_invoke ()
   from /usr/kde/3.5/lib/libkdeinit_konqueror.so
#12 0x428b4b51 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#13 0x434b1b0f in KIO::TransferJob::mimetype ()
   from /usr/kde/3.5/lib/libkio.so.4
#14 0x434b1b82 in KIO::TransferJob::slotMimetype ()
   from /usr/kde/3.5/lib/libkio.so.4
#15 0x435048ab in KIO::TransferJob::qt_invoke ()
   from /usr/kde/3.5/lib/libkio.so.4
#16 0x428b4b51 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#17 0x428b54f9 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#18 0x434c8d43 in KIO::SlaveInterface::mimeType ()
   from /usr/kde/3.5/lib/libkio.so.4
#19 0x4351c2d7 in KIO::SlaveInterface::dispatch ()
   from /usr/kde/3.5/lib/libkio.so.4
#20 0x434c2c07 in KIO::SlaveInterface::dispatch ()
   from /usr/kde/3.5/lib/libkio.so.4
#21 0x434c762b in KIO::Slave::gotInput () from /usr/kde/3.5/lib/libkio.so.4
#22 0x434c77d9 in KIO::Slave::qt_invoke () from /usr/kde/3.5/lib/libkio.so.4
#23 0x428b4b51 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#24 0x428b51ea in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#25 0x42bc4ec4 in QSocketNotifier::activated ()
   from /usr/qt/3/lib/libqt-mt.so.3
#26 0x428d1966 in QSocketNotifier::event () from /usr/qt/3/lib/libqt-mt.so.3
#27 0x4285cb8b in QApplication::internalNotify ()
   from /usr/qt/3/lib/libqt-mt.so.3
#28 0x4285d40f in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#29 0x42f78cc2 in KApplication::notify ()
   from /usr/kde/3.5/lib/libkdecore.so.4
#30 0x42851a2c in QEventLoop::activateSocketNotifiers ()
   from /usr/qt/3/lib/libqt-mt.so.3
#31 0x428119a9 in QEventLoop::processEvents ()
   from /usr/qt/3/lib/libqt-mt.so.3
#32 0x42871b1c in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#33 0x42871a76 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#34 0x4285c4d9 in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#35 0x43929aff in kdemain () from /usr/kde/3.5/lib/libkdeinit_konqueror.so
#36 0x4b7b8f1b in __libc_start_main () from /lib/libc.so.6
#37 0x080486a1 in ?? ()


Also, here's a backtrace in debug mode, compiled from source, but for KDE 3.5.0, unfortunately (directly from gdb, not drkonqi - drkonqi wasn't able to produce anything useful, for some reason...):

#0  0xb7d4a1e0 in KParts::BrowserRun::handleNonEmbeddable (this=0x8606830, _mimeType=@0xbfc032c0) at browserrun.cpp:214
#1  0xb7ec28bc in KonqRun::foundMimeType (this=0x8606830, _type=@0xbfc0331c) at konq_run.cc:106
#2  0xb7d48cb2 in KParts::BrowserRun::slotBrowserMimetype (this=0x8606830, _job=0x86500e8, type=@0x85f9e50) at browserrun.cpp:196
#3  0xb7d4a7a5 in KParts::BrowserRun::qt_invoke (this=0x8606830, _id=7, _o=0xbfc03404) at browserrun.moc:102
#4  0xb7e6ad2e in KonqRun::qt_invoke (this=0x8606830, _id=7, _o=0xbfc03404) at konq_run.moc:88
#5  0x428b4b51 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#6  0xb7a82cdf in KIO::TransferJob::mimetype (this=0x86500e8, t0=0x86500e8, t1=@0x86501f8) at jobclasses.moc:1050
#7  0xb7a82d50 in KIO::TransferJob::slotMimetype (this=0x86500e8, type=@0x8603bf0) at job.cpp:1080
#8  0xb7aa9abc in KIO::TransferJob::qt_invoke (this=0x86500e8, _id=20, _o=0xbfc03524) at jobclasses.moc:1074
#9  0x428b4b51 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#10 0x428b54f9 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#11 0xb7a7e8a2 in KIO::SlaveInterface::mimeType (this=0x8340170, t0=@0xbfc03690) at slaveinterface.moc:370
#12 0xb7ac18db in KIO::SlaveInterface::dispatch (this=0x8340170, _cmd=21, rawdata=@0xbfc03768) at slaveinterface.cpp:338
#13 0xb7aa7d8e in KIO::SlaveInterface::dispatch (this=0x8340170) at slaveinterface.cpp:173
#14 0xb7aa0614 in KIO::Slave::gotInput (this=0x8340170) at slave.cpp:300
#15 0xb7aa68b1 in KIO::Slave::qt_invoke (this=0x8340170, _id=4, _o=0xbfc03864) at slave.moc:113
#16 0x428b4b51 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#17 0x428b51ea in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#18 0x42bc4ec4 in QSocketNotifier::activated () from /usr/qt/3/lib/libqt-mt.so.3
#19 0x428d1966 in QSocketNotifier::event () from /usr/qt/3/lib/libqt-mt.so.3
#20 0x4285cb8b in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3
#21 0x4285d40f in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#22 0xb7511aa2 in KApplication::notify (this=0xbfc03d54, receiver=0x8411a98, event=0xbfc03b28) at kapplication.cpp:550
#23 0x42851a2c in QEventLoop::activateSocketNotifiers () from /usr/qt/3/lib/libqt-mt.so.3
#24 0x428119a9 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
#25 0x42871b1c in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#26 0x42871a76 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#27 0x4285c4d9 in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#28 0xb7ec131a in kdemain (argc=1, argv=0xbfc04234) at konq_main.cc:206
#29 0x08048752 in main (argc=1, argv=0xbfc04234) at konqueror.la.cc:2
Comment 1 Maksim Orlovich 2006-02-18 16:16:40 UTC
(sigh). Pretty obvious what's happening here -- JS navigates a page away when we're showing the dialog, and we yank some important stuff away. These event loop recursion bugs really suck :-(
Comment 2 A. Spehr 2008-04-29 11:39:45 UTC
works for me in 3.5.8