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

Blender 2.6 Bug Tracker: Browse

[#26267] Seg Fault using Node Textures to Texture Paint when Using Fixed Texture

Date:
2011-03-02 09:08
Priority:
3
State:
Closed
Submitted by:
Terry Wallwork (terrywallwork)
Assigned to:
Ton Roosendaal (ton)
Category:
Image & Movie I/O
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Seg Fault using Node Textures to Texture Paint when Using Fixed Texture
Detailed description
I am using Blender SVN 35299.

I found that when I use a Node Textures, while in Texture Paint Mode with the Fixed Texture option enabled, it will eventually seg fault Blender.

I painted directly on the image in the UV image editor. Painting on the Mesh doesn't seem to cause the crash and it only seems to happen when the Fixed Texture option is enabled.

I tried this also in software-gl mode and found that it will also crash though it takes it a little bit more painting before it will seg fault.

I also tried switching the texture from a node texture to a normal brush texture and it did not seg fault, only when using nodes textures did it do so.

Attached is a blend file with all of it setup, paint in the UV Image editor by click and dragging around.

Also attached is a backtrace and a system-info file.

I also noticed that Node textures don't show up in the texture previews and instead just show up as big black square. I will post this as a seperate bug though, I mention here just in case it is related.

Followup

Message
  • Date: 2011-03-02 20:30
  • Sender: Sergey Sharybin
  • This crash is related to preview widget which is in your UI. This configuration leads to parallel calculation of the same node tree.
    As workaround i could suggest to switch to another tab.
    It's not very simple bug if we want to fix it correct, so this could take some time.
  • Date: 2011-03-03 14:52
  • Sender: Sergey Sharybin
  • Re-assigning to out preview rendering/threading guru, Ton!
    Crash could also be easily re-produced when using texture for sculpt brush and enable full redraw method in user preferences (texture preview should also be on the screen). Copying of node tree could help this problem.
  • Date: 2011-03-03 19:51
  • Sender: Ton Roosendaal
  • Fix goes to svn now. I've done a lot of work on cleaning code for previews, but it's not finished yet (materials + texture nodes combo with texture image paint ).
    The demo file was a fun test :) Thanks!
  • Date: 2011-03-03 21:48
  • Sender: Adam Jaworski
  • After your commit it's impossible to draw when preview is open. It draws only while mouse click and not whole stroke. rev35339.
    Testing with .blend file attached by Terry.
  • Date: 2011-03-03 21:54
  • Sender: Adam Jaworski
  • Forgot about image. Test_1.png is a result of stroke from top to bottom.
  • Date: 2011-03-03 22:00
  • Sender: Sergey Sharybin
  • We already know this issue. hopefully fix would be tomorrow. I have to discuss some things with Ton.
  • Date: 2011-03-04 15:36
  • Sender: Ton Roosendaal
  • Fixes in svn, just keep testing :)
 

Attached Files:

Name Date Download
backtrace.txt 2011-03-02 09:08 Download
system-info.txt 2011-03-02 09:08 Download
PanitNodeTex.blend 2011-03-02 09:08 Download
test_1.png 2011-03-03 21:54 Download

Changes:

Field Old Value Date By
File Added15244: test_1.png2011-03-03 21:54jawra
status_idOpen2011-03-03 19:51ton
close_dateNone2011-03-03 19:51ton
StatusInvestigate2011-03-03 19:51ton
assigned_tonazgul2011-03-03 14:52nazgul
StatusNew2011-03-02 20:30nazgul
assigned_tonone2011-03-02 11:15nazgul
File Added15195: PanitNodeTex.blend2011-03-02 09:08terrywallwork
File Added15196: system-info.txt2011-03-02 09:08terrywallwork
File Added15197: backtrace.txt2011-03-02 09:08terrywallwork