Version: unknown (using KDE 3.4.0,%20compiled%20sources) Compiler: gcc%20version%203.4.2%20%5BFreeBSD%5D%2020040728 OS: FreeBSD%20(i386)%20release%205.3-RELEASE-p5 I made some changes to a model, saved it and quite umbrello or it might have crashed. Now on loading the model (default) it keeps craching. run from the shell> umbrello umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 28808 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 29562 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 29185 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 29074 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 29060 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 29548 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 30700 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 30700 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 31657 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 32006 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 32714 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 32987 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 33855 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 33855 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 34089 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 33623 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 34383 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 34089 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 34454 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 34447 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 33308 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 34404 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 34397 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 32006 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 33623 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 35581 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 33855 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 38300 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 38300 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 180876 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 33600 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 461788 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 468201 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 468201 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 468201 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 469052 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 469052 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 471290 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 471290 umbrello: ERROR: UMLObject::resolveRef(): cannot find type with id 468201 KCrash: Application 'umbrello' crashing... KDE backtrace: [Switching to LWP 100070] 0x298e53cf in wait4 () from /lib/libc.so.5 #0 0x298e53cf in wait4 () from /lib/libc.so.5 #1 0x298d4c53 in waitpid () from /lib/libc.so.5 #2 0x298720dd in waitpid () from /usr/lib/libpthread.so.1 #3 0x28cea721 in KCrash::defaultCrashHandler () from /usr/local/lib/libkdecore.so.6 #4 0x298793ba in sigaction () from /usr/lib/libpthread.so.1 #5 0xbfbfff94 in ?? () #6 0x0000000b in ?? () #7 0xbfbfe290 in ?? () #8 0xbfbfdfd0 in ?? () #9 0x00000000 in ?? () #10 0x298790a0 in sigaction () from /usr/lib/libpthread.so.1 #11 0x082ccf4b in CPPSourceCodeOperation::init () #12 0x082cc3ad in CPPSourceCodeOperation::CPPSourceCodeOperation () #13 0x082cb560 in CPPSourceCodeDocument::newCodeOperation () #14 0x0811fd3b in ClassifierCodeDocument::updateOperations () #15 0x0811fc28 in ClassifierCodeDocument::synchronize () #16 0x082cb2da in CPPSourceCodeDocument::init () #17 0x082caef1 in CPPSourceCodeDocument::CPPSourceCodeDocument () #18 0x082c83bb in CPPCodeGenerator::newClassifierCodeDocument () #19 0x082c8562 in CPPCodeGenerator::initFromParentDocument () #20 0x082c87c1 in CPPCodeGenerator::initAttributes () #21 0x082c730e in CPPCodeGenerator::CPPCodeGenerator () #22 0x082b03ee in CodeGeneratorFactory::createObject () #23 0x08195175 in UMLApp::createGenerator () #24 0x08196b51 in UMLApp::initSavedCodeGenerators () #25 0x081905a8 in UMLApp::openDocumentFile () #26 0x08169f34 in main ()
Your title says "crashes during UMLObject::resolveRef()" but the backtrace shows CPPSourceCodeOperation::init() ? Please attach a model file, else it's difficult to know what's happening.
Created attachment 11318 [details] It crashes on this I give you this diagram so that you can work out the bug. The diagram file was created with umbrella, no editing in betwain.
Created attachment 11322 [details] 106723-cleaned.xmi It does not crash with current svn trunk. However, there are several "object with id XYZ not found" errors which I found to be <UML:Generalization>s. This is due to a problem in version 1.4 which was fixed in 1.4.1. I attach a version of your file where I cleaned out those bogus associations.
Please use current svn trunk or a recent kdesdk snapshot from ftp://ftp.kde.org/pub/kde/snapshots/ . Unfortunately, even umbrello-1.4.1 is not new enough - two bugs were found shortly after its release which relate to the problems you are having (see bugs 106632 and 106673)
On Sat, Jun 04, 2005 at 05:00:30PM -0000, Oliver Kellogg wrote: [bugs.kde.org quoted mail] Tanks I greatly appriciate it.