Bug 53777

Summary: SIGSEGV when I close Umbrello
Product: [Applications] umbrello Reporter: Milan Roubal <roubal>
Component: generalAssignee: Jonathan Riddell <jr>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 1.1.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Milan Roubal 2003-01-31 22:07:16 UTC
Version:           1.1.1 (using KDE KDE 3.1)
Installed from:    SuSE RPMs
Compiler:          gcc 3.2 
OS:          Linux

I open umbrello, close umbrello and I got this:
(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)...[New Thread 1024 (LWP 2830)]

(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)...
0x411718c9 in wait4 () from /lib/libc.so.6
#0  0x411718c9 in wait4 () from /lib/libc.so.6
#1  0x411ecc90 in __DTOR_END__ () from /lib/libc.so.6
#2  0x41095a93 in waitpid () from /lib/libpthread.so.0
#3  0x4072db0d in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#4  0x4109312b in pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x406db393 in KConfigBase::writeEntry(char const*, QString const&, bool, bool, bool) () from /opt/kde3/lib/libkdecore.so.4
#7  0x080a2194 in UMLDoc::findUMLObject(int) ()
#8  0x404e8d72 in KMainWindow::closeEvent(QCloseEvent*) ()
   from /opt/kde3/lib/libkdeui.so.4
#9  0x40b4d754 in QWidget::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x40bf4b72 in QMainWindow::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x40abb2e4 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x40abae4b in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x406bffc9 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#14 0x40b4d1a3 in QWidget::close(bool) () from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x40a6208c in QETWidget::translateCloseEvent(_XEvent const*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x40a5c487 in QApplication::x11ClientMessage(QWidget*, _XEvent*, bool) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40a5d3c1 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40a71eda in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x40acefa6 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x40acee48 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x40abb511 in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x080b5dbe in QValueListPrivate<QString>::at(unsigned) const ()
#23 0x410ec4a2 in __libc_start_main () from /lib/libc.so.6

It was working before when I was using KDE 3.0.4 and QT library from original SuSE 8.1, now I had updated to QT 3.1.1 and KDE 3.1.0 and I got this message at the end of the work. Its reproduceable every time I open and close the aplication.
Comment 1 Carsten Pfeiffer 2003-02-03 15:53:23 UTC
Subject: Re: [Uml-devel]  New: SIGSEGV when I close Umbrello (fwd)

On Saturday 01 February 2003 19:19, Jonathan Riddell wrote:

> I'm not sure of KDE 3.0 RPMs are supposed to work with KDE 3.1 as has been
> tried here, maybe someone intelligent like Carsten will know.
[...]
> #6  0x406db393 in KConfigBase::writeEntry(char const*, QString const&,
> bool, bool, bool) () from /opt/kde3/lib/libkdecore.so.4 #7  0x080a2194 in
> UMLDoc::findUMLObject(int) ()
> #8  0x404e8d72 in KMainWindow::closeEvent(QCloseEvent*) ()
>    from /opt/kde3/lib/libkdeui.so.4
[...]
> It was working before when I was using KDE 3.0.4 and QT library from
> original SuSE 8.1, now I had updated to QT 3.1.1 and KDE 3.1.0 and I got
> this message at the end of the work. Its reproduceable every time I open
> and close the aplication.

You should be able to update Qt and kdelibs without the need to recompile 
applications.

This stacktrace looks rather odd tho -- I can't find anything related to 
KConfig in UMLDoc::findUMLObject(). And KMainWindow::closeEvent() calling 
UMLDoc::findUMLObject()... something is really broken here.

Maybe there is an installation problem with different qt-libs?

Cheers
Carsten Pfeiffer
-----BEGIN PGP SIGNATURE-----

iQEVAwUBPj6CNKWgYMJuwmZtAQHo7gf/fHKYjPRM5Bf4pyKn2bi/HbXG86UMZA7W
Nehr1NbMdZvMvN+ro/is9U68fRmV0Fp/esefq4VRL78tDr+SP7aFUMWd2l2CIlfm
G6D7k97mjpdkVoIypthhwDLCJyXtSReJtfRWj2RGja4Gc7x0IKnejJhg+NEEzjgq
K+28UcRCfDsLimNj8HZ/oBG0M1nWDJIOD6pNpJewBg6RR+GECbT6cus6GjJn2DHA
MJndtM82pzFslVOQHD3/d0WZEmb+s9TEOcLEw1coHJ+fuS3q8WYb81A1u0FMpPI8
ptu0FvwJj1IuMELUiZNpPxlUFQ1isqtACS1a/A2nCgkn+N2PGSGW3A==
=3f3W
-----END PGP SIGNATURE-----

Comment 2 Jonathan Riddell 2003-02-03 17:03:14 UTC
I too get the problem, not sure what causes it.

I've made an Umbrello RPM for SuSE 8.1 with KDE 3.1 available at
http://uml.sf.net/download.php
Comment 3 Milan Roubal 2003-02-03 17:56:29 UTC
Thanx, problem is solved with this new rpm.
Comment 4 Karel Young 2003-10-22 14:53:44 UTC
Is there a fix for Mandrake running KDE 3.1?
I am having the Same bug
Thanks
Karel Young
kspn@tpg.com.au