Bug 180145 - Segault when loading a saved document
Summary: Segault when loading a saved document
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-09 16:22 UTC by Jason Keirstead
Modified: 2013-11-06 17:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.10.0


Attachments
Document that causes the crash (16.31 KB, application/octet-stream)
2009-01-09 16:23 UTC, Jason Keirstead
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Keirstead 2009-01-09 16:22:23 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Trying to load a previously saved document, crashes every time. Will attach the document.

On a side note I find it strange that the error is in the code generation module, why is umbrello trying to generate code when I just open a document?

Application: Umbrello UML Modeller (umbrello), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb5b8f6c0 (LWP 10388)]
[KCrash handler]
#6  0xb7f2f430 in __kernel_vsyscall ()
#7  0xb5e90880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5e92248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb7d15795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb7d15872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb7d15915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0x0822ec2c in QString::at (this=0xbf92c428, i=0)
    at /usr/include/qt4/QtCore/qstring.h:644
#13 0x08221af4 in Codegen_Utils::capitalizeFirstLetter (string=@0xbf92c428)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/codegenerators/codegen_utils.cpp:411
#14 0x08247319 in JavaCodeAccessorMethod::updateMethodDeclaration (
    this=0x9022428)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/codegenerators/java/javacodeaccessormethod.cpp:164
#15 0x08246964 in JavaCodeAccessorMethod::update (this=0x9022428)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/codegenerators/java/javacodeaccessormethod.cpp:202
#16 0x0820551a in CodeGenFactory::newCodeAccessorMethod (ccd=0x914ae58, 
    cf=0x9162508, type=CodeAccessorMethod::GET)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/codegenerators/codegenfactory.cpp:340
#17 0x0820a176 in CodeClassField::initAccessorMethods (this=0x9162508)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/codegenerators/codeclassfield.cpp:408
#18 0x0820a3ca in CodeClassField::finishInitialization (this=0x9162508)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/codegenerators/codeclassfield.cpp:586
#19 0x082057b3 in CodeGenFactory::newCodeClassField (ccd=0x914ae58, 
    role=0x9159858)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/codegenerators/codegenfactory.cpp:305
#20 0x0839b99a in ClassifierCodeDocument::addAssociationClassField (
    this=0x914ae58, a=0x915b910, syncToParentIfAdded=false)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/classifiercodedocument.cpp:552
#21 0x0839ba51 in ClassifierCodeDocument::updateAssociationClassFields (
    this=0x914ae58, assocList=@0xbf92c67c)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/classifiercodedocument.cpp:518
#22 0x0839bcc0 in ClassifierCodeDocument::initCodeClassFields (this=0x914ae58)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/classifiercodedocument.cpp:509
#23 0x0823a297 in JavaCodeGenerator::newClassifierCodeDocument (
    this=0x9163420, c=0x9158860)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/codegenerators/java/javacodegenerator.cpp:130
#24 0x08219a36 in CodeGenerator::initFromParentDocument (this=0x9163420)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/codegenerators/codegenerator.cpp:265
#25 0x082071ec in CodeGenFactory::createObject (pl=Uml::pl_Java)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/codegenerators/codegenfactory.cpp:187
#26 0x0842be50 in UMLApp::setGenerator (this=0x8f5a890, pl=Uml::pl_Java)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/uml.cpp:1583
#27 0x08453f1c in UMLDoc::loadExtensionsFromXMI (this=0x8f56140, 
    node=@0xbf92cc40)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/umldoc.cpp:1828
#28 0x08454e66 in UMLDoc::loadFromXMI (this=0x8f56140, file=@0xbf92cd1c, 
    encode=1)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/umldoc.cpp:1532
#29 0x08458441 in UMLDoc::openDocument (this=0x8f56140, url=@0x903d72c, 
    format=0x0)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/umldoc.cpp:495
#30 0x0843b9ef in UMLApp::slotFileOpenRecent (this=0x8f5a890, url=@0x903d72c)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/uml.cpp:946
#31 0x0843c177 in UMLApp::qt_metacall (this=0x8f5a890, 
    _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf92cfac)
    at /home/jasonk/umbrello/kdesdk/build/umbrello/umbrello/uml.moc:224
#32 0xb7e22a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#33 0xb7e237e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#34 0xb782cd63 in KRecentFilesAction::urlSelected ()
   from /usr/lib/libkdeui.so.5
#35 0xb782d162 in ?? () from /usr/lib/libkdeui.so.5
#36 0xb782d2d3 in KRecentFilesAction::qt_metacall ()
   from /usr/lib/libkdeui.so.5
#37 0xb7e22a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#38 0xb7e237e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#39 0xb7830cf3 in KSelectAction::triggered () from /usr/lib/libkdeui.so.5
#40 0xb7832910 in KSelectAction::actionTriggered ()
   from /usr/lib/libkdeui.so.5
#41 0xb7833be4 in KSelectAction::qt_metacall () from /usr/lib/libkdeui.so.5
#42 0xb782d21a in KRecentFilesAction::qt_metacall ()
   from /usr/lib/libkdeui.so.5
#43 0xb7e22a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#44 0xb7e237e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#45 0xb6221133 in QActionGroup::triggered () from /usr/lib/libQtGui.so.4
#46 0xb62219e8 in ?? () from /usr/lib/libQtGui.so.4
#47 0xb6221bfe in QActionGroup::qt_metacall () from /usr/lib/libQtGui.so.4
#48 0xb7e22a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#49 0xb7e22e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#50 0xb621c5f1 in QAction::triggered () from /usr/lib/libQtGui.so.4
#51 0xb621cf5f in QAction::activate () from /usr/lib/libQtGui.so.4
#52 0xb65fa564 in ?? () from /usr/lib/libQtGui.so.4
#53 0xb65faff2 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#54 0xb79e4b95 in KMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.5
#55 0xb627a962 in QWidget::event () from /usr/lib/libQtGui.so.4
#56 0xb65fd2e9 in QMenu::event () from /usr/lib/libQtGui.so.4
#57 0xb62228ec in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#58 0xb622b0e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#59 0xb790fb2d in KApplication::notify () from /usr/lib/libkdeui.so.5
#60 0xb7e0de61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#61 0xb622a36e in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#62 0xb62948de in ?? () from /usr/lib/libQtGui.so.4
#63 0xb62939e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#64 0xb62bd7aa in ?? () from /usr/lib/libQtGui.so.4
#65 0xb5dbf6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#66 0xb5dc2da3 in ?? () from /usr/lib/libglib-2.0.so.0
#67 0xb5dc2f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#68 0xb7e38478 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#69 0xb62bcea5 in ?? () from /usr/lib/libQtGui.so.4
#70 0xb7e0c52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#71 0xb7e0c6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#72 0xb7e0eda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#73 0xb6222767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#74 0x083ea98c in main (argc=1, argv=0xbf92e524)
    at /home/jasonk/umbrello/kdesdk/umbrello/umbrello/main.cpp:110
#0  0xb7f2f430 in __kernel_vsyscall ()
Comment 1 Jason Keirstead 2009-01-09 16:23:46 UTC
Created attachment 30055 [details]
Document that causes the crash
Comment 2 Andi Fischer 2012-07-15 19:00:35 UTC
Attached file is loading without crash in version 2.8.4.
Comment 3 Ralf Habacker 2013-11-06 17:40:56 UTC
bug has been closed in 4.10.0