Bug 49941

Summary: crash on exit after web browsing
Product: [Applications] konqueror Reporter: jeremyhu
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jeremyhu 2002-10-30 20:03:49 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.2 
OS:          Linux

With a recent build of cvs, konqueor is crashing on exit after viewing web content.  Here's the back trace:

[New Thread 1024 (LWP 13938)]
0x4122f499 in __wait4 () at __wait4:-1
	in __wait4
#0  0x4122f499 in __wait4 () at __wait4:-1
#1  0x412aedc8 in __DTOR_END__ () from /lib/libc.so.6
#2  0x4108db23 in waitpid (pid=-512, stat_loc=0xfffffe00, options=-512)
    at wrapsyscall.c:174
#3  0x40695af2 in KCrash::defaultCrashHandler(int) ()
   from /opt/kde-3/lib/libkdecore.so.4
#4  0x4108b55b in pthread_sighandler (signo=11, ctx=
      {gs = 7, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 49168, edi = 136337128, esi = 136320512, ebp = 3221218472, esp = 3221218448, ebx = 1074090948, edx = 1081303016, ecx = 72, eax = 0, trapno = 14, err = 4, eip = 1074034942, cs = 35, __csh = 0, eflags = 66050, esp_at_signal = 3221218448, ss = 43, __ssh = 0, fpstate = 0xbfffe210, oldmask = 2147483648, cr2 = 8})
    at signals.c:97
#5  <signal handler called>
#6  0x400478fe in QMapPrivate<QCString, int>::QMapPrivate(QMapPrivate<QCString, int> const*) () from /opt/kde-3/lib/libkparts.so.2
#7  0x4004736d in QMap<QCString, int>::detachInternal() ()
   from /opt/kde-3/lib/libkparts.so.2
#8  0x40044278 in KParts::BrowserExtension::slotEnableAction(char const*, bool)
    () from /opt/kde-3/lib/libkparts.so.2
#9  0x40045f0b in KParts::BrowserExtension::qt_invoke(int, QUObject*) ()
   from /opt/kde-3/lib/libkparts.so.2
#10 0x41df01d3 in KHTMLPartBrowserExtension::qt_invoke(int, QUObject*) ()
   from /opt/kde-3/lib/libkhtml.so.4
#11 0x40a2f126 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /opt/qt/lib/libqt-mt.so.3
#12 0x40045131 in KParts::BrowserExtension::enableAction(char const*, bool) ()
   from /opt/kde-3/lib/libkparts.so.2
#13 0x41deb0fc in KHTMLPartBrowserExtension::updateEditActions() ()
   from /opt/kde-3/lib/libkhtml.so.4
#14 0x41deab3a in KHTMLPartBrowserExtension::setExtensionProxy(KParts::BrowserExtension*) () from /opt/kde-3/lib/libkhtml.so.4
#15 0x41ddebd1 in KHTMLPart::slotActiveFrameChanged(KParts::Part*) ()
   from /opt/kde-3/lib/libkhtml.so.4
#16 0x41ddfb0b in KHTMLPart::qt_invoke(int, QUObject*) ()
   from /opt/kde-3/lib/libkhtml.so.4
#17 0x40a2f1b6 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /opt/qt/lib/libqt-mt.so.3
#18 0x4003db05 in KParts::PartManager::activePartChanged(KParts::Part*) ()
   from /opt/kde-3/lib/libkparts.so.2
#19 0x4003ce06 in KParts::PartManager::setActivePart(KParts::Part*, QWidget*)
    () from /opt/kde-3/lib/libkparts.so.2
#20 0x41dc20d1 in KHTMLPart::~KHTMLPart() () from /opt/kde-3/lib/libkhtml.so.4
#21 0x4051d5ce in QPtrList<QObject>::deleteItem(void*) ()
   from /opt/kde-3/lib/libkdeui.so.4
#22 0x40cde43e in QGList::clear() () from /opt/qt/lib/libqt-mt.so.3
#23 0x406ae75a in KLibrary::~KLibrary() () from /opt/kde-3/lib/libkdecore.so.4
#24 0x406b1b69 in KLibLoader::close_pending(KLibWrapPrivate*) ()
   from /opt/kde-3/lib/libkdecore.so.4
#25 0x406b034b in KLibLoader::~KLibLoader() ()
   from /opt/kde-3/lib/libkdecore.so.4
#26 0x406af588 in KLibLoader::cleanUp() () from /opt/kde-3/lib/libkdecore.so.4
#27 0x4060d4fb in KApplication::~KApplication() ()
   from /opt/kde-3/lib/libkdecore.so.4
#28 0x419c89ee in main () from /opt/kde-3/lib/konqueror.so
#29 0x0804cba6 in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#30 0x0804d983 in handle_launcher_request(int) ()
#31 0x0804de7c in handle_requests(int) ()
#32 0x0804ec4d in main ()
#33 0x411a9572 in __libc_start_main (main=0x804e850 <main>, argc=3, 
    ubp_av=0xbffff494, init=0x804a828 <_init>, fini=0xbffff3f0, rtld_fini=0, 
    stack_end=0x0) at ../sysdeps/generic/libc-start.c:129
Comment 1 Maksim Orlovich 2002-10-30 20:07:23 UTC
How old is your Qt? 
 
Comment 2 jeremyhu 2002-10-30 22:53:20 UTC
Subject: Re:  crash on exit after web browsing

3.1beta2
On Wednesday October 30 2002 11:07, you wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=49941
>
>
>
>
> ------- Additional Comments From mo002j@mail.rochester.edu  2002-10-30
> 20:07 ------- How old is your Qt?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9wFTFgKpk8srJOlIRAry2AJ9x8Ea14MrnXss8GOc5pXyLzWOECQCdFABH
MtDY7y+Mb+uWxFKLa1XeOt8=
=CFWv
-----END PGP SIGNATURE-----

Comment 3 Maksim Orlovich 2002-10-30 23:28:26 UTC
Please update it then - this crash should be fixed since then, AFAIK.  
Comment 4 jeremyhu 2002-10-30 23:58:39 UTC
Subject: Re:  crash on exit after web browsing

Ok, I'll checkout an updated qt-copy from kde cvs once these 'cvs [login 
aborted]: end of file from server' problems stop, and I'll let you know if 
that helps.

On Wednesday October 30 2002 14:28, you wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=49941
> mo002j@mail.rochester.edu changed:
>
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
>- Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |FIXED
>
>
>
> ------- Additional Comments From mo002j@mail.rochester.edu  2002-10-30
> 23:28 ------- Please update it then - this crash should be fixed since
> then, AFAIK.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9wGQWgKpk8srJOlIRAqcxAJ9z9nhgvrlq5zF/0kw1SNCi1qtW5wCfUpUt
V6LbXn6nXvlLn3hN4SMFvwQ=
=QPKt
-----END PGP SIGNATURE-----

Comment 5 jeremyhu 2002-11-02 21:41:08 UTC
I updated qt-copy from cvs which resulted in me having to recompile most of kde  
because of binary incompatibility between qt beta2 and the cvs version, but  
alas, I have tried again, and konq still crashes on exit after viewing a website: 
 
I was at www.opera.com when I exited. 
 
 [New Thread 1024 (LWP 29649)] 
0x411c7499 in __wait4 () at __wait4:-1 
	in __wait4 
#0  0x411c7499 in __wait4 () at __wait4:-1 
#1  0x41246dc8 in __DTOR_END__ () from /lib/libc.so.6 
#2  0x41025b23 in waitpid (pid=-512, stat_loc=0xfffffe00, options=-512) 
    at wrapsyscall.c:174 
#3  0x40697bf2 in KCrash::defaultCrashHandler(int) () 
   from /opt/kde-3/lib/libkdecore.so.4 
#4  0x4102355b in pthread_sighandler (signo=6, ctx= 
      {gs = 7, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 
49168, edi = 1090685216, esi = 29649, ebp = 3221218840, esp = 
3221218812, ebx = 29649, edx = 1090712580, ecx = 6, eax = 0, trapno = 0, err 
= 0, eip = 1091908273, cs = 35, __csh = 0, eflags = 582, esp_at_signal = 
3221218812, ss = 43, __ssh = 0, fpstate = 0xbfffe380, oldmask = 2147483648, 
cr2 = 0}) at signals.c:97 
#5  <signal handler called> 
#6  0x411532b1 in __kill () at __kill:-1 
#7  0x4102349d in pthread_kill (thread=3221218176, signo=-512) at 
signals.c:65 
#8  0x41023a0b in raise (sig=-512) at signals.c:236 
#9  0x41154ab9 in abort () at ../sysdeps/generic/abort.c:88 
#10 0x4114d26f in __assert_fail ( 
    assertion=0xfffffe00 <Address 0xfffffe00 out of bounds>,  
    file=0xfffffe00 <Address 0xfffffe00 out of bounds>, line=4294966784,  
    function=0x41eaa4a0 "static void khtml::Cache::clear()") at assert.c:74 
#11 0x41e51ecc in khtml::Cache::clear() () from /opt/kde-3/lib/libkhtml.so.4 
#12 0x41d8e7f1 in KHTMLFactory::~KHTMLFactory() () 
   from /opt/kde-3/lib/libkhtml.so.4 
#13 0x41d8ea68 in KHTMLFactory::deref() () from /opt/kde-3/lib/libkhtml.so.4 
#14 0x41d8e6d1 in KHTMLFactory::~KHTMLFactory() () 
   from /opt/kde-3/lib/libkhtml.so.4 
#15 0x406b04ae in KLibrary::~KLibrary() () from /opt/kde-3/lib/libkdecore.so.4 
#16 0x406b3cb9 in KLibLoader::close_pending(KLibWrapPrivate*) () 
   from /opt/kde-3/lib/libkdecore.so.4 
#17 0x406b249b in KLibLoader::~KLibLoader() () 
   from /opt/kde-3/lib/libkdecore.so.4 
#18 0x406b16d8 in KLibLoader::cleanUp() () from /opt/kde-3/lib/libkdecore.so.4 
#19 0x4060f55b in KApplication::~KApplication() () 
   from /opt/kde-3/lib/libkdecore.so.4 
#20 0x41960ace in main () from /opt/kde-3/lib/konqueror.so 
#21 0x0804cba6 in launch(int, char const*, char const*, char const*, int, char 
const*, bool, char const*, bool, char const*) () 
#22 0x0804d983 in handle_launcher_request(int) () 
#23 0x0804ded4 in handle_requests(int) () 
#24 0x0804ec4d in main () 
#25 0x41141572 in __libc_start_main (main=0x804e850 <main>, argc=3,  
    ubp_av=0xbffff3f4, init=0x804a828 <_init>, fini=0xbffff350, rtld_fini=0,  
    stack_end=0x0) at ../sysdeps/generic/libc-start.c:129 
 
Comment 6 Dirk Mueller 2002-11-10 17:51:09 UTC

*** This bug has been marked as a duplicate of 49860 ***