[umbrello] [Bug 449219] [Pascal] code importing wizard crash

Oliver Kellogg bugzilla_noreply at kde.org
Fri Jan 28 06:35:53 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=449219

Oliver Kellogg <okellogg at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |okellogg at users.sourceforge.
                   |                            |net
            Summary|code importing wizard crash |[Pascal] code importing
                   |                            |wizard crash
     Ever confirmed|0                           |1
             Status|REPORTED                    |CONFIRMED

--- Comment #2 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
Example of crash (this one apparently on RichEdit.pas) :
(gdb) bt
#0  0x0000000000472384 in QWeakPointer<QObject>::internalData (this=0x38) at
/usr/include/qt5/QtCore/qsharedpointer_impl.h:698
#1  0x00000000006387bc in QPointer<UMLStereotype>::data (this=0x38) at
/usr/include/qt5/QtCore/qpointer.h:77
#2  0x000000000063866c in QPointer<UMLStereotype>::operator UMLStereotype*
(this=0x38) at /usr/include/qt5/QtCore/qpointer.h:83
#3  0x0000000000631f5f in UMLObject::stereotype (this=0x0,
includeAdornments=false)
    at /umbrello-master/umbrello/umlmodel/umlobject.cpp:557
#4  0x0000000000631e49 in UMLObject::setStereotype (this=0x0, name="property")
    at /umbrello-master/umbrello/umlmodel/umlobject.cpp:526
#5  0x00000000007a318c in PascalImport::parseStmt (this=0x181ae10) at
/umbrello-master/umbrello/codeimport/pascalimport.cpp:436
#6  0x000000000079ea29 in NativeImportBase::parseFile (this=0x181ae10,
   
filename="/home/okellogg/umbrello/bug449219-pascalimport-el888-source/SevenZip.pas")
    at /umbrello-master/umbrello/codeimport/nativeimportbase.cpp:486
#7  0x000000000078ad59 in ClassImport::importFile (this=0x181ae10,
   
fileName="/home/okellogg/umbrello/bug449219-pascalimport-el888-source/SevenZip.pas")
    at /umbrello-master/umbrello/codeimport/classimport.cpp:115
#8  0x000000000050e17f in CodeImpThread::run (this=0x1594320) at
/umbrello-master/umbrello/codeimpwizard/codeimpthread.cpp:48
#9  0x000000000050ba24 in CodeImpStatusPage::importCodeFile
(this=0x7fffec008360, noError=true)
    at /umbrello-master/umbrello/codeimpwizard/codeimpstatuspage.cpp:178

As an aside, on Buttons.pas there are lots of errors such as
umbrello: "CreatePropertySheetPage" : expecting '=' at  "("
umbrello: "stdcall" : expecting '=' at  ";"
umbrello: "CreatePropertySheetPageA" : expecting '=' at  "("
umbrello: "stdcall" : expecting '=' at  ";"
umbrello: "CreatePropertySheetPageW" : expecting '=' at  "("
umbrello: "stdcall" : expecting '=' at  ";"
umbrello: "DestroyPropertySheetPage" : expecting '=' at  "("
umbrello: "stdcall" : expecting '=' at  ";"
umbrello: "PropertySheet" : expecting '=' at  "("
umbrello: "stdcall" : expecting '=' at  ";"
umbrello: "PropertySheetA" : expecting '=' at  "("
umbrello: "stdcall" : expecting '=' at  ";"
umbrello: "PropertySheetW" : expecting '=' at  "("
umbrello: "stdcall" : expecting '=' at  ";"
umbrello: "dwICC" : expecting '=' at  ":"

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list