Bug 142083 - konqueror crashes when "target save as" dialog is open and website automatically initiates a zip download which is shown in embedded viewer
Summary: konqueror crashes when "target save as" dialog is open and website automatica...
Status: RESOLVED FIXED
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: 2007-02-22 23:05 UTC by Jay
Modified: 2009-09-03 01:16 UTC (History)
2 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 Jay 2007-02-22 23:05:25 UTC
Version:           3.5.6 (using KDE 3.5.6, Arch Linux)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.20-ARCH

Konqueror crashes when this is done:

* go to k-files.de (registration needed for actual download)
* choose a file and click through the info pages to the download page
* the download page initiates download of the file after 3 seconds with
  <body onload="autoForward('ftp://path_to_file.zip', '3');">
* konqueror likes to view zips in the embedded viewer, but I want to
  download, so I right-click the file link and choose save-as
* the autodownload is initiated from the 'onload' command and konqueror
  crashes
Comment 1 Jay 2007-02-22 23:06:43 UTC
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb6bd9721 in raise () from /lib/libc.so.6
#8  0xb6bdaef8 in abort () from /lib/libc.so.6
#9  0xb6c0ee6b in __libc_message () from /lib/libc.so.6
#10 0xb6c14b00 in malloc_printerr () from /lib/libc.so.6
#11 0xb6c16199 in free () from /lib/libc.so.6
#12 0xb6dbb191 in operator delete () from /usr/lib/libstdc++.so.6
#13 0xb7e6de52 in KFileDialog::~KFileDialog () from /opt/kde/lib/libkio.so.4
#14 0xb72192cd in QWidget::~QWidget () from /opt/qt/lib/libqt-mt.so.3
#15 0xb72f4acb in QScrollView::~QScrollView () from /opt/qt/lib/libqt-mt.so.3
#16 0xb60e17fb in KHTMLView::~KHTMLView () from /opt/kde/lib/libkhtml.so.4
#17 0xb7f273d0 in KParts::Part::~Part () from /opt/kde/lib/libkparts.so.2
#18 0xb7f34a5d in KParts::ReadOnlyPart::~ReadOnlyPart ()
   from /opt/kde/lib/libkparts.so.2
#19 0xb60e0f59 in KHTMLPart::~KHTMLPart () from /opt/kde/lib/libkhtml.so.4
#20 0xb689daa9 in KonqView::switchView ()
   from /opt/kde/lib/libkdeinit_konqueror.so
#21 0xb689e369 in KonqView::changeViewMode ()
   from /opt/kde/lib/libkdeinit_konqueror.so
#22 0xb68a2398 in KonqMainWindow::openView ()
   from /opt/kde/lib/libkdeinit_konqueror.so
#23 0xb68ae3f4 in KonqRun::foundMimeType ()
   from /opt/kde/lib/libkdeinit_konqueror.so
#24 0xb7f33f77 in KParts::BrowserRun::scanFile ()
   from /opt/kde/lib/libkparts.so.2
#25 0xb686ea85 in KonqRun::scanFile ()
   from /opt/kde/lib/libkdeinit_konqueror.so
#26 0xb7d95be1 in KRun::slotTimeout () from /opt/kde/lib/libkio.so.4
#27 0xb7dcf7af in KRun::qt_invoke () from /opt/kde/lib/libkio.so.4
#28 0xb7f31905 in KParts::BrowserRun::qt_invoke ()
   from /opt/kde/lib/libkparts.so.2
#29 0xb686ea58 in KonqRun::qt_invoke ()
   from /opt/kde/lib/libkdeinit_konqueror.so
#30 0xb71e01c9 in QObject::activate_signal () from /opt/qt/lib/libqt-mt.so.3
#31 0xb71e0ddd in QObject::activate_signal () from /opt/qt/lib/libqt-mt.so.3
#32 0xb750b989 in QTimer::timeout () from /opt/qt/lib/libqt-mt.so.3
#33 0xb72035af in QTimer::event () from /opt/qt/lib/libqt-mt.so.3
#34 0xb7181f17 in QApplication::internalNotify ()
   from /opt/qt/lib/libqt-mt.so.3
#35 0xb7182ccf in QApplication::notify () from /opt/qt/lib/libqt-mt.so.3
#36 0xb789fd3e in KApplication::notify () from /opt/kde/lib/libkdecore.so.4
#37 0xb71773fc in QEventLoop::activateTimers () from /opt/qt/lib/libqt-mt.so.3
#38 0xb713163c in QEventLoop::processEvents () from /opt/qt/lib/libqt-mt.so.3
#39 0xb71987e1 in QEventLoop::enterLoop () from /opt/qt/lib/libqt-mt.so.3
#40 0xb7181aef in QApplication::enter_loop () from /opt/qt/lib/libqt-mt.so.3
#41 0xb7361776 in QDialog::exec () from /opt/qt/lib/libqt-mt.so.3
#42 0xb7ea46c9 in KFileDialog::getSaveURL () from /opt/kde/lib/libkio.so.4
#43 0xb60d49e6 in KHTMLPopupGUIClient::saveURL ()
   from /opt/kde/lib/libkhtml.so.4
#44 0xb60d504c in KHTMLPopupGUIClient::slotSaveLinkAs ()
   from /opt/kde/lib/libkhtml.so.4
#45 0xb60da87b in KHTMLPopupGUIClient::qt_invoke ()
   from /opt/kde/lib/libkhtml.so.4
#46 0xb71e01c9 in QObject::activate_signal () from /opt/qt/lib/libqt-mt.so.3
#47 0xb71e0ddd in QObject::activate_signal () from /opt/qt/lib/libqt-mt.so.3
#48 0xb7a5b409 in KAction::activated () from /opt/kde/lib/libkdeui.so.4
#49 0xb7a9ad91 in KAction::slotActivated () from /opt/kde/lib/libkdeui.so.4
#50 0xb7b5777d in KAction::slotPopupActivated ()
   from /opt/kde/lib/libkdeui.so.4
#51 0xb7b57a41 in KAction::qt_invoke () from /opt/kde/lib/libkdeui.so.4
#52 0xb71e01c9 in QObject::activate_signal () from /opt/qt/lib/libqt-mt.so.3
#53 0xb750981e in QSignal::signal () from /opt/qt/lib/libqt-mt.so.3
#54 0xb71fbf35 in QSignal::activate () from /opt/qt/lib/libqt-mt.so.3
#55 0xb72e45cc in QPopupMenu::mouseReleaseEvent ()
   from /opt/qt/lib/libqt-mt.so.3
#56 0xb721843e in QWidget::event () from /opt/qt/lib/libqt-mt.so.3
#57 0xb7181f17 in QApplication::internalNotify ()
   from /opt/qt/lib/libqt-mt.so.3
#58 0xb7182eab in QApplication::notify () from /opt/qt/lib/libqt-mt.so.3
#59 0xb789fd3e in KApplication::notify () from /opt/kde/lib/libkdecore.so.4
#60 0xb7122702 in QETWidget::translateMouseEvent ()
   from /opt/qt/lib/libqt-mt.so.3
#61 0xb7120b81 in QApplication::x11ProcessEvent ()
   from /opt/qt/lib/libqt-mt.so.3
#62 0xb7131351 in QEventLoop::processEvents () from /opt/qt/lib/libqt-mt.so.3
#63 0xb71987e1 in QEventLoop::enterLoop () from /opt/qt/lib/libqt-mt.so.3
#64 0xb7181aef in QApplication::enter_loop () from /opt/qt/lib/libqt-mt.so.3
#65 0xb72e5fb9 in QPopupMenu::exec () from /opt/qt/lib/libqt-mt.so.3
#66 0xb689451c in KonqMainWindow::slotPopupMenu ()
   from /opt/kde/lib/libkdeinit_konqueror.so
#67 0xb68955d3 in KonqMainWindow::slotPopupMenu ()
   from /opt/kde/lib/libkdeinit_konqueror.so
#68 0xb68b896d in KonqMainWindow::qt_invoke ()
   from /opt/kde/lib/libkdeinit_konqueror.so
#69 0xb71e01c9 in QObject::activate_signal () from /opt/qt/lib/libqt-mt.so.3
#70 0xb7f29319 in KParts::BrowserExtension::popupMenu ()
   from /opt/kde/lib/libkparts.so.2
#71 0xb60deb36 in KHTMLPart::popupMenu () from /opt/kde/lib/libkhtml.so.4
#72 0xb60e7d77 in KHTMLPart::khtmlMousePressEvent ()
   from /opt/kde/lib/libkhtml.so.4
#73 0xb609a285 in KHTMLPart::customEvent () from /opt/kde/lib/libkhtml.so.4
#74 0xb71dfbb3 in QObject::event () from /opt/qt/lib/libqt-mt.so.3
#75 0xb7181f17 in QApplication::internalNotify ()
   from /opt/qt/lib/libqt-mt.so.3
#76 0xb7182ccf in QApplication::notify () from /opt/qt/lib/libqt-mt.so.3
#77 0xb789fd3e in KApplication::notify () from /opt/kde/lib/libkdecore.so.4
#78 0xb60c588e in KHTMLView::viewportMousePressEvent ()
   from /opt/kde/lib/libkhtml.so.4
#79 0xb72f2479 in QScrollView::eventFilter () from /opt/qt/lib/libqt-mt.so.3
#80 0xb60b09c9 in KHTMLView::eventFilter () from /opt/kde/lib/libkhtml.so.4
#81 0xb71dfad6 in QObject::activate_filters () from /opt/qt/lib/libqt-mt.so.3
#82 0xb71dfb3b in QObject::event () from /opt/qt/lib/libqt-mt.so.3
#83 0xb72180bc in QWidget::event () from /opt/qt/lib/libqt-mt.so.3
#84 0xb7181f17 in QApplication::internalNotify ()
   from /opt/qt/lib/libqt-mt.so.3
#85 0xb7182eab in QApplication::notify () from /opt/qt/lib/libqt-mt.so.3
#86 0xb789fd3e in KApplication::notify () from /opt/kde/lib/libkdecore.so.4
#87 0xb7121e79 in QETWidget::translateMouseEvent ()
   from /opt/qt/lib/libqt-mt.so.3
#88 0xb7120b81 in QApplication::x11ProcessEvent ()
   from /opt/qt/lib/libqt-mt.so.3
#89 0xb7131351 in QEventLoop::processEvents () from /opt/qt/lib/libqt-mt.so.3
#90 0xb71987e1 in QEventLoop::enterLoop () from /opt/qt/lib/libqt-mt.so.3
#91 0xb7198686 in QEventLoop::exec () from /opt/qt/lib/libqt-mt.so.3
#92 0xb7181b7f in QApplication::exec () from /opt/qt/lib/libqt-mt.so.3
#93 0xb68ba0b5 in kdemain () from /opt/kde/lib/libkdeinit_konqueror.so
#94 0xb76e76d4 in kdeinitmain () from /opt/kde/lib/kde3/konqueror.so

Comment 2 Eduardo Robles Elvira 2008-06-06 01:10:38 UTC
Is it still happening to you in any recent version of KDE? We won't fix KDE 3.5 anymore, so please test with KDE 4.0.5 or KDE 4.1 when it's out.
Comment 3 A. Spehr 2008-07-13 00:59:07 UTC
I'm being told this is probably still valid. Although similar things were fixed. Can you please grab a 4.1 daily snapshot and test for us? That would be really really really cool!

Thanks!
Comment 4 Frank Osterfeld 2008-10-19 22:03:56 UTC
looks like a bug similar to 56828, i.e. the filedialog is deleted twice, once by it's parent widget (the khtmlview?) when it's deleted, and then in the method calling the dlg.exec() (which should a QPointer for the dialog)
Comment 5 FiNeX 2009-08-29 16:53:48 UTC
@Jorg: please, if you have an account on that website, could you try it using KDE 4.3?

Many thanks!
Comment 6 Jay 2009-08-29 17:02:00 UTC
FiNeX schrieb:
> https://bugs.kde.org/show_bug.cgi?id=142083
> 
> 
> FiNeX <finex@finex.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |NEEDSINFO
>                  CC|                            |finex@finex.org
>          Resolution|                            |WAITINGFORINFO
> 
> 
> 
> 
> --- Comment #5 from FiNeX <finex finex org>  2009-08-29 16:53:48 ---
> @Jorg: please, if you have an account on that website, could you try it using
> KDE 4.3?
> 
> Many thanks!
> 

Will do.
Comment 7 Jay 2009-09-03 01:16:19 UTC
I cannot reproduce this problem anymore.