[futurebasic] Re: [FB] FBtoC crash

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 2008 : Group Archive : Group : All Groups

From: Brian Stevens <bstevens33@...>
Date: Sat, 8 Mar 2008 19:14:59 -0700
On Mar 8, 2008, at 10:53 AM, David Bailey wrote:

> in FBtoC I have run into a particular problem that crashes FBtoC  
> compiling/running by simply attempting to print a variable.


David,

Maybe we need to start with some basics, because testing by the FBtoC  
team does create not a crash at this point.  I just ran a simple test  
through gdb and all went fine.

Would you compile your test app that fails with FBtoC and use no  
optimization, and full debug ( names and line# ). Turn off code  
stripping and run for target 'current mac'.  Run the app and get the  
crash. Check the crashreporter log and see where it crashes. This  
might be the same thing you sent in the gdb window but it might shed  
some light.  Symptoms still seem to point to an issue related to  
using ( or not ) CFSwapInt16BigToHost() in appropriate locations.

BTW: just to double check, are you describing an application crash or  
an FBtoC crash? The subject says "FBtoC crash" but I assume that  
means "application crash when compiled with FBtoC", right ?  The  
comment in your first post on the topic was also confusing to me  
( repeated above , so I want to make sure we know the basics.


Brian S.