On 08/09/2013 09:16 AM, Brian Paul wrote:
> On 08/07/2013 12:17 PM, Kevin H. Hobbs wrote:
>> 
>> #0  pstip_bind_sampler_states (pipe=<optimized out>, num=0, sampler=0x0)
>> at draw/draw_pipe_pstipple.c:713
>> 
> Hmm, I'd expect memcpy() of length zero to be fine even if src/dst were 
> null.
> 

memcpy is fine, the segfault happens at line 713 two lines below where :

pstip->state.samplers[i] = NULL;

I asked gdb what to print pstip->state.samplers[0] and it told me
something like "unavailable".

> Can you try this patch?
> 

I can and I will.


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to