Bug 134929 - Konqueror crashes when pressing the close window link of a popup
Summary: Konqueror crashes when pressing the close window link of a popup
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:
: 136083 137091 137130 138268 139806 140018 141173 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-30 23:39 UTC by Felix Seeger
Modified: 2007-02-25 12:08 UTC (History)
8 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 Felix Seeger 2006-09-30 23:39:10 UTC
Version:           3.5.4 (using KDE 3.5.4, compiled sources)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.17.3

Konqueror crashes when clicking on the close link of a popup page.

You can reproduce it here:
 http://www.tvspielfilm.de/programm/tvplaner?sendungs_id=9654288

Click on the image, in the popup click on "Fenster schliessen" in the upper right corner. With konqueror from svn today I get the backtrace below.


Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1231354176 (LWP 22684)]
[KCrash handler]
#6  0x0000ffc0 in ?? ()
#7  0xb5d92d41 in Akregator::KonqFeedIcon::~KonqFeedIcon ()
   from /opt/kde31/lib/kde3/libakregatorkonqfeedicon.so
#8  0xb70abfe2 in QObject::~QObject ()
   from /spare/opt/qt-copy/lib/libqt-mt.so.3
#9  0xb7eeacaa in KParts::Part::~Part () from /opt/kde31/lib/libkparts.so.2
#10 0xb7eeb181 in KParts::ReadOnlyPart::~ReadOnlyPart ()
   from /opt/kde31/lib/libkparts.so.2
#11 0xb6039896 in KHTMLPart::~KHTMLPart () from /opt/kde31/lib/libkhtml.so.4
#12 0xb70a9fa0 in QObject::event () from /spare/opt/qt-copy/lib/libqt-mt.so.3
#13 0xb704c1da in QApplication::internalNotify ()
   from /spare/opt/qt-copy/lib/libqt-mt.so.3
#14 0xb704cb6f in QApplication::notify ()
   from /spare/opt/qt-copy/lib/libqt-mt.so.3
#15 0xb769c8de in KApplication::notify () from /opt/kde31/lib/libkdecore.so.4
#16 0xb704d8c7 in QApplication::sendPostedEvents ()
   from /spare/opt/qt-copy/lib/libqt-mt.so.3
#17 0xb704da56 in QApplication::sendPostedEvents ()
   from /spare/opt/qt-copy/lib/libqt-mt.so.3
#18 0xb6ffa2bf in QEventLoop::processEvents ()
   from /spare/opt/qt-copy/lib/libqt-mt.so.3
#19 0xb70626e4 in QEventLoop::enterLoop ()
   from /spare/opt/qt-copy/lib/libqt-mt.so.3
#20 0xb7062606 in QEventLoop::exec ()
   from /spare/opt/qt-copy/lib/libqt-mt.so.3
#21 0xb704bbef in QApplication::exec ()
   from /spare/opt/qt-copy/lib/libqt-mt.so.3
#22 0xb66a5dbd in kdemain () from /opt/kde31/lib/libkdeinit_konqueror.so
#23 0xb75ac744 in kdeinitmain () from /opt/kde31/lib/kde3/konqueror.so
#24 0x0804e3dc in launch ()
#25 0x0804ed80 in handle_launcher_request ()
#26 0x0804f26f in handle_requests ()
#27 0x080504fd in main ()
Comment 1 Tommi Tervo 2006-11-10 08:42:03 UTC
*** Bug 137091 has been marked as a duplicate of this bug. ***
Comment 2 Tommi Tervo 2006-11-10 08:42:25 UTC
*** Bug 136083 has been marked as a duplicate of this bug. ***
Comment 3 Tommi Tervo 2006-11-10 08:42:42 UTC
*** Bug 137130 has been marked as a duplicate of this bug. ***
Comment 4 Frank Osterfeld 2006-11-10 12:43:07 UTC
Confirmed. Here with line numbers (SVN rev. 602609):

#5  0x00000000 in ?? ()
#6  0xb5b44a75 in ~KonqFeedIcon (this=0x85ec120) at konqfeedicon.cpp:84
#7  0xb70c77e3 in QObject::~QObject () from /usr/share/qt3/lib/libqt-mt.so.3
#8  0xb7fa2238 in ~Part (this=0x82c7fa8, __vtt_parm=0xb6183aa8)
    at part.cpp:163
#9  0xb7fa240f in ~ReadOnlyPart (this=0x82c7fa8, __vtt_parm=0xb6183aa4)
    at part.cpp:314
#10 0xb5ee09ab in ~KHTMLPart (this=0x82c7fa8) at khtml_part.cpp:524
#11 0xb70c3020 in QObject::event () from /usr/share/qt3/lib/libqt-mt.so.3
#12 0xb705ab88 in QApplication::internalNotify ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#13 0xb705c9b7 in QApplication::notify ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#14 0xb776fbae in KApplication::notify (this=0xbf8febd4, receiver=0x82c7fa8, 
    event=0x82c6a98) at kapplication.cpp:550
#15 0xb7faa9ae in QApplication::sendEvent (receiver=0x82c7fa8, 
    event=0x82c6a98) at /usr/share/qt3/include/qapplication.h:520
#16 0xb705bbc0 in QApplication::sendPostedEvents ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#17 0xb705bcc8 in QApplication::sendPostedEvents ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#18 0xb700127d in QEventLoop::processEvents ()
Comment 5 Frank Osterfeld 2006-11-10 12:56:46 UTC
SVN commit 603819 by osterfeld:

Do not crash when the statusbar is deleted before the feed icon plugin
BUG:134929


 M  +7 -1      konqfeedicon.cpp  


--- branches/KDE/3.5/kdeaddons/konq-plugins/akregator/konqfeedicon.cpp #603818:603819
@@ -80,9 +80,15 @@
     KGlobal::locale()->removeCatalogue("akregator_konqplugin");
     m_statusBarEx = KParts::StatusBarExtension::childObject(m_part);
     if (m_statusBarEx)
+    {
         m_statusBarEx->removeStatusBarItem(m_feedIcon);
-    delete m_feedIcon;
+        // the feed icon is child of the statusbar extension, so if the statusbar is deleted, 
+        // the icon was deleted by the status bar
+        delete m_feedIcon;
+    }
+    // the icon is deleted in every case
     m_feedIcon = 0L;
+
     delete m_menu;
     m_menu = 0L;
 }
Comment 6 Tommi Tervo 2006-12-04 07:40:29 UTC
*** Bug 138268 has been marked as a duplicate of this bug. ***
Comment 7 Tommi Tervo 2007-01-09 10:47:19 UTC
*** Bug 139806 has been marked as a duplicate of this bug. ***
Comment 8 Tommi Tervo 2007-01-13 13:59:39 UTC
*** Bug 140018 has been marked as a duplicate of this bug. ***
Comment 9 Frank Osterfeld 2007-02-06 01:09:11 UTC
*** Bug 141173 has been marked as a duplicate of this bug. ***
Comment 10 Fernando Muñoz 2007-02-23 08:52:52 UTC
Is this fixed in current KDE 3.5.6? 

I still get crashes with KDE 3.5.6 and aKregator 1.2.6

I've put up this simple crash testpage http://www.wiki-lyrics.org/stuff/krash/ 

I think its the same issue, because http://blogs.technet.com/james/archive/2007/02/02/wikipedia-explorer.aspx (which was mentioned in one of the duplicates) still crashes konqueror when you click on the image.
Comment 11 Frank Osterfeld 2007-02-25 12:08:10 UTC
Fernando confirmed by mail that his kdeaddons install wasn't up-to-date.