Page MenuHome

Crashes with texture node in compositor
Closed, ResolvedPublic

Description

I've been trying hard to find clear steps to reproduce this from scratch, but unsuccessful so far. I've been experiencing many crashes in the compositor when texture nodes are used in copy_rgba(). To be clear, I'm talking about nodes of type CMP_texture, not texture nodetrees.

Once I got it by adding a blank texture node (which got automatically connected to a viewer), and then selecting an existing texture datablock on that node. Once I got the crash by editing the size X/Y/Z values on the node inputs.

What I have managed to get though is a test file that crashes on open here for me, I looked at it quickly in GDB but don't see any obvious things like null pointers...

Anyway I've attached it. thanks

Event Timeline

Attached a fix.

Bug was caused by using the (already freed) preview buffer, instead of the actual socket output buffers.

Lukas Tönne (lukastoenne) changed the task status from Unknown Status to Resolved.Jan 16 2011, 5:00 PM