| Summary: | [Pascal] code importing wizard crash | ||
|---|---|---|---|
| Product: | [Applications] umbrello | Reporter: | Jessica <jess.jones.unitedkingdom> |
| Component: | importer | Assignee: | Umbrello Development Group <umbrello-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | okellogg |
| Priority: | NOR | ||
| Version First Reported In: | 2.32.0 (KDE releases 20.08.0) | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | 9acd3b8418f9c1b5e77b4294ddebbe64757720c9 | Version Fixed/Implemented In: | 2.33.80 (KDE releases 22.03.80) |
| Sentry Crash Report: | |||
|
Description
Jessica
2022-01-26 21:58:19 UTC
The files that make umbrello crash are: Controls.pas SevenZip.pas ShellCtrls.pas system.pas All other files from the RAR archive are imported without crashing. 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 ":"
Thank you so much for this wonderful program! May I ask where the github of umbrello is? Where is the correct place to ask feature requests or ask questions about the current features? Thanks (In reply to Jessica from comment #3) > [...] > May I ask where the github of umbrello is? https://invent.kde.org/sdk/umbrello > Where is the correct place to ask feature requests or ask questions about > the current features? For feature requests it's right here. For usage questions it's the user mailing list, https://mail.kde.org/mailman/listinfo/umbrello For design/implementation level matters it's the devel mailing list, https://mail.kde.org/mailman/listinfo/umbrello-devel |