https://bugs.kde.org/show_bug.cgi?id=487517
Bug ID: 487517 Summary: Krita crashes when closing while loading file Classification: Applications Product: krita Version: 5.2.2 Platform: Arch Linux OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: General Assignee: krita-bugs-n...@kde.org Reporter: tildear...@protonmail.com Target Milestone: --- SUMMARY If Krita is closed before it finishes loading a file that has been specified in the command like, it will crash instead of closing gracefully. STEPS TO REPRODUCE 1. Open Krita (pass a file in command line) 2. As soon as the main window opens, close it (but before the file has loaded) OBSERVED RESULT Krita crashes. EXPECTED RESULT Krita closes. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 6.0.4 KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.0/5.15.13+kde+r147-1 ADDITIONAL INFORMATION Backtrace: ``` Application: krita (krita), signal: Segmentation fault [KCrash Handler] #4 0x00007f9bb72aa664 in QObject::thread() const () at /usr/lib/libQt5Core.so.5 #5 0x00007f9bb868597d in KisBusyWaitBroker::notifyWaitOnImageStarted(KisImage*) () at /usr/lib/libkritaimage.so.19 #6 0x00007f9bb86f0db0 in KisImage::waitForDone() () at /usr/lib/libkritaimage.so.19 #7 0x00007f9bb86e3420 in KisImage::~KisImage() () at /usr/lib/libkritaimage.so.19 #8 0x00007f9bb86e3ade in KisImage::~KisImage() () at /usr/lib/libkritaimage.so.19 #9 0x00007f9bb909ca0c in ??? () at /usr/lib/libkritaui.so.19 #10 0x00007f9bb9046d0e in KisPart::~KisPart() () at /usr/lib/libkritaui.so.19 #11 0x00007f9bb9037c8e in ??? () at /usr/lib/libkritaui.so.19 #12 0x00007f9bb6b79fa1 in ??? () at /usr/lib/libc.so.6 #13 0x00007f9bb6b7a06e in exit () at /usr/lib/libc.so.6 #14 0x00007f9bb6b60c8f in ??? () at /usr/lib/libc.so.6 #15 0x00007f9bb6b60d4c in __libc_start_main () at /usr/lib/libc.so.6 #16 0x0000560d0375ba05 in ??? () [Inferior 1 (process 3076) detached] ``` Standard output: ``` ~/Pictures$ krita yup.png No "macintosh" available. Set style "breeze" kf.config.core: Watching absolute paths is not supported "/usr/share/color-schemes/KritaDark.colors" Invalid profile : "/usr/share/color/icc/colord/Crayons.icc" Invalid profile : "/usr/share/color/icc/colord/x11-colors.icc" krita.lib.pigment: Replacing color space factory "LABA" "L*a*b* (16-bit integer/channel, unmanaged)" with "LABA" "L*a*b*/Alpha (16-bit integer/channel)" krita.lib.pigment: Replacing color space factory "RGBA" "RGB (8-bit integer/channel, unmanaged)" with "RGBA" "RGB/Alpha (8-bit integer/channel)" krita.lib.pigment: Replacing color space factory "RGBA16" "RGB (16-bit integer/channel, unmanaged)" with "RGBA16" "RGB/Alpha (16-bit integer/channel)" Loading plugin "/usr/lib/kritaplugins/kritaseexprgenerator.so" failed, "Cannot load library /usr/lib/kritaplugins/kritaseexprgenerator.so: (libKSeExprUI.so.4: cannot open shared object file: No such file or directory)" QObject::startTimer: Timers cannot have negative intervals /usr/lib/krita-python-libs/krita added to PYTHONPATH /usr/share/krita/pykrita/comics_project_management_tools/comics_exporter.py:429: SyntaxWarning: invalid escape sequence '\d' svgRegExp = re.compile('[MLCSQHVATmlzcqshva]\d+\.?\d* \d+\.?\d*') /usr/share/krita/pykrita/comics_project_management_tools/comics_exporter.py:539: SyntaxWarning: invalid escape sequence '\<' string = re.sub("\<.*?\>", " ", string) /usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_ACBF_XML_Exporter.py:510: SyntaxWarning: invalid escape sequence '\<' string = re.sub("\<\/*?text.*?\>",'', str(v["text"])) /usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_ACBF_XML_Exporter.py:511: SyntaxWarning: invalid escape sequence '\s' string = re.sub("\s+?", " ", string) /usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:49: SyntaxWarning: invalid escape sequence '\<' text = re.sub("\<.*?\>", " ", text) /usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:50: SyntaxWarning: invalid escape sequence '\s' key += str(re.sub("\s+", " ", text)).strip() /usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:114: SyntaxWarning: invalid escape sequence '\<' key = re.sub("\<.*?\>", " ", key) /usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:115: SyntaxWarning: invalid escape sequence '\s' key = re.sub("\s+", " ", key) /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\+' '\+', '-', '\*', '/', '//', '\%', '\*\*', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\*' '\+', '-', '\*', '/', '//', '\%', '\*\*', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\%' '\+', '-', '\*', '/', '//', '\%', '\*\*', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\*' '\+', '-', '\*', '/', '//', '\%', '\*\*', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:35: SyntaxWarning: invalid escape sequence '\+' '\+=', '-=', '\*=', '/=', '\%=', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:35: SyntaxWarning: invalid escape sequence '\*' '\+=', '-=', '\*=', '/=', '\%=', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:35: SyntaxWarning: invalid escape sequence '\%' '\+=', '-=', '\*=', '/=', '\%=', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\^' '\^', '\|', '\&', '\~', '>>', '<<', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\|' '\^', '\|', '\&', '\~', '>>', '<<', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\&' '\^', '\|', '\&', '\~', '>>', '<<', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\~' '\^', '\|', '\&', '\~', '>>', '<<', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\{' '\{', '\}', '\(', '\)', '\[', '\]', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\}' '\{', '\}', '\(', '\)', '\[', '\]', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\(' '\{', '\}', '\(', '\)', '\[', '\]', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\)' '\{', '\}', '\(', '\)', '\[', '\]', ~/Pictures$ krita yup.png No "macintosh" available. Set style "breeze" kf.config.core: Watching absolute paths is not supported "/usr/share/color-schemes/KritaDark.colors" Invalid profile : "/usr/share/color/icc/colord/Crayons.icc" Invalid profile : "/usr/share/color/icc/colord/x11-colors.icc" krita.lib.pigment: Replacing color space factory "LABA" "L*a*b* (16-bit integer/channel, unmanaged)" with "LABA" "L*a*b*/Alpha (16-bit integer/channel)" krita.lib.pigment: Replacing color space factory "RGBA" "RGB (8-bit integer/channel, unmanaged)" with "RGBA" "RGB/Alpha (8-bit integer/channel)" krita.lib.pigment: Replacing color space factory "RGBA16" "RGB (16-bit integer/channel, unmanaged)" with "RGBA16" "RGB/Alpha (16-bit integer/channel)" Loading plugin "/usr/lib/kritaplugins/kritaseexprgenerator.so" failed, "Cannot load library /usr/lib/kritaplugins/kritaseexprgenerator.so: (libKSeExprUI.so.4: cannot open shared object file: No such file or directory)" QObject::startTimer: Timers cannot have negative intervals /usr/lib/krita-python-libs/krita added to PYTHONPATH /usr/share/krita/pykrita/comics_project_management_tools/comics_exporter.py:429: SyntaxWarning: invalid escape sequence '\d' svgRegExp = re.compile('[MLCSQHVATmlzcqshva]\d+\.?\d* \d+\.?\d*') /usr/share/krita/pykrita/comics_project_management_tools/comics_exporter.py:539: SyntaxWarning: invalid escape sequence '\<' string = re.sub("\<.*?\>", " ", string) /usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_ACBF_XML_Exporter.py:510: SyntaxWarning: invalid escape sequence '\<' string = re.sub("\<\/*?text.*?\>",'', str(v["text"])) /usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_ACBF_XML_Exporter.py:511: SyntaxWarning: invalid escape sequence '\s' string = re.sub("\s+?", " ", string) /usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:49: SyntaxWarning: invalid escape sequence '\<' text = re.sub("\<.*?\>", " ", text) /usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:50: SyntaxWarning: invalid escape sequence '\s' key += str(re.sub("\s+", " ", text)).strip() /usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:114: SyntaxWarning: invalid escape sequence '\<' key = re.sub("\<.*?\>", " ", key) /usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:115: SyntaxWarning: invalid escape sequence '\s' key = re.sub("\s+", " ", key) /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\+' '\+', '-', '\*', '/', '//', '\%', '\*\*', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\*' '\+', '-', '\*', '/', '//', '\%', '\*\*', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\%' '\+', '-', '\*', '/', '//', '\%', '\*\*', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\*' '\+', '-', '\*', '/', '//', '\%', '\*\*', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:35: SyntaxWarning: invalid escape sequence '\+' '\+=', '-=', '\*=', '/=', '\%=', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:35: SyntaxWarning: invalid escape sequence '\*' '\+=', '-=', '\*=', '/=', '\%=', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:35: SyntaxWarning: invalid escape sequence '\%' '\+=', '-=', '\*=', '/=', '\%=', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\^' '\^', '\|', '\&', '\~', '>>', '<<', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\|' '\^', '\|', '\&', '\~', '>>', '<<', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\&' '\^', '\|', '\&', '\~', '>>', '<<', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\~' '\^', '\|', '\&', '\~', '>>', '<<', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\{' '\{', '\}', '\(', '\)', '\[', '\]', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\}' '\{', '\}', '\(', '\)', '\[', '\]', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\(' '\{', '\}', '\(', '\)', '\[', '\]', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\)' '\{', '\}', '\(', '\)', '\[', '\]', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\[' '\{', '\}', '\(', '\)', '\[', '\]', /usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\]' '\{', '\}', '\(', '\)', '\[', '\]', /usr/share/krita/pykrita/scripter/ui_scripter/editor/pythoneditor.py:274: SyntaxWarning: invalid escape sequence '\)' """The return key has just been pressed (and processed by the editor) SAFE ASSERT (krita): "!sanityCheckPointer.isValid()" in file /usr/src/debug/krita/krita-5.2.2/libs/ui/KisDocument.cpp, line 698 krita.general: Warning: some tiles have leaked: krita.general: Tiles in memory: 17 Total tiles: 17 KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = krita path = /usr/bin pid = 3076 KCrash: Arguments: /usr/bin/krita yup.png KCrash: Attempting to start /usr/lib/drkonqi Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. ``` -- You are receiving this mail because: You are watching all bug changes.