node_wrangler icon indicating copy to clipboard operation
node_wrangler copied to clipboard

Crash on node arrangement

Open orustammanapov opened this issue 12 years ago • 7 comments

Blender crashes every time when I try to arrange nodes with "Delete Reroutes" option checked. Everything works fine when i turn that option off. I'm using Blender 2.69 RC3 on Ubuntu 12.04

orustammanapov avatar Oct 22 '13 15:10 orustammanapov

Works fine for me, you try again and screenshot that error message?

On 22 October 2013 17:21, Orustam Manapov [email protected] wrote:

Blender crashes every time when I try to arrange nodes with "Delete Reroutes" option checked. Everything works fine when i turn that option off. I'm using Blender 2.69 RC3 on Ubuntu 12.04

— Reply to this email directly or view it on GitHubhttps://github.com/gregzaal/node_wrangler/issues/1 .

gregzaal avatar Oct 22 '13 17:10 gregzaal

I'm sorry, but which error message? It just closes... I've tried it several times before posting it here, and to be sure I did it again and get the same behavior. Even if I have only two nodes ("Render Layers" and "Compositor" or "Diffuse" and "Material Output") i need only two add one "Reroute" and Blender crashes after clicking "Arrange Nodes" button.

orustammanapov avatar Oct 22 '13 19:10 orustammanapov

It's odd that it crashes completely - I've never even heard of that happening with a python addon, its usually a problem in the core of blender if something simply crashes blender. I'll have to download RC3 and test it there. If you can run blender from a terminal and see what error it prints, that'll probably help a lot.

On 22 October 2013 21:44, Orustam Manapov [email protected] wrote:

I'm sorry, but which error message? It just closes... I've tried it several times before posting it here, and to be sure I did it again and get the same behavior. Even if I have only two nodes ("Render Layers" and "Compositor" or "Diffuse" and "Material Output") i need only two add one "Reroute" and Blender crashes after clicking "Arrange Nodes" button.

— Reply to this email directly or view it on GitHubhttps://github.com/gregzaal/node_wrangler/issues/1#issuecomment-26836728 .

gregzaal avatar Oct 22 '13 19:10 gregzaal

Oh, console, of course:) : here is what i get:

connect failed: No such file or directory Read new prefs: /home/orustam/.config/blender/2.69/config/userpref.blend Writing: /tmp/blender.crash.txt Segmentation fault (core dumped)

And here are contents of blender.crash.txt file:

Blender 2.69 (sub 1), Revision: 60892

bpy.ops.node.select_all(action='TOGGLE') # Operator bpy.ops.node.select_all(action='TOGGLE') # Operator bpy.ops.node.add_reroute(path=[{"name":"", "loc":(388, 204), "time":0}, {"name":"", "loc":(388, 201), "time":0}, {"name":"", "loc":(387, 197), "time":0}, {"name":"", "loc":(387, 193), "time":0}, {"name":"", "loc":(387, 189), "time":0}, {"name":"", "loc":(387, 183), "time":0}, {"name":"", "loc":(387, 179), "time":0}, {"name":"", "loc":(387, 176), "time":0}, {"name":"", "loc":(387, 173), "time":0}, {"name":"", "loc":(387, 170), "time":0}]) # Operator bpy.ops.node.select_all(action='TOGGLE') # Operator bpy.ops.node.select_all(action='TOGGLE') # Operator bpy.ops.node.delete_reconnect() # Operator

backtrace

/usr/lib/blender/blender() [0xbf99cd] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f1af39f34a0] /usr/lib/blender/blender() [0x1775d48] /usr/lib/blender/blender(rna_pointer_inherit_refine+0x56) [0x1702da6] /usr/lib/blender/blender(NodeLink_from_node_get+0x18) [0x1788678] /usr/lib/blender/blender(RNA_property_pointer_get+0x95) [0x17071b5] /usr/lib/blender/blender(pyrna_prop_to_py+0xe0) [0xf7cb30] /usr/lib/blender/blender() [0xf7cf00] /usr/lib/x86_64-linux-gnu/libpython3.3m.so.1.0(PyEval_EvalFrameEx+0x1ff3) [0x7f1afa5761f3] /usr/lib/x86_64-linux-gnu/libpython3.3m.so.1.0(PyEval_EvalCodeEx+0x85c) [0x7f1afa573f6c] /usr/lib/x86_64-linux-gnu/libpython3.3m.so.1.0(+0x970b6) [0x7f1afa5740b6] /usr/lib/x86_64-linux-gnu/libpython3.3m.so.1.0(PyObject_Call+0x7e) [0x7f1afa63707e] /usr/lib/blender/blender() [0xf7c448] /usr/lib/blender/blender() [0x17fa113] /usr/lib/blender/blender() [0xc002da] /usr/lib/blender/blender() [0xc0080d] /usr/lib/blender/blender() [0xd8fd2f] /usr/lib/blender/blender() [0xd9e050] /usr/lib/blender/blender() [0xc01778] /usr/lib/blender/blender() [0xc01d16] /usr/lib/blender/blender(wm_event_do_handlers+0x1ad) [0xc0204d] /usr/lib/blender/blender(WM_main+0x18) [0xbfad28] /usr/lib/blender/blender(main+0xcbf) [0xbc3c7f] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f1af39de76d] /usr/lib/blender/blender() [0xbf8539]

orustammanapov avatar Oct 22 '13 20:10 orustammanapov

Right - well I have a suspicion of what it might be, but it's probably out of my hands. I'll check with some people tonight and hopefully figure out a workaround or fix. Thanks for reporting this!

gregzaal avatar Oct 23 '13 04:10 gregzaal

Found the problem! Something I removed that I didn't think I needed suddenly became necessary in new builds of blender (no idea why). Let me know of any other problems you encounter, this might happen in other places as well, though hopefully not. Downloadhttps://raw.github.com/gregzaal/node_wrangler/master/node_wrangler.pyand reinstall it please :)

Cheers, Greg

On 23 October 2013 06:52, Greg Zaal [email protected] wrote:

Right - well I have a suspicion of what it might be, but it's probably out of my hands. I'll check with some people tonight and hopefully figure out a workaround or fix. Thanks for reporting this!

gregzaal avatar Oct 23 '13 09:10 gregzaal

I've tried it out and works fine now. Thanks for the fix and for great addon:)

orustammanapov avatar Oct 23 '13 16:10 orustammanapov