[umbrello] [Bug 374530] Crash when adding message to sequence diagram
Ralf Habacker
bugzilla_noreply at kde.org
Wed Jan 4 12:59:24 UTC 2017
https://bugs.kde.org/show_bug.cgi?id=374530
--- Comment #3 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to Clemens John from comment #2)
> I recompiled umbrello including debug symbols and gdb shows the following:
>
> +++
> umbrello: "Create widget : new_class" [ 2 ]
> umbrello: Modified file= "Untitled"
> umbrello: Object_Factory::createUMLObject( "" ): parentPkg is not set,
> assuming Model_Type "Logical"
> umbrello: "Create UML object : new_class_1" [ 3 ]
> umbrello: Modified file= "Untitled"
> umbrello: scene= "sequence diagram" / object= "new_class_1"
> umbrello: Modified file= "Untitled"
> umbrello: "Create widget : new_class_1" [ 3 ]
> umbrello: Modified file= "Untitled"
> umbrello: virtual void ToolBarStateMessages::setCurrentElement() Object
> detected
> umbrello: virtual void ToolBarStateMessages::setCurrentElement() Object
> detected
>
> Thread 1 "umbrello" received signal SIGSEGV, Segmentation fault.
> __cxxabiv1::__dynamic_cast (src_ptr=0x0, src_type=0xb304a0 <typeinfo for
> UMLObject>, dst_type=0xb30630 <typeinfo for UMLOperation>, src2dst=0)
> at /build/gcc-multilib/src/gcc/libstdc++-v3/libsupc++/dyncast.cc:50
> 50 /build/gcc-multilib/src/gcc/libstdc++-v3/libsupc++/dyncast.cc: Datei
> oder Verzeichnis nicht gefunden.
> (gdb)
> +++
>
> I hope this helps.
yes, I have an idea what's going wrong. The above mentioned crash is known with
gcc 6.2 on windows (see bug 373911)
> If you need any further information please let me know!
Yes:
1. It would be nice to get more backtrace stackframes to be able to get an idea
which code path has been used.
2. Which compiler version did you use ?
3. It would be nice if you would perform the following steps:
3.1 checkout umbrello from branch Applications/16.12 from git repo
git://anongit.kde.org/umbrello if not already done
3.2 enable macro checkPointer() unconditional (see the following commit
https://cgit.kde.org/umbrello.git/commit/?h=Applications/16.12&id=5b81af759c24895892d8c628fd610ff43f16fd2c
for details)
3.2 recompile, retest and report if that helps
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list