Bug 53603 - crash on closing any open konqueror window
Summary: crash on closing any open konqueror window
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 4.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 53655 53724 53767 53853 53929 53953 54390 55203 57609 58410 60655 62935 67230 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-01-29 17:23 UTC by Malcolm Agnew
Modified: 2003-11-04 21:09 UTC (History)
14 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Bookmark file that lets konqi crash when closing (9.56 KB, text/xml)
2003-02-16 10:48 UTC, Willems Luc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Malcolm Agnew 2003-01-29 17:23:56 UTC
Version:           4.0 (using KDE 3.1.0)
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:          Linux (i686) release 2.4.18-4GB

Every time a konqueror window is closed a crash occurs. The short description looks a bit like bug 53256 but the long description not.

Reproducable: Start konqueror - from the pull-down "Location" choose  "Quit" - Crash.

If two windows are open (i.e. an unsolicited advertisement) usually the whole application crashes but not always.

System details:
kde 3.1.0 - binaries for SuSE 8.0
SuSE  8.1 - Linux (i686) release 2.4.18-4GB
gcc 2.95.3
Comment 1 Steffen Weber 2003-01-29 22:13:08 UTC
I'm having exactly the same problem using Gentoo to compile KDE 3.1 with GCC 3.2.1! 
Whenever I close a Konqueror window, no matter whether Konqueror is being used for file 
browsing oder surfing, I get a SIGSEGV. Maxbe this GDB output helps: 
 
(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 16384 (LWP 
11196)] 
 
(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)... 
0x410f2c09 in wait4 () from /lib/libc.so.6 
#0  0x410f2c09 in wait4 () from /lib/libc.so.6 
#1  0x4116c2e4 in __DTOR_END__ () from /lib/libc.so.6 
#2  0x40eeb245 in waitpid () from /lib/libpthread.so.0 
#3  0x40624ff7 in KCrash::defaultCrashHandler(int) () 
   from /usr/kde/3.1/lib/libkdecore.so.4 
#4  <signal handler called> 
#5  0x40c02607 in QGDict::unlink_ascii(char const*, void*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#6  0x40c02ab4 in QGDict::take_ascii(char const*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#7  0x403dc505 in KActionCollection::_take(KAction*) () 
   from /usr/kde/3.1/lib/libkdeui.so.4 
#8  0x403dc648 in KActionCollection::take(KAction*) () 
   from /usr/kde/3.1/lib/libkdeui.so.4 
#9  0x403cc7f6 in KAction::~KAction() () from /usr/kde/3.1/lib/libkdeui.so.4 
#10 0x40999142 in QObject::~QObject() () from /usr/qt/3/lib/libqt-mt.so.3 
#11 0x403dbea9 in KActionCollection::~KActionCollection() () 
   from /usr/kde/3.1/lib/libkdeui.so.4 
#12 0x409ca798 in QWidget::~QWidget() () from /usr/qt/3/lib/libqt-mt.so.3 
#13 0x40a74aaf in QMainWindow::~QMainWindow() () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#14 0x4042b420 in KMainWindow::~KMainWindow() () 
   from /usr/kde/3.1/lib/libkdeui.so.4 
#15 0x4003bd8c in KParts::MainWindow::~MainWindow() () 
   from /usr/kde/3.1/lib/libkparts.so.2 
#16 0x4191e7ef in KonqMainWindow::~KonqMainWindow() () 
   from /usr/kde/3.1/lib/konqueror.so 
#17 0x40999bc3 in QObject::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3 
#18 0x409cff6c in QWidget::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3 
#19 0x40a76742 in QMainWindow::event(QEvent*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#20 0x4093e3b6 in QApplication::internalNotify(QObject*, QEvent*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#21 0x4093d976 in QApplication::notify(QObject*, QEvent*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#22 0x405ad121 in KApplication::notify(QObject*, QEvent*) () 
   from /usr/kde/3.1/lib/libkdecore.so.4 
#23 0x4093f16a in QApplication::sendPostedEvents(QObject*, int) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#24 0x40951ff9 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3 
#25 0x40951eb8 in QEventLoop::exec() () from /usr/qt/3/lib/libqt-mt.so.3 
#26 0x4093e601 in QApplication::exec() () from /usr/qt/3/lib/libqt-mt.so.3 
#27 0x4191973a in main () from /usr/kde/3.1/lib/konqueror.so 
#28 0x0804cb5f in strcpy () 
#29 0x0804d7d8 in strcpy () 
#30 0x0804dcb1 in strcpy () 
#31 0x0804ea6a in strcpy () 
#32 0x4105ea04 in __libc_start_main () from /lib/libc.so.6 
Comment 2 Dirk Mueller 2003-01-31 02:47:30 UTC
wow, this looks evil. which Qt version are you using? 
 
 
Comment 3 Maksim Orlovich 2003-01-31 06:53:21 UTC
Can reproduce with a branch build (the system is MDK9.0); Qt is qt-copy.  
Nasty indeed. 
Comment 4 Malcolm Agnew 2003-01-31 08:19:11 UTC
The qt version I am using is "qt3-3.1.1-14.i386.rpm" which was included in the SuSE 
binary package for SuSE 8.0. 
 
I have downloaded the kde/qt sources and will try to see what is happening.  
Comment 5 Steffen Weber 2003-01-31 12:56:55 UTC
I'm using QT 3.1.0, maybe I should try QT 3.1.1 ? Didn't install it, because it has worked with 
KDE 3.1 RC6 + QT 3.1.0. 
Comment 6 Maksim Orlovich 2003-01-31 15:27:51 UTC
*** Bug 53724 has been marked as a duplicate of this bug. ***
Comment 7 Maksim Orlovich 2003-01-31 15:28:48 UTC
The following comment from 53724 should be added here, I think: 
 
------- Additional Comment #1 From Jochen M
Comment 8 Steffen Weber 2003-01-31 17:53:38 UTC
Yes, that's true in generel, but maybe a little more detailed explanation helps: 
 
I open Konqueror with the bookmark bar enabled. When I now disable the bookmark bar and 
then close Konqueror it still gives me a SIGSEGV! But when I reopen Konqueror after this and 
close it again (the bookmark bar is still disabled, of course) there is no SIGSEGV when closing 
Konqueror. So obviously Konqueror needs to be restarted after the bookmark bar has been 
disabled to make the SIGSEGV not occure. 
Comment 9 Maksim Orlovich 2003-01-31 20:00:27 UTC
*** Bug 53767 has been marked as a duplicate of this bug. ***
Comment 10 Maksim Orlovich 2003-01-31 20:24:53 UTC
Regression apparently triggered by this commit:  
http://lists.kde.org/?l=kde-cvs&m=104267414803695&w=2   
  
(Well, to the extent that reverting it fixes the problem)  
  
Comment 11 Maksim Orlovich 2003-01-31 20:27:54 UTC
Valgrind analysis. No LOC, Pretty much explains this, I think: 
==4755== 
==4755== Invalid read of size 4 
==4755==    at 0x4066931B: KActionCollection::~KActionCollection(void) (in 
/opt/kde3/lib/libkdeui.so.4.1.0) 
==4755==    by 0x40B7390E: QWidget::~QWidget(void) (in 
/usr/lib/qt3/lib/libqt-mt.so.3.1.1) 
==4755==    by 0x40C02C64: QMainWindow::~QMainWindow(void) (in 
/usr/lib/qt3/lib/libqt-mt.so.3.1.1) 
==4755==    by 0x406A4973: KMainWindow::~KMainWindow(void) (in 
/opt/kde3/lib/libkdeui.so.4.1.0) 
==4755==    by 0x403328DF: KParts::MainWindow::~MainWindow(void) (in 
/opt/kde3/lib/libkparts.so.2.1.0) 
==4755==    by 0x4024DCC3: KonqMainWindow::~KonqMainWindow(void) (in 
/opt/kde3/lib/konqueror.so) 
==4755==    by 0x40B4B90E: QObject::event(QEvent *) (in 
/usr/lib/qt3/lib/libqt-mt.so.3.1.1) 
==4755==    by 0x40B78683: QWidget::event(QEvent *) (in 
/usr/lib/qt3/lib/libqt-mt.so.3.1.1) 
==4755==    by 0x40C0448D: QMainWindow::event(QEvent *) (in 
/usr/lib/qt3/lib/libqt-mt.so.3.1.1) 
==4755==    by 0x40B01D90: QApplication::internalNotify(QObject *, QEvent *) (in 
/usr/lib/qt3/lib/libqt-mt.so.3.1.1) 
==4755==    by 0x40B01B96: QApplication::notify(QObject *, QEvent *) (in 
/usr/lib/qt3/lib/libqt-mt.so.3.1.1) 
==4755==    by 0x407FD06B: KApplication::notify(QObject *, QEvent *) (in 
/opt/kde3/lib/libkdecore.so.4.1.0) 
==4755==    by 0x40B02ADA: QApplication::sendPostedEvents(QObject *, int) (in 
/usr/lib/qt3/lib/libqt-mt.so.3.1.1) 
==4755==    by 0x40B11AD4: QEventLoop::enterLoop(void) (in 
/usr/lib/qt3/lib/libqt-mt.so.3.1.1) 
==4755==    by 0x40B11984: QEventLoop::exec(void) (in 
/usr/lib/qt3/lib/libqt-mt.so.3.1.1) 
==4755==    by 0x40B01F01: QApplication::exec(void) (in 
/usr/lib/qt3/lib/libqt-mt.so.3.1.1) 
==4755==    Address 0x459F893C is 40 bytes inside a block of size 48 free'd 
==4755==    at 0x40164215: __builtin_delete (vg_clientfuncs.c:196) 
==4755==    by 0x4065DD45: KAction::~KAction(void) (in 
/opt/kde3/lib/libkdeui.so.4.1.0) 
==4755==    by 0x4029030E: QPtrList<KAction>::deleteItem(void *) (in 
/opt/kde3/lib/konqueror.so) 
==4755==    by 0x40D2C98E: QGList::clear(void) (in /usr/lib/qt3/lib/libqt-mt.so.3.1.1) 
==4755==    by 0x404D3944: KBookmarkMenu::~KBookmarkMenu(void) (in 
/opt/kde3/lib/libkio.so.4.1.0) 
==4755==    by 0x405449DE: QPtrList<KBookmarkMenu>::deleteItem(void *) (in 
/opt/kde3/lib/libkio.so.4.1.0) 
==4755==    by 0x40D2C98E: QGList::clear(void) (in /usr/lib/qt3/lib/libqt-mt.so.3.1.1) 
==4755==    by 0x404CAB0E: KBookmarkBar::clear(void) (in 
/opt/kde3/lib/libkio.so.4.1.0) 
==4755==    by 0x404CAA88: KBookmarkBar::~KBookmarkBar(void) (in 
/opt/kde3/lib/libkio.so.4.1.0) 
==4755==    by 0x4024D9A0: KonqMainWindow::~KonqMainWindow(void) (in 
/opt/kde3/lib/konqueror.so) 
==4755==    by 0x40B4B90E: QObject::event(QEvent *) (in 
/usr/lib/qt3/lib/libqt-mt.so.3.1.1) 
==4755==    by 0x40B78683: QWidget::event(QEvent *) (in 
/usr/lib/qt3/lib/libqt-mt.so.3.1.1) 
==4755==    by 0x40C0448D: QMainWindow::event(QEvent *) (in 
/usr/lib/qt3/lib/libqt-mt.so.3.1.1) 
==4755==    by 0x40B01D90: QApplication::internalNotify(QObject *, QEvent *) (in 
/usr/lib/qt3/lib/libqt-mt.so.3.1.1) 
==4755==    by 0x40B01B96: QApplication::notify(QObject *, QEvent *) (in 
/usr/lib/qt3/lib/libqt-mt.so.3.1.1) 
==4755==    by 0x407FD06B: KApplication::notify(QObject *, QEvent *) (in 
/opt/kde3/lib/libkdecore.so.4.1.0) 
 
 
Comment 12 Maksim Orlovich 2003-01-31 22:07:56 UTC
OK, the patch doesn't really introduce the bug, just makes it trigger more often (it'd 
still trigger if one browses certain menus without it, too); and the trigger conditions 
are somewhat narrow. 
 
What happens is that if there are bookmarks with the same URL someplace, one gets 
two KAction's with the same name. Then destroying one may confuse 
KActionCollection and it'd unregister an incorrect one, and then will try to acces an 
already-deleted action when cleaning itself up, causing things to blow up. 
 
Workaround: Remove duplicate bookmarks.  
 
Discussing how to fix this on IRC right now. 
 
[ I still don't like the change since it's a performance regression, though, since it 
makes the whole bar be built on startup, and doesn't delay filling in the menus, but I 
digress. ] 
 
 
Comment 13 Maksim Orlovich 2003-01-31 22:08:30 UTC
*** Bug 53767 has been marked as a duplicate of this bug. ***
Comment 14 Steffen Weber 2003-02-01 00:08:05 UTC
Removing two duplicated entries really solved the SIGSEGV, although it doesn't seem to be a 
real solution! ;-) 
 
I'm sorry, but I don't know enough about KDE and C++ to be able to help solving this issue... 
Comment 15 Maksim Orlovich 2003-02-01 20:53:16 UTC
*** Bug 53853 has been marked as a duplicate of this bug. ***
Comment 16 Maksim Orlovich 2003-02-02 18:37:37 UTC
*** Bug 53929 has been marked as a duplicate of this bug. ***
Comment 17 Maksim Orlovich 2003-02-03 03:16:56 UTC
*** Bug 53953 has been marked as a duplicate of this bug. ***
Comment 18 Maksim Orlovich 2003-02-03 04:38:02 UTC
Subject: KDE_3_1_BRANCH: kdelibs/kio/bookmarks

CVS commit by orlovich: 


Backport Alex Kellett's fix that uses ordinal addresses instead of URL's as action names;
fixes konqueror crashes on exit for most people.

This doesn't fix the case where NS4 bookmarks are merged in; that'll be fixed separately later on, 
as it's more involved; and this patch should fix it probably for 99% of people.


CCMAIL: 53603@bugs.kde.org


  M +8 -4      kbookmarkmenu.cc   1.108.2.2


--- kdelibs/kio/bookmarks/kbookmarkmenu.cc  #1.108.2.1:1.108.2.2
@@ -270,8 +270,8 @@ void KBookmarkMenu::fillBookmarkMenu()
       {
         // kdDebug(1203) << "Creating URL bookmark menu item for " << bm.text() << endl;
-        // create a normal URL item, with ID as a name
+        // create a normal URL item, with address as a name
         KAction * action = new KAction( text, bm.icon(), 0,
                                         this, SLOT( slotBookmarkSelected() ),
-                                        m_actionCollection, bm.url().url().utf8() );
+                                        m_actionCollection, bm.address().utf8() );
 
         action->setStatusText( bm.url().prettyURL() );
@@ -370,6 +370,10 @@ void KBookmarkMenu::slotBookmarkSelected
   //kdDebug(1203) << sender()->name() << endl;
 
-  // The name of the action is the URL to open
-  m_pOwner->openBookmarkURL( QString::fromUtf8(sender()->name()) );
+
+  KBookmark bookmark = m_pManager->findByAddress( QString::fromUtf8(sender()->name()) );
+  Q_ASSERT(!bookmark.isNull());
+  Q_ASSERT(!bookmark.isGroup());
+
+  m_pOwner->openBookmarkURL( bookmark.url().url() );  
 }
 


Comment 19 Roel Koelewijn 2003-02-03 16:42:11 UTC
Created a new user, imported the same Mozilla bookmarks file as the existing user 
and logged in as the new user, konqueror web browser does not give a crash 
report when it is closed, so my gues is that existing config files from kde 3.04 are 
responseble for crashing the web browser, if I use the konqueror web browser when 
I am logged in as root the problem does also not occur. 
When konqueror is used as filemanager it has never created a crash report. 
Comment 20 Roel Koelewijn 2003-02-03 18:50:43 UTC
Somehow konqueror 3.1 web browser seems the have trouble with 
~.kde/share/apps/konqueror/bookmarks.xml produced by earlier versions of 
konqueror, first deleted all bookmarks, then recreated them, for me its does the trick. 
Comment 21 Mario A. Vazquez 2003-02-08 01:41:30 UTC
I got a similar problem with either Mandrake 9.1 Cooker, RedHat Phoebe 8.1 and Yoper.  At the 
end I found the problem was the bookmark.  My bookmark has some duplicate links, but the 
curious is that two of the duplicate links are in the main bookmark path (not any folder) .  When 
they are at the end of the folder list, any window that has the bookmark bar visible crash with 
segfault, but when those two bookmarks are at the begining of the file, before any folder, no 
crash at all. 
 
Hope this help. 
 
Mario Vazquez 
Comment 22 Maksim Orlovich 2003-02-08 01:54:31 UTC
To Mario A. Vazquez: can you please check for updated kdelibs packages in Cooker; I think 
they have been updated from the 3.1.x branch recently. There, the bug is fixed except in the 
case where there are merged-in Netscape 4 bookmarks.  
 
To People using Gentoo: you can probably apply the patch from my commit above to fix it for 
you w/o much trouble if you still have the object files from your portage builds. If you do, I'd 
appreciate if you let me know whether it works or not. 
 
 
Comment 23 Hannes Mehnert 2003-02-08 02:04:21 UTC
Your fix is in portage and works :), look at: 
http://bugs.gentoo.org/show_bug.cgi?id=14780 
Comment 24 Maksim Orlovich 2003-02-08 22:06:00 UTC
*** Bug 53655 has been marked as a duplicate of this bug. ***
Comment 25 Maksim Orlovich 2003-02-10 15:40:14 UTC
*** Bug 54390 has been marked as a duplicate of this bug. ***
Comment 26 Malcolm Agnew 2003-02-11 14:34:27 UTC
After re-creating bookmarks.xml by hand/xemacs (importing old bookmarks file wasn't 
sufficient), I added the following bookmark: 
 
 <bookmark icon="www" href="http://www.softace.dk/personal/jarl/hpoj/SuSE-8.1/" > 
  <title>Softace :: HPOJ packages for SuSE 8.1 ::</title> 
 </bookmark> 
 
and the crash re-occurs. 
 
Malcolm 
 
Comment 27 Jim Ragsdale 2003-02-12 07:30:34 UTC
  This bug lookes very similar to my problem. Konqueror 4.0(KDE 3.1.0) started 
crashing suddenly. I backed up my kde dir and started fresh. Fixed crash problem. I 
copied my bookmark.xml file to my new .kde/share/apps/konqueror/ directory and the 
crashing started again. got some help on IRC. Ran the command "grep href 
bookmarks.xml|sed "s/.*href\=\"//"|cut -d\" -f1|sort|uniq -d" and it listed about 5 duplicate 
bookmark urls. I deleted the duplicates and the problem seems to be gone. I will paste 
in the crash output if it helps any.  
  I built kde(3.1.0) from source on gentoo using gcc 2.95.3 
 
(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 7997)] 
 
(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)... 
(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)... 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...0x40fa6569 in wait4 () from /lib/libc.so.6 
#0  0x40fa6569 in wait4 () from /lib/libc.so.6 
#1  0x410223f8 in __DTOR_END__ () from /lib/libc.so.6 
#2  0x40e5d402 in waitpid () from /lib/libpthread.so.0 
#3  0x405c791e in KCrash::defaultCrashHandler () 
   from /usr/kde/3.1/lib/libkdecore.so.4 
#4  0x40e5b134 in pthread_sighandler () from /lib/libpthread.so.0 
#5  <signal handler called> 
#6  0x40b1138e in QGDict::unlink_ascii () from /usr/qt/3/lib/libqt-mt.so.3 
#7  0x40b117da in QGDict::take_ascii () from /usr/qt/3/lib/libqt-mt.so.3 
#8  0x4039a463 in KActionCollection::take () 
   from /usr/kde/3.1/lib/libkdeui.so.4 
#9  0x403862de in KAction::~KAction () from /usr/kde/3.1/lib/libkdeui.so.4 
#10 0x4091cbd6 in QObject::~QObject () from /usr/qt/3/lib/libqt-mt.so.3 
#11 0x4038f41e in KActionCollection::~KActionCollection () 
   from /usr/kde/3.1/lib/libkdeui.so.4 
#12 0x4094356c in QWidget::~QWidget () from /usr/qt/3/lib/libqt-mt.so.3 
#13 0x409ce071 in QMainWindow::~QMainWindow () from /usr/qt/3/lib/libqt-mt.so.3 
#14 0x403e4057 in KMainWindow::~KMainWindow () 
   from /usr/kde/3.1/lib/libkdeui.so.4 
#15 0x4003ae3c in KParts::MainWindow::~MainWindow () 
   from /usr/kde/3.1/lib/libkparts.so.2 
#16 0x416bbf6c in KonqMainWindow::~KonqMainWindow () 
   from /usr/kde/3.1/lib/konqueror.so 
#17 0x4091cfa2 in QObject::event () from /usr/qt/3/lib/libqt-mt.so.3 
#18 0x40948354 in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3 
#19 0x409cf8d4 in QMainWindow::event () from /usr/qt/3/lib/libqt-mt.so.3 
#20 0x408d5143 in QApplication::internalNotify () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#21 0x408d4f47 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3 
#22 0x4055109f in KApplication::notify () from /usr/kde/3.1/lib/libkdecore.so.4 
#23 0x408d5e9b in QApplication::sendPostedEvents () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#24 0x408e512c in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3 
#25 0x408e4ff2 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3 
#26 0x408d52c5 in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3 
#27 0x416b7c0e in main () from /usr/kde/3.1/lib/konqueror.so 
#28 0x0804d477 in strcpy () 
#29 0x0804e2e8 in strcpy () 
#30 0x0804e805 in strcpy () 
#31 0x0804f63f in strcpy () 
#32 0x40f19671 in __libc_start_main () from /lib/libc.so.6 
 
Comment 28 Willems Luc 2003-02-16 10:46:28 UTC
I vae the same problem and could related it to my bookmark.xml
file. When removing the file , it doesn't crash any more.

The bookmark file wass copied after installation of KDE3.1 from a 3.0.5 based
installation.

Comment 29 Willems Luc 2003-02-16 10:48:59 UTC
Created attachment 972 [details]
Bookmark file that lets konqi crash when closing


When using this file , konqi crashes when closing the application.
stack trace  using sgdb shows following info :
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 20130)]
0x40d282c7 in QGDict::unlink_ascii(char const*, void*) ()
   from /usr/lib/libqt-mt.so.3
(gdb) bt
#0  0x40d282c7 in QGDict::unlink_ascii(char const*, void*) ()
   from /usr/lib/libqt-mt.so.3
#1  0x40d28774 in QGDict::take_ascii(char const*) ()
   from /usr/lib/libqt-mt.so.3
#2  0x40501061 in KActionCollection::_take(KAction*) ()
   from /opt/kde3/lib/libkdeui.so.4
#3  0x405011c6 in KActionCollection::take(KAction*) ()
   from /opt/kde3/lib/libkdeui.so.4
#4  0x404f09be in KAction::~KAction() () from /opt/kde3/lib/libkdeui.so.4
#5  0x40abf516 in QObject::~QObject() () from /usr/lib/libqt-mt.so.3
#6  0x405009b7 in KActionCollection::~KActionCollection() ()
   from /opt/kde3/lib/libkdeui.so.4
#7  0x40af0d98 in QWidget::~QWidget() () from /usr/lib/libqt-mt.so.3
#8  0x40b9bf1f in QMainWindow::~QMainWindow() () from /usr/lib/libqt-mt.so.3
#9  0x40549a3e in KMainWindow::~KMainWindow() ()
   from /opt/kde3/lib/libkdeui.so.4
#10 0x4015a3f8 in KParts::MainWindow::~MainWindow() ()
   from /opt/kde3/lib/libkparts.so.2
#11 0x40057f21 in KonqMainWindow::~KonqMainWindow() ()
   from /opt/kde3/lib/konqueror.so
#12 0x40abff93 in QObject::event(QEvent*) () from /usr/lib/libqt-mt.so.3
#13 0x40af653c in QWidget::event(QEvent*) () from /usr/lib/libqt-mt.so.3
#14 0x40b9db72 in QMainWindow::event(QEvent*) () from /usr/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
#15 0x40a642e4 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#16 0x40a63e4b in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#17 0x406d5fc9 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#18 0x40a65078 in QApplication::sendPostedEvents(QObject*, int) ()
   from /usr/lib/libqt-mt.so.3
#19 0x40a77f89 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
#20 0x40a77e48 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
#21 0x40a64511 in QApplication::exec() () from /usr/lib/libqt-mt.so.3
#22 0x400533f7 in main () from /opt/kde3/lib/konqueror.so
#23 0x4114f4a2 in __libc_start_main () from /lib/libc.so.6
(gdb)
Comment 30 Maksim Orlovich 2003-02-26 16:15:26 UTC
*** Bug 55203 has been marked as a duplicate of this bug. ***
Comment 31 J Appel 2003-03-30 12:18:43 UTC
i could fix the problem on a suse 8.0 system by choosing any other deco than 
keramik.. 
Comment 32 J Appel 2003-03-30 12:21:11 UTC
replace the word "deco" with "style" and you re on it.. 
Comment 33 Maksim Orlovich 2003-04-23 15:34:51 UTC
*** Bug 57609 has been marked as a duplicate of this bug. ***
Comment 34 Maksim Orlovich 2003-05-13 02:56:43 UTC
*** Bug 58410 has been marked as a duplicate of this bug. ***
Comment 35 Maksim Orlovich 2003-07-02 23:30:02 UTC
*** Bug 60655 has been marked as a duplicate of this bug. ***
Comment 36 Maksim Orlovich 2003-08-19 04:11:33 UTC
*** Bug 62935 has been marked as a duplicate of this bug. ***
Comment 37 Maksim Orlovich 2003-08-19 04:12:21 UTC
Lypanov says even the NS bookmarks case fixed in HEAD, so finally closing. 
 
Comment 38 Maksim Orlovich 2003-11-04 21:09:31 UTC
*** Bug 67230 has been marked as a duplicate of this bug. ***