[krita] [Bug 419093] call to Node.mergeDown() exits krita
https://bugs.kde.org/show_bug.cgi?id=419093 Bug Janitor Service changed: What|Removed |Added Resolution|WAITINGFORINFO |WORKSFORME Status|NEEDSINFO |RESOLVED --- Comment #9 from Bug Janitor Service --- This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 419093] call to Node.mergeDown() exits krita
https://bugs.kde.org/show_bug.cgi?id=419093 Halla Rempt changed: What|Removed |Added Resolution|--- |WAITINGFORINFO Status|CONFIRMED |NEEDSINFO CC||ha...@valdyas.org --- Comment #7 from Halla Rempt --- I can no longer reproduce this crash with Krita 5.0.6 on macOS. Can anyone else? -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 419093] call to Node.mergeDown() exits krita
https://bugs.kde.org/show_bug.cgi?id=419093 Scott Petrovic changed: What|Removed |Added Status|REPORTED|CONFIRMED Ever confirmed|0 |1 -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 419093] call to Node.mergeDown() exits krita
https://bugs.kde.org/show_bug.cgi?id=419093 Bug Janitor Service changed: What|Removed |Added Status|NEEDSINFO |REPORTED Resolution|WAITINGFORINFO |--- Ever confirmed|1 |0 --- Comment #6 from Bug Janitor Service --- Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information. -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 419093] call to Node.mergeDown() exits krita
https://bugs.kde.org/show_bug.cgi?id=419093 --- Comment #5 from Scott Petrovic --- The point I was trying to make is there is something going on with "children[1]" in your script that is giving it issues. The mergeDown() is working in my script, so there must be some difference with how your script is set up that is giving it issues. There could also be something with the "setChildNodes" that is not being set correctly that is causing the mergeDown to fail. We just need to figure out what causes the situation where it fails. -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 419093] call to Node.mergeDown() exits krita
https://bugs.kde.org/show_bug.cgi?id=419093 --- Comment #4 from Manga Tengu --- There is a lot happening indeed, but the mergeDown() call is the one that triggers the bug as when it's commented everything else works. If there is anything additional I can do please let me know ! -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 419093] call to Node.mergeDown() exits krita
https://bugs.kde.org/show_bug.cgi?id=419093 Scott Petrovic changed: What|Removed |Added Status|CONFIRMED |NEEDSINFO CC||scottpetro...@gmail.com Resolution|--- |WAITINGFORINFO --- Comment #3 from Scott Petrovic --- There might need to be some more digging with this. There are a lot of different things going on with the script. I don't know if it is the mergeDown() that is giving issues. I am running this script that merges a layer down and it seems to work ok... from krita import * # create document and show in view doc = Krita.instance().createDocument(1280, 1024, "Document name", "RGBA", "U8", "", 300.0) view = Krita.instance().activeWindow().addView(doc) # shows it in the application window = Application.activeWindow() # create nodes and add it to the layers stack paintLayer = doc.createNode("Background1", "paintlayer") paintLayerTwo = doc.createNode("Background2", "paintlayer") root = doc.rootNode() root.addChildNode(paintLayer, None) root.addChildNode(paintLayerTwo, None) # merge the top layer down paintLayerTwo.mergeDown() -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 419093] call to Node.mergeDown() exits krita
https://bugs.kde.org/show_bug.cgi?id=419093 Rebecca Breu changed: What|Removed |Added CC||rebe...@rbreu.de Status|REPORTED|CONFIRMED Ever confirmed|0 |1 --- Comment #2 from Rebecca Breu --- I can confirm this. It's only happening with the current 4.3. master, not with 4.2.8 and 4.2.9 beta. I'm getting two safe asserts and a segfault: SAFE ASSERT (krita): "!m_d->waitingOnImages.contains(image)" in file /home/appimage/persistent/krita/libs/image/KisBusyWaitBroker.cpp, line 64 SAFE ASSERT (krita): "m_d->waitingOnImages.contains(image)" in file /home/appimage/persistent/krita/libs/image/KisBusyWaitBroker.cpp, line 80 Thread 1 "krita" received signal SIGSEGV, Segmentation fault. Node::createNode (image=..., node=..., parent=parent@entry=0x0) at /home/appimage/persistent/krita/libs/libkis/Node.cpp:87 87 if (node->inherits("KisGroupLayer")) { (gdb) backtrace #0 Node::createNode (image=..., node=..., parent=parent@entry=0x0) at /home/appimage/persistent/krita/libs/libkis/Node.cpp:87 #1 0x7fffc4632bc7 in Node::mergeDown (this=0xe999090) at /home/appimage/persistent/krita/libs/libkis/Node.cpp:608 #2 0x7fffbbd9fae3 in meth_Node_mergeDown (sipSelf=0x7fffb66650d0, sipArgs=) at /home/appimage/appimage-workspace/krita-build/plugins/extensions/pykrita/sip/./krita/sipkritapart0.cpp:20073 #3 0x7fffc49016fa in cfunction_call_varargs (kwargs=, args=0x7fffcc06d040, func=0x7fffb71d9b80) at /home/appimage/appimage-workspace/deps-build/ext_python/ext_python-prefix/src/ext_python/Objects/call.c:757 #4 PyCFunction_Call (func=0x7fffb71d9b80, args=0x7fffcc06d040, kwargs=) at /home/appimage/appimage-workspace/deps-build/ext_python/ext_python-prefix/src/ext_python/Objects/call.c:772 #5 0x7fffc48ff311 in _PyObject_MakeTpCall (callable=0x7fffb71d9b80, args=, nargs=, keywords=0x0) at /home/appimage/appimage-workspace/deps-build/ext_python/ext_python-prefix/src/ext_python/Objects/call.c:159 #6 0x7fffc48d5827 in _PyObject_Vectorcall (kwnames=, nargsf=, args=, callable=) at /home/appimage/appimage-workspace/deps-build/ext_python/ext_python-prefix/src/ext_python/Include/cpython/abstract.h:125 #7 call_function (kwnames=0x0, oparg=, pp_stack=, tstate=0x6cdc000) at /home/appimage/appimage-workspace/deps-build/ext_python/ext_python-prefix/src/ext_python/Python/ceval.c:4987 #8 _PyEval_EvalFrameDefault (f=, throwflag=) at /home/appimage/appimage-workspace/deps-build/ext_python/ext_python-prefix/src/ext_python/Python/ceval.c:3469 #9 0x7fffc49efeaa in _PyEval_EvalCodeWithName (_co=_co@entry=0x7fffb6655240, globals=globals@entry=0x7fffb6634180, locals=locals@entry=0x7fffb6634180, args=args@entry=0x0, argcount=argcount@entry=0, kwnames=kwnames@entry=0x0, kwargs=0x0, kwcount=0, kwstep=2, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at /home/appimage/appimage-workspace/deps-build/ext_python/ext_python-prefix/src/ext_python/Python/ceval.c:4298 #10 0x7fffc49f005e in PyEval_EvalCodeEx (_co=_co@entry=0x7fffb6655240, globals=globals@entry=0x7fffb6634180, locals=locals@entry=0x7fffb6634180, args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at /home/appimage/appimage-workspace/deps-build/ext_python/ext_python-prefix/src/ext_python/Python/ceval.c:4327 #11 0x7fffc49f008b in PyEval_EvalCode (co=co@entry=0x7fffb6655240, globals=globals@entry=0x7fffb6634180, locals=locals@entry=0x7fffb6634180) at /home/appimage/appimage-workspace/deps-build/ext_python/ext_python-prefix/src/ext_python/Python/ceval.c:718 #12 0x7fffc49ecaa9 in builtin_exec_impl (module=, locals=0x7fffb6634180, globals=0x7fffb6634180, source=0x7fffb6655240) at /home/appimage/appimage-workspace/deps-build/ext_python/ext_python-prefix/src/ext_python/Python/bltinmodule.c:1033 #13 builtin_exec (module=, args=, nargs=) --Type for more, q to quit, c to continue without paging-- at /home/appimage/appimage-workspace/deps-build/ext_python/ext_python-prefix/src/ext_python/Python/clinic/bltinmodule.c.h:396 #14 0x7fffc4949380 in cfunction_vectorcall_FASTCALL (func=func@entry=0x7fffcc03c590, args=, nargsf=nargsf@entry=2, kwnames=) at /home/appimage/appimage-workspace/deps-build/ext_python/ext_python-prefix/src/ext_python/Objects/methodobject.c:421 #15 0x7fffc490125f in PyVectorcall_Call (callable=0x7fffcc03c590, tuple=, kwargs=) at /home/appimage/appimage-workspace/deps-build/ext_python/ext_python-prefix/src/ext_python/Objects/call.c:199 #16 0x7fffc48d6308 in do_call_core (kwdict=0x7fffb6652e80, callargs=0x7fffb6653640, func=0x7fffcc03c590, tstate=0x6cdc000) at
[krita] [Bug 419093] call to Node.mergeDown() exits krita
https://bugs.kde.org/show_bug.cgi?id=419093 Manga Tengu changed: What|Removed |Added Attachment #126936|a script that loads a file, |a script that tries to description|creates a view on it. Adds |mergeDown a layer |an extra solid layer at the | |bottom and merges | --- Comment #1 from Manga Tengu --- Comment on attachment 126936 --> https://bugs.kde.org/attachment.cgi?id=126936 a script that tries to mergeDown a layer >from krita import * > >doc = Application.openDocument("PathToImage") >window = Application.activeWindow() >view = window.addView(doc) >window.showView(view) >paintLayer = doc.createNode("Background1", "paintLayer") >i = InfoObject() >i.setProperty("color", "white") >s = Selection() >s.select(0, 0, doc.width(), doc.height(), 255) >fillLayer = doc.createFillLayer("Background2", "color", i, s) >root = doc.rootNode() >children = root.childNodes() >root.setChildNodes([fillLayer, paintLayer, children[0]]) >children = root.childNodes() >children[1].mergeDown() -- You are receiving this mail because: You are watching all bug changes.