<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 122: Segmentation fault on x64</title><link>https://sourceforge.net/p/pixie/bugs/122/</link><description>Recent changes to 122: Segmentation fault on x64</description><atom:link href="https://sourceforge.net/p/pixie/bugs/122/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 13 Mar 2010 22:43:50 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pixie/bugs/122/feed.rss" rel="self" type="application/rss+xml"/><item><title>Segmentation fault on x64</title><link>https://sourceforge.net/p/pixie/bugs/122/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eibriel</dc:creator><pubDate>Sat, 13 Mar 2010 22:43:50 -0000</pubDate><guid>https://sourceforge.net0f9f89094d5642802647a8f8f36b046f4a8f644b</guid></item></channel></rss>