Summary: | Crash on application exit | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Paco Arjonilla <pacoarjonilla> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Crashing model
kde backtrace of umbrello crash at exit KDE crash dump Output from console |
Description
Paco Arjonilla
2005-09-05 20:59:42 UTC
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() { |