<HTML>
<HEAD>
<TITLE>Re: [vtk-developers] bug 8513, updating freetype; need Windows dev to help</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Well, I’m not really sure how to compile 32 bit on blackrose.  I tried simply adding –m32 to the C and CXX flags, but the configure failed.  (It might be because there are no 32 bit Python libraries.)  Are there any other 64 bit machines that can be tried?<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 12/15/09 12:38 PM, "Sean McBride" <<a href="sean@rogue-research.com">sean@rogue-research.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>On 12/15/09 12:22 PM, Moreland, Kenneth said:<BR>
<BR>
>Sean,<BR>
><BR>
>This morning I noticed that a bunch of the ParaView tests were failing<BR>
>on blackrose that were not failing yesterday.<BR>
><BR>
><a href="http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=493486">http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=493486</a><BR>
><BR>
>I eventually noticed that all the tests were in some way printing<BR>
>characters on the screen.  Using a debugger, I discovered that an<BR>
>internal freetype object named clazz, which holds a bunch of function<BR>
>pointers for various font manipulations, appears to be set to garbage.<BR>
>See the screen captures to see the stack trace right before the crash<BR>
>and the odd values stored for function pointers.  The crash occurs when<BR>
>it tries to run the request_size function.<BR>
><BR>
>I ran the same test on my Mac and saw that the function pointers were<BR>
>set to valid functions.  For example, the request_size function is set<BR>
>to T1_Size_Request (defined in the freetype source file t1objs.c).  I<BR>
>observe that the names of most of the functions defined in the clazz<BR>
>object are not mangled.  Could it be on blackrose that somehow pointers<BR>
>from a different library are somehow interfering with function pointers<BR>
>to the local library?<BR>
<BR>
Ugh.<BR>
<BR>
I noticed from your screenshots that you were running in 64 bit.  Did<BR>
you run in 64 bit on your Mac too?  I wonder if the pointers are being<BR>
truncated by being converted to a 32bit 'int' somewhere.  Could you test<BR>
in 32 bit on blackrose and in 64 bit on your Mac?<BR>
<BR>
--<BR>
____________________________________________________________<BR>
Sean McBride, B. Eng                 <a href="sean@rogue-research.com">sean@rogue-research.com</a><BR>
Rogue Research                        www.rogue-research.com<BR>
Mac Software Developer              Montréal, Québec, Canada<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
   ****      Kenneth Moreland<BR>
    ***      Sandia National Laboratories<BR>
***********  <BR>
*** *** ***  email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
**  ***  **  phone: (505) 844-8919<BR>
    ***      web:   <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>