Bug 180028 - Cross references in c+ make umbrello segfault
Summary: Cross references in c+ make umbrello segfault
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Ralf Habacker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-08 14:29 UTC by Michal
Modified: 2014-02-12 01:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.