Version: umbrello-1.4.2 (using KDE KDE 3.3.2) Installed from: Compiled From Sources Compiler: gcc-4.0.1(debian) OS: Linux Umbrello crashes on exiting. Open the attached model, and quit. There you are. I attach also the output of the program and the stack information given by KCrash. (If it lets me, otherwise drop eme an email and Ill send it to you)
Created attachment 12482 [details] Crashing model If you need more info, drop me a note
I don't know the fix for this but at least I know a workaround: 1. Move away your pinball.xmi so that umbrello no longer autoloads it on startup 2. Start umbrello, go to the Settings->Configure Umbrello menu, deselect "Use tabbed diagrams" 3. Exit and restart umbrello
Created attachment 13502 [details] kde backtrace of umbrello crash at exit I can confirm this bug with umbrello 1.4.92. see the attached KDE crash report.
Confirm with umbrello 1.5.2 and KDE 3.5.2.
Created attachment 16008 [details] KDE crash dump
BTW, in my case attached (pinball) model causes crash at start. I have created another model (rather simple) which also causes crash, but at exit (nearly every exit). Turning off tabs does not change anything (except that it is easier to cope with many diagrams).
Created attachment 16012 [details] Output from console Output to console produced by Umbrello at crash when opening a file.
SVN commit 539517 by okellogg: addDefaultStereotypes(): Guard against derefencing NULL pointer. BUG:112092 M +2 -0 ChangeLog M +3 -1 umbrello/umldoc.cpp --- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #539516:539517 @@ -8,8 +8,10 @@ * Save autosave file to a more obvious place (72019) * Usability and responsiveness improvements to code import (93296) * Auto-complete in parameter properties dialog in class diagram (104477) +* Crash on application exit (112092) * Memory problem when importing classes from c++ sources (122668) * Nestable components and subsystems in Component diagram (124326) +* Crash loading xmi file (125331, 126968) * User interaction with UMLWidget improvements (126391) * Comments are cut short when generating PHP code (126480) --- branches/KDE/3.5/kdesdk/umbrello/umbrello/umldoc.cpp #539516:539517 @@ -2566,7 +2566,9 @@ } void UMLDoc::addDefaultStereotypes() { - UMLApp::app()->getGenerator()->createDefaultStereotypes(); + CodeGenerator *gen = UMLApp::app()->getGenerator(); + if (gen) + gen->createDefaultStereotypes(); } const UMLStereotypeList& UMLDoc::getStereotypes() {