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

Blender 2.6 Bug Tracker: Browse

[#32471] Add 'RGB Curves Node causes Segmentation fault

Date:
2012-09-03 05:04
Priority:
3
State:
Closed
Submitted by:
nelson gonçalves (nafergo)
Assigned to:
Jeroen Bakker (jbakker)
Category:
Node Editor
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Add 'RGB Curves Node causes Segmentation fault
Detailed description
Hi

on blender-2.63-r50311-linux-glibc27-x86_64
using default scene, factory setting, switch to node editor (compositing), add a RGB Curves node and Blender crashes with:

CLERROR[-11]: CL_BUILD_PROGRAM_FAILURE
Segmentation fault

This problem doesn't seem to happen with blender-2.63a-linux-glibc27-x86_64

using Debian wheezy 64bit

renderer: 'GeForce GTX 560/PCIe/SSE2'
vendor: 'NVIDIA Corporation'
version: '4.2.0 NVIDIA 302.17'


sys-info attached

Followup

Message
  • Date: 2012-09-03 15:01
  • Sender: Brecht Van Lommel
  • I couldn't redo the crash on Ubuntu with a GTX 460 or on a Mac. There's an OpenCL error so it might be related to that, I've now made it only initialize OpenCL if the option is actually enabled (in revision 50349). Could you test if that avoids the crash?

    If it doesn't help, some more info could help. Does it crash immediately when you add the node, or after you link it up to other nodes? Could you attach a backtrace, doing this in the terminal?

    gdb ./blender
    type "run"
    make blender crash
    type "bt full"
  • Date: 2012-09-03 17:20
  • Sender: nelson gonçalves
  • It helps.
    With blender-2.63-r50355-linux-glibc27-x86_64 no longer crashes.

    - it was crashing immediately when I added the node
    - with blender-2.63-r50355-linux-glibc27-x86_64 it crashes only if I activate OpenCL box on Compositor properties panel.
    - should I still do the debugging backtrace?
  • Date: 2012-09-03 23:09
  • Sender: Campbell Barton
  • yes, if its crashing - still report backtrace.
  • Date: 2012-09-04 00:48
  • Sender: nelson gonçalves
  • With blender-2.63-r50355-linux-glibc27-x86_64

    1. loaded factory settings, switched to node editor (compositing), activated OpenCL box on Compositor properties panel
    2. when I add RGB Curves node Blender freezes with Compositing running (attached screenshot)
    3. killed Blender process and did br full (attached file)

    - if I don't activate OpenCL box on Compositor properties panel everything runs fine.
  • Date: 2012-09-04 14:48
  • Sender: nelson gonçalves
  • 1. loaded factory settings, switched to node editor (compositing), activated OpenCL box on Compositor properties panel
    2. when I add RGB Curves node Blender freezes with Compositing running (http://www.pasteall.org/pic/37330)
    - bt here: http://www.pasteall.org/34932/text

    Actually, it freezes if using gdb ./blender
    If I just use ./blender it crashes.

    - if I don't activate OpenCL box on Compositor properties panel everything runs fine.
  • Date: 2012-09-11 17:32
  • Sender: Brecht Van Lommel
  • Thanks for backtrace. Seems it crashes somewhere in the CUDA/OpenCL driver, and that it's not so much adding the node that triggers this, but OpenCL initialization in general.

    Maybe Jeroen has an idea what is causing the crash here.
  • Date: 2012-09-11 18:28
  • Sender: Jeroen Bakker
  • A fault happens during the compilation of the kernels. In the next getProgramInfo it raises a segmentation fault. Have you tried it with earlier NVidia drivers?
    I use myself version 295.
  • Date: 2012-09-11 19:00
  • Sender: nelson gonçalves
  • I'm using 302.17 and haven't tried r50355 with earlier driver versions. I recently updated to this driver and it was before the crash...
    On the other hand, before the driver update I was using blender-2.63a-linux-glibc27-x86_64 and I have no problem with that version.
    Will try to downgrade nvidia drivers and report after.
  • Date: 2012-09-19 17:42
  • Sender: Jeroen Bakker
  • @nelson: the opencl part of the compositor is only available in trunk (will be released in 2..64). this is the reason why you have no problem with 2.63a. it is part of the new compositor system.
  • Date: 2012-09-24 18:46
  • Sender: nelson gonçalves
  • Upgraded nvidia driver

    renderer: 'GeForce GTX 560/PCIe/SSE2'
    vendor: 'NVIDIA Corporation'
    version: '4.2.0 NVIDIA 304.48'

    running r50818-linux-glibc27-x86_64 no problem to report :) I can activate Opn
    Loaded factory settings, switched to node editor (compositing), activated OpenCL box on Compositor properties panel, added RGB Curves and everything went fine. seems it's fixed :)
  • Date: 2012-09-24 18:59
  • Sender: Brecht Van Lommel
  • Great! I think there was probably a bug in one particular driver version.
 

Attached Files:

Name Date Download
system-info.txt 2012-09-03 05:04 Download

Changes:

Field Old Value Date By
status_idOpen2012-09-24 18:59blendix
close_dateNone2012-09-24 18:59blendix
StatusNew2012-09-24 18:59blendix
assigned_tonone2012-09-11 17:32blendix
File Added21893: system-info.txt2012-09-03 05:04nafergo