Bug 83820

Summary: Latest umbrello CVS crashes on save
Product: [Applications] umbrello Reporter: Anthony Parent <tonyp>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Anthony Parent 2004-06-22 19:16:32 UTC
Version:           1.2.90 (using KDE 3.2.2, compiled sources)
Compiler:          gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
OS:                Linux (i686) release 2.4.20-6

Latest CVS head 06/22/04

It seems like just about anything that triggers a save of the XMI file causes umbrello to crash now.

 - Let the autosave feature kick in --> Crash
 - Do a Save-As -->Crash
 - Open an existing doc then hit save --> Crash

This is repeatable, I have several backtraces from getting this crash, they all seem to point to the following:

0xffffe002 in ?? ()
#0  0xffffe002 in ?? ()
#1  0x407be4dd in KCrash::defaultCrashHandler(int) ()
   from /home/tonyp/kde3.2.2/lib/libkdecore.so.4
#2  <signal handler called>
#3  0x00000034 in ?? ()
#4  0x081008a5 in ClassifierCodeDocument::saveToXMI(QDomDocument&, QDomElement&) ()
#5  0x08232c9b in CPPCodeGenerator::saveToXMI(QDomDocument&, QDomElement&) ()
... (Various different ways to get here)
Comment 1 Sebastian Stein 2004-06-23 09:04:43 UTC
Anthony Parent <tonyp@pegasusda.com> [040623 08:28]:
> It seems like just about anything that triggers a save of the XMI file
> causes umbrello to crash now.

I can't confirm this bug as well. Maybe do a fresh checkout and recompile
everything.

Sebastian

Comment 2 Anthony Parent 2004-06-23 16:33:21 UTC
Sebastian Stein wrote:

>Anthony Parent <tonyp pegasusda com> [040623 08:28]:
>  
>
>>It seems like just about anything that triggers a save of the XMI file
>>causes umbrello to crash now.
>>    
>>
>
>I can't confirm this bug as well. Maybe do a fresh checkout and recompile
>everything.
>  
>
See my comments for bug 83817. I think these are both caused by the same 
issue.

Comment 3 Oliver Kellogg 2004-07-02 19:04:39 UTC
Does this still happen with current cvs?
Comment 4 Anthony Parent 2004-07-02 19:14:09 UTC
This no longer seems to be happening. I think it was related to a corrupt file that was getting loaded at startup. Unfortunately I can't reproduce the issue because the file was nuked by another issue. (Zero length file after save.) I hadn't backed up the file in question, so I guess go ahead and close this. If I reproduce the issue in the future, I'll be more diligent about saving input files! 
Comment 5 Oliver Kellogg 2004-07-02 19:55:34 UTC
*** Bug has been marked as fixed ***.