Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#26443] Reproducible Composite Node Crash *needs more info*

Date:
2011-03-10 12:10
Priority:
3
State:
Closed
Submitted by:
Tobias Oelgarte (niabot)
Assigned to:
Ton Roosendaal (ton)
Category:
Node Editor
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Reproducible Composite Node Crash *needs more info*
Detailed description
I noticed that blender often crashes with a segmentation fault while setting up nodes for compositing. So i searched for cases when this happens. The simplest reproducible case i could create was with the following steps:

1. Open the default scene
2. Go to composite node editor
3. Activating the nodes (checkbox in menubar)
4. Disconnect the output/composite node (color)
5. Connect the layer-input (color->color) to an added viewer node
6. Try to drag a connection from output/composite node to anything else

While starting to drag in the last step, blender usually (at least often) crashes with a segmentation fault. (For Clarification i added a screenshot of the setup, just before the crash)

PS: In the example with the screenshot i rendered the image before doing this. It allowed me to connect the node. Then i removed the connection again, connected color->alpha and color -> color (last did not happen anymore -> segfault)

Followup

Message
  • Date: 2011-03-10 12:58
  • Sender: Ton Roosendaal
  • No crashes here... we have bug report guidelines are there for a reason...

    - always attach the .blend file that gives error with minimal amount of steps
    - always test this with a build from blender.org too
    - mention OS and graphics card
    - if you build blender yourself (or downloaded from graphical), mention svn revision.
    you also then have to verify whether that build is correct yourself, try another build and make 100% sure that the build has been compiled with default settings.
    - if possible, test this on another system

    The tracker is not to prove that you have crashes (I believe you!) but is meant to help others to recreate or locate errors themselves.
  • Date: 2011-03-10 13:29
  • Sender: Tobias Oelgarte
  • I used a current build from svn. So i updated to Revision 35450, recompiled it again and had the same problem. Anything else inside the build works just fine.

    System:
    * Ubuntu 10.10 32bit,
    * Intel Core 2 Duo
    * Nvidia Geforce Go 7600
    * Python 3.2 (Packages from Ubuntu 11.04).

    Official build from blender.org 2.56a: no crash
    Graphicall.org build (2.56.0): no crash
    Graphicall.org build (rev 35402, http://www.graphicall.org/builds/builds/showbuild.php?action=show&id=1112 ): Crashes the same way as mine.

    I appended an example file. All you need to do, is to disconnect the Viewer Node (just the line, [move it away from viewer node socket) and then try to drag _from_ composite color socket to anywhere else. It crashes immediately.
  • Date: 2011-03-10 13:45
  • Sender: Terry Wallwork
  • HI I am using Blender 2.56 SVN 35450.

    I can confirm the seg fault on my machine also.

    Attached a backtrace and my system-info file.
  • Date: 2011-03-10 16:05
  • Sender: Sergey Sharybin
  • It could crash on second attempt or third, but it will crash. Got quick fix.It's Ton's code, so assigning to him.

    P.S. also created test file, but it was already created while i've been working under this and other bugs :)
  • Date: 2011-03-10 19:19
  • Sender: Ton Roosendaal
  • Thanks! It appears to only happen if you very quickly disconnect the noodle, just while the composite starts.
    Fix in svn!
 

Attached Files:

Name Date Download
Bildschirmfoto-145.png 2011-03-10 12:10 Download
crashtest.blend 2011-03-10 13:30 Download
system-info.txt 2011-03-10 13:45 Download
backtrace.txt 2011-03-10 13:45 Download
node_fromsock.patch 2011-03-10 16:05 Download

Changes:

Field Old Value Date By
status_idOpen2011-03-10 19:19ton
close_dateNone2011-03-10 19:19ton
StatusInvestigate2011-03-10 19:19ton
File Added15334: node_fromsock.patch2011-03-10 16:05nazgul
assigned_tonone2011-03-10 16:05nazgul
File Added15328: backtrace.txt2011-03-10 13:45terrywallwork
File Added15329: system-info.txt2011-03-10 13:45terrywallwork
File Added15327: crashtest.blend2011-03-10 13:30niabot
summaryReproducible Composite Node Crash2011-03-10 12:58ton
StatusNew2011-03-10 12:58ton
File Added15326: Bildschirmfoto-145.png2011-03-10 12:10niabot