[Uml-devel] [Bug 86237] New: Crash when changing code generator to C++
Sebastian Stein
seb_stein at gmx.de
Thu Jul 29 06:21:08 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=86237
Summary: Crash when changing code generator to C++
Product: umbrello
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: NEW
Severity: crash
Priority: NOR
Component: general
AssignedTo: umbrello-devel.kde.org
ReportedBy: seb_stein gmx de
Version: 1.3.0 (using KDE 3.2.3, compiled sources)
Compiler: gcc version 3.3.3
OS: Linux (i686) release 2.4.26
1. Load Umbrello, C++ must be already selected
2. Select an old style code generator like PHP
3. Click in the toolbar on new document
4. Change active language to C++
-> Crash
Maybe this is also the reason for bug 77645. But if I delete all datatypes
after step 1, it doesn't crash.
backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x40eab96b in QString::QString () from /usr/lib/qt/lib/libqt-mt.so.3
(gdb) bt
#0 0x40eab96b in QString::QString () from /usr/lib/qt/lib/libqt-mt.so.3
#1 0x08180a17 in UMLObject::getName (this=0x84c2240) at umlobject.cpp:82
#2 0x0825a46c in CPPSourceCodeDocument::syncNamesToParent (this=0x84ca738)
at cppsourcecodedocument.cpp:73
#3 0x0810388b in ClassifierCodeDocument::synchronize (this=0x84ca738)
at classifiercodedocument.cpp:393
#4 0x0825791c in CPPCodeGenerator::syncCodeToDocument (this=0x84c8d28)
at cppcodegenerator.cpp:219
#5 0x0825846c in CPPCodeGenerator::qt_invoke (this=0x84c8d28, _id=7,
_o=0xbfffe6b0) at cppcodegenerator.moc:94
#6 0x40be3eac in QObject::activate_signal ()
from /usr/lib/qt/lib/libqt-mt.so.3
#7 0x40be3ce4 in QObject::activate_signal ()
from /usr/lib/qt/lib/libqt-mt.so.3
#8 0x08114c1b in CodeGenerationPolicy::modifiedCodeContent (this=0x84c8858)
at qmetaobject.h:261
#9 0x0826f629 in CPPCodeGenerationPolicy::setDefaults (this=0x84c8858,
clone=0x0, emitUpdateSignal=true) at cppcodegenerationpolicy.cpp:376
#10 0x0815addd in UMLApp::setGenerator (this=0x83e17c0, gen=0x84c8d28,
giveWarning=102) at uml.cpp:1120
#11 0x0815b380 in UMLApp::setActiveLanguage (this=0x83e17c0, id=-80)
at uml.cpp:1213
More information about the umbrello-devel
mailing list