Bug 180028

Summary: Cross references in c+ make umbrello segfault
Product: [Applications] umbrello Reporter: Michal <wolek84>
Component: generalAssignee: Ralf Habacker <ralf.habacker>
Status: RESOLVED FIXED    
Severity: crash CC: ralf.habacker
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.13.0

Description Michal 2009-01-08 14:29:14 UTC
Version:           1.5.8 (using KDE 3.5.10)
OS:                Linux
Installed from:    Ubuntu Packages

Suppose we have two files in same folder: a.h  b.h.
File "a.h" contains:

#include "b.h"
class A
{
   B* b;
};

-------- END a.h --------

file "b.h" contains:

#include "a.h"
class B
{
    A *a;
};

-------- END b.h --------

Now if i choose from menu Code->Import classes... and choose a.h file
umbrello crashes and puts segmentation fault on console.
Comment 1 Ralf Habacker 2013-09-07 21:31:17 UTC
Still crashes in git master. 
A workaround is to disable dependency resolving (Settings->Codeimport->Resolve Dependencies)
Comment 2 Ralf Habacker 2014-02-12 01:05:44 UTC
crash has been fixed with bug 330778.