Bug 59904

Summary: Segmentation fault when closing
Product: [Developer tools] kdevplatform Reporter: kaplun
Component: cvsAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version: 0.9.94   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kaplun 2003-06-16 20:13:14 UTC
Version:           3.0.0a4 (using KDE 3.1.2)
Installed from:    compiled sources
Compiler:          gcc version 3.2.3
OS:          Linux (i686) release 2.4.21-ck1

When closing Gideon it crashes... 
these are the traces...
[New Thread 16384 (LWP 2463)]
[New Thread 32769 (LWP 10484)]
0x414e8f29 in wait4 () from /lib/libc.so.6
#0  0x414e8f29 in wait4 () from /lib/libc.so.6
#1  0x41569234 in __DTOR_END__ () from /lib/libc.so.6
#2  0x412d8103 in waitpid () from /lib/libpthread.so.0
#3  0x40a1b70e in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3.1.2/lib/libkdecore.so.4
#4  <signal handler called>
#5  0x080b3973 in KDevPlugin::~KDevPlugin() ()
#6  0x41a23b5d in CvsPart::~CvsPart() ()
   from /opt/kde3.1.1/lib/kde3/libkdevcvs.so
#7  0x408f387e in QPtrList<QObject>::deleteItem(void*) ()
   from /opt/kde3.1.2/lib/libkdeui.so.4
#8  0x41006b16 in QGList::clear() () from /opt/qt3.1.2/lib/libqt-mt.so.3
#9  0x40a301f6 in KLibrary::~KLibrary() ()
   from /opt/kde3.1.2/lib/libkdecore.so.4
#10 0x40a323dd in KLibLoader::close_pending(KLibWrapPrivate*) ()
   from /opt/kde3.1.2/lib/libkdecore.so.4
#11 0x40a31546 in KLibLoader::~KLibLoader() ()
   from /opt/kde3.1.2/lib/libkdecore.so.4
#12 0x40a31033 in KLibLoader::cleanUp() ()
   from /opt/kde3.1.2/lib/libkdecore.so.4
#13 0x409b4d0b in KApplication::~KApplication() ()
   from /opt/kde3.1.2/lib/libkdecore.so.4
#14 0x08072cb4 in main ()
#15 0x41450bb4 in __libc_start_main () from /lib/libc.so.6
Comment 1 Amilcar do Carmo Lucas 2003-06-17 10:49:25 UTC
Seams to be a CVS part bug. 
Comment 2 Mario Scalas 2003-06-17 15:16:09 UTC
Seems fixed in cvs. Does it crash systematically? Or at random? I cannot remember of 
ever havinf found such a problem! Any confirmation about this bug?? 
Comment 3 kaplun 2003-06-18 14:15:31 UTC
I downloaded the last cvs version... 
The problem persist (one note... i've loaded all the possible plugin... I know it's not 
useful but...) 
 
Comment 4 Amilcar do Carmo Lucas 2003-06-18 14:25:26 UTC
This might be gcc 3.2.3 related :(
Comment 5 Mario Scalas 2003-06-20 16:06:47 UTC
Can you please uninstall your current gideon installation and do "make clean && make 
install" again? Thanks. 
Comment 6 kaplun 2003-06-20 22:38:04 UTC
Done! Nothing at all... 
And this is the new backtrace 
[New Thread 16384 (LWP 5406)] 
[New Thread 32769 (LWP 11342)] 
0x414ebf29 in wait4 () from /lib/libc.so.6 
#0  0x414ebf29 in wait4 () from /lib/libc.so.6 
#1  0x4156c234 in __DTOR_END__ () from /lib/libc.so.6 
#2  0x412db103 in waitpid () from /lib/libpthread.so.0 
#3  0x40a1d70e in KCrash::defaultCrashHandler(int) () 
   from /opt/kde3.1.2/lib/libkdecore.so.4 
#4  <signal handler called> 
#5  0x080a9e93 in KDevPlugin::~KDevPlugin() () 
#6  0x46cf9baf in KDevGlobalVersionControl::~KDevGlobalVersionControl() () 
   from /opt/kde3.1.1/lib/kde3/libkdevglobalcvs.so 
#7  0x46cef469 in GlobalCvs::~GlobalCvs() () 
   from /opt/kde3.1.1/lib/kde3/libkdevglobalcvs.so 
#8  0x408f587e in QPtrList<QObject>::deleteItem(void*) () 
   from /opt/kde3.1.2/lib/libkdeui.so.4 
#9  0x41009b16 in QGList::clear() () from /opt/qt3.1.2/lib/libqt-mt.so.3 
#10 0x40a321f6 in KLibrary::~KLibrary() () 
   from /opt/kde3.1.2/lib/libkdecore.so.4 
#11 0x40a343dd in KLibLoader::close_pending(KLibWrapPrivate*) () 
   from /opt/kde3.1.2/lib/libkdecore.so.4 
#12 0x40a33546 in KLibLoader::~KLibLoader() () 
   from /opt/kde3.1.2/lib/libkdecore.so.4 
#13 0x40a33033 in KLibLoader::cleanUp() () 
   from /opt/kde3.1.2/lib/libkdecore.so.4 
#14 0x409b6d0b in KApplication::~KApplication() () 
   from /opt/kde3.1.2/lib/libkdecore.so.4 
#15 0x0806cf74 in main () 
#16 0x41453bb4 in __libc_start_main () from /lib/libc.so.6 
 
 
Comment 7 Mario Scalas 2003-06-23 21:28:58 UTC
From your backtrace: 
 
<snip> 
> #5  0x080a9e93 in KDevPlugin::~KDevPlugin() () 
> #6  0x46cf9baf in KDevGlobalVersionControl::~KDevGlobalVersionControl() () 
>    from /opt/kde3.1.1/lib/kde3/libkdevglobalcvs.so 
> #7  0x46cef469 in GlobalCvs::~GlobalCvs() () 
>    from /opt/kde3.1.1/lib/kde3/libkdevglobalcvs.so 
<snip> 
 
it is clear that you have problems with you own kde installation: 
 
revision 1.13 
date: 2003/05/14 14:48:22;  author: marios;  state: Exp;  lines: +115 -30 
- Merged GlobalCvs in CvsPart 
- removed parts/cvs/globalcvs 
- added common cvs options as #define in new cvs_commonoptions.h 
- updated Makefile.am 
 
(No more GlobalCvs from 15th may 2003!) 
 
Remove kde-3.1.1 and eventually the old gideon-a4 because its libraries conflict with 
gideon cvs'. This should be sufficient: if not "make clean && make install" again from 
your own gideon cvs working copy. 
 
Good luck.