<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 122: Segmentation fault on x64</title><link href="https://sourceforge.net/p/pixie/bugs/122/" rel="alternate"/><link href="https://sourceforge.net/p/pixie/bugs/122/feed.atom" rel="self"/><id>https://sourceforge.net/p/pixie/bugs/122/</id><updated>2010-03-13T22:43:50Z</updated><subtitle>Recent changes to 122: Segmentation fault on x64</subtitle><entry><title>Segmentation fault on x64</title><link href="https://sourceforge.net/p/pixie/bugs/122/" rel="alternate"/><published>2010-03-13T22:43:50Z</published><updated>2010-03-13T22:43:50Z</updated><author><name>Eibriel</name><uri>https://sourceforge.net/u/eibriel/</uri></author><id>https://sourceforge.net0f9f89094d5642802647a8f8f36b046f4a8f644b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;With Pixie 2.2.6, and Pixie SVN.&lt;br /&gt;
I transcribe a detailed description of the error:&lt;/p&gt;
&lt;p&gt;"This bug is actually with Pixie but I've added a "work around" solution&lt;br /&gt;
and updated the CVS Revision 1.63 ;-)&lt;/p&gt;
&lt;p&gt;This is an issue I've known about with 64 bit build of Pixie for several&lt;br /&gt;
months now (my 32 bit Linux and Windows build seemed to work fine). I also&lt;br /&gt;
tested shader source against 3Delight, Air and Aqsis and concluded it is an&lt;br /&gt;
issue with Pixie that will eventually get fixed. Since it appears&lt;br /&gt;
development has stopped on Pixie I've decided to look into this again and&lt;br /&gt;
see if I can create a "work around" solution just for Pixie. The problem&lt;br /&gt;
appears to be in MOSAICSurface.sl line 181...&lt;/p&gt;
&lt;p&gt;if (MatUF_X0[MAT_UF_ISTEXFACEALPHA] != 0 &amp;amp;&amp;amp; Name != "")&lt;/p&gt;
&lt;p&gt;There's nothing illegal about this line however it seems using AND with&lt;br /&gt;
the results of a float and string comparison crashes Pixie with a segfault&lt;br /&gt;
:-/ I have fixed this by comparing the float and string in separate&lt;br /&gt;
lines...&lt;/p&gt;
&lt;p&gt;if (MatUF_X0[MAT_UF_ISTEXFACEALPHA] != 0)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;if(Name != "")&lt;/p&gt;
&lt;p&gt;This may cause a problem when enabling Blender's TexFace Alpha without an&lt;br /&gt;
assigned texture however this is not likely to be used so should be fine in&lt;br /&gt;
most cases.&lt;/p&gt;
&lt;p&gt;Eric Back (WHiTeRaBBiT)"&lt;/p&gt;
&lt;p&gt;Thanks!!!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>