Summary: | crash when importing c++ code | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Ludovic Jozeau <unifai> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | okellogg |
Priority: | NOR | Keywords: | drkonqi |
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | 3041141b10361aedb3c8c06c9ba36b5d25ac6f9a | Version Fixed In: | 2.33.80 (KDE releases 22.03.80) |
Sentry Crash Report: | |||
Attachments: |
header that crashes umbrello
bug250467-FtpHppImport-savedByUmbrelloMaster-uml2.xmi |
Description
Ludovic Jozeau
2022-02-15 00:36:15 UTC
What locale are you using? Can you attach a C++ file for which the error happens? In LANG=en_US.UTF-8, I tried importing following file using git master: // file: inc.h #include "no_such_file.h" class C { int x; }; // end of file This did not crash. In fact, it did not even give the error message "Could not find include file ..." It only gave a debug message, [D] CppImport::feedTheModel(/home/c++/inc.h): /home/tools/umbrello/build/no_such_file.h => no_such_file.h Created attachment 146765 [details] header that crashes umbrello here is my localectl: ``` localectl System Locale: LANG=en_US.UTF-8 LC_TIME=en_GB.UTF-8 LC_COLLATE=fr_FR.UTF-8 LC_MONETARY=fr_FR.UTF-8 LC_ADDRESS=fr_FR.UTF-8 LC_MEASUREMENT=fr_FR.UTF-8 VC Keymap: fr X11 Layout: fr X11 Model: pc105 X11 Options: terminate:ctrl_alt_bksp ``` > Can you attach a C++ file for which the error happens? sure Created attachment 146766 [details] bug250467-FtpHppImport-savedByUmbrelloMaster-uml2.xmi The bug is fixed in current git master with which the attached XMI file was created. (In reply to Oliver Kellogg from comment #3) > Created attachment 146766 [details] > bug250467-FtpHppImport-savedByUmbrelloMaster-uml2.xmi > > The bug is fixed in current git master with which the attached XMI file was > created. Oh, ok, cool, thanks, sorry for the noise then. |