[krita] [Bug 493056] New: Krita crashes/exits on unlinking shared memory object in python scripts

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Fri Sep 13 12:32:04 BST 2024


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

            Bug ID: 493056
           Summary: Krita crashes/exits on unlinking shared memory object
                    in python scripts
    Classification: Applications
           Product: krita
           Version: 5.2.3
          Platform: macOS (DMG)
                OS: macOS
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Scripting
          Assignee: krita-bugs-null at kde.org
          Reporter: sylaypaper at gmail.com
  Target Milestone: ---

Created attachment 173616
  --> https://bugs.kde.org/attachment.cgi?id=173616&action=edit
log of last session and sysinfo

***
krita exits with code 13 on unlinking shared_memory in python scripter and
plugins

this bug only occurs on macos
If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
I am developing plugin using shared memory feature and encountered issues on
macos. while on windows and linux this issue is not present. I also tested code
that is resulting in crash in python repl and other application allowing for
scripting (blender) and did not encounter any issues.

STEPS TO REPRODUCE
1.  open tools>scripts>scripter
2. paste 

from multiprocessing import shared_memory
test = shared_memory.SharedMemory(create=True, size=10000)
test.unlink()

3. click run button 3 times

OBSERVED RESULT

krita crashes with no reasonable log errors 
exit status 13

EXPECTED RESULT
krita reports a bug or works properly like on other platforms

SOFTWARE/OS VERSIONS
macOS: 14.6.1 (23G93)
ADDITIONAL INFORMATION
also tested on 5.3.0-prealpha git 9f8f65f and produced same results
I am testing it on Intel vm

SYSTEM INFO

-- 
You are receiving this mail because:
You are watching all bug changes.



More information about the kde-mac mailing list