https://bugzilla.novell.com/show_bug.cgi?id=206447
Summary: Konqueror crashes when starting a download manually that would otherwise have started automatically Product: SUSE Linux 10.1 Version: Final Platform: i386 OS/Version: SuSE Linux 10.1 Status: NEW Severity: Normal Priority: P5 - None Component: KDE AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ssommer@novell.com QAContact: kde-maintainers@suse.de
Hi,
I found following problem in Konqueror: When I for example want to download following project from sourceforge: http://prdownloads.sourceforge.net/gimp-print/gutenprint-5.0.0.tar.bz2?downl... I klick on a mirror
Afterward I get redirected to a page with following text: "Your download should begin shortly. If it does not, try http://puzzle.dl.sourceforge.net/sourceforge/gimp-print/gutenprint-5.0.0.tar... or choose a different mirror"
If I klick on the link mentioned in above notice before the popup window that would show up automatically shows up a 2nd download window will open. Now when you klick cancel on both windows konqueror will crash.
https://bugzilla.novell.com/show_bug.cgi?id=206447
aj@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |kde-maintainers@suse.de |screening@forge.provo.novell| |.com |
https://bugzilla.novell.com/show_bug.cgi?id=206447
stbinner@suse.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |REMIND
------- Comment #1 from stbinner@suse.de 2006-09-21 05:38 MST ------- Known upstream as http://bugs.kde.org/show_bug.cgi?id=94976 for years with many dupes.
https://bugzilla.novell.com/show_bug.cgi?id=206447
ssommer@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|REMIND |
------- Comment #2 from ssommer@novell.com 2006-11-14 03:42 MST ------- This is still happening with 10.2. I had a look at the sources but I'm not sure if I identified the problem correctly as the backtraces with the new kde version are completely useless.
in kdebase-3.5.5/konqueror/konq_mainwindow.cc
you have got a function void KonqMainWindow::openURL
Somewhere in this function there is following Code snippet:
KonqRun * run = new KonqRun( this, view /* can be 0L */, url, req, trustedSource );
// Never start in external browser run->setEnableExternalBrowser(false);
if ( view ) view->setRun( run ); else if ( !req.newTab ) { // there can be only one :) (when not a new tab) delete m_initialKonqRun; m_initialKonqRun = run; }
if ( view == m_currentView ) startAnimation();
connect( run, SIGNAL( finished() ), this, SLOT( slotRunFinished() ) );
Now I think the problem is that openURL gets called once you click on the download link. This opens a new KonqRun instance thread (that opens the "Save to" window. Meanwhile openURL gets called another time (timer event from the download page?). In openURL the the first KonqRun instance then gets deleted (but its thread keeps running).
Now when you close the 2nd download window the first download window gets accessible again but the underlying code already vanished...
https://bugzilla.novell.com/show_bug.cgi?id=206447
Dirk Mueller dmueller@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|KDE |KDE3 Product|SUSE Linux 10.1 |openSUSE 11.0 Version|Final |Alpha 2
https://bugzilla.novell.com/show_bug.cgi?id=206447
Stephan Binner stbinner@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High
https://bugzilla.novell.com/show_bug.cgi?id=206447
Stephan Binner stbinner@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Critical
https://bugzilla.novell.com/show_bug.cgi?id=206447
User llunak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=206447#c3
Lubos Lunak llunak@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://bugs.kde.org/show_bug.cgi?id=94976 Status|REOPENED |RESOLVED Priority|P2 - High |P3 - Medium Resolution| |UPSTREAM
--- Comment #3 from Lubos Lunak llunak@novell.com 2009-01-08 13:30:31 MST --- Know upstream, apparently not simple, I doubt we will fix this ourselves. (And your analysis is incorrect, Konqueror does not use threads.)