THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/09/2012 at 08:08, xxxxxxxx wrote:
Originally posted by xxxxxxxx
Here are some screen shots of my Xcode (3.2.6) configuration for DropToFloor. Note that the plugin was originally built in an earlier version of Xcode. But SolidChamfer 2.1 was just built in this version and it has the same configuration (and is purported to crash - which I did not experience). I am on Mac OS 10.7.4, for the record.If you see what needs to be changed, please let me know. [...]
The strip style is wrong. If you click on the strip style entry in the Xcode 3.2.6 build settings, it displays these explanations about the strip style (I'll write down the options, as this forum hosts no images) in the info part of the window (there 's a round "point" at the bottom of the build window that you can grab and open the info display, if you haven't yet) :
Defines the level of symbol stripping to be performed on the linked product of the build. The default value is defined by the target's product type. [STRIP_STYLE]
All Symbols - Completely strips the binary, removing the symbol table and relocation information. [all, -s]
Non-Global Symbols - Strips non-global symbols, but saves external symbols. [non-global, -x]
Debugging Symbols - Strips debugging symbols, but saves local and global symbols. [debugging, -S]
With your setting "Debugging Symbols" you only strip the debugging symbols, but you leave ALL other symbols - esp. new/delete - in place.
Choose "Non-Global Symbols" and then use the "nm" command (I showed you) to verify that no new/delete gets exported.
The crash is quite hard to reproduce and understand (that 's why we couldn't track in down when we saw it in r13). It really just depends on timing and memory content, if the code crashes or not; e.g. one case I had on my machine: It works (using the same archive) on system A & system B, but when you start the program hosted on system A via network from machine B, it crashes - binaries are id., it's just the different timing and memory content in these cases that made the difference.
Best regards,
Wilfried