What can cause EXC_BAD_INSTRUCTION in dyldbootstrap?
Posted
by
Georg Fritzsche
on Stack Overflow
See other posts from Stack Overflow
or by Georg Fritzsche
Published on 2011-01-17T15:33:38Z
Indexed on
2011/01/17
15:53 UTC
Read the original article
Hit count: 194
Porting a bigger project to iPhone i have it running in the simulator, but trying to run it on a iPad device results in a EXC_BAD_INSTRUCTION
in dyld code with the following backtrace:
#0 0x2fe01088 in __dyld__ZN13dyldbootstrapL30randomizeExecutableLoadAddressEPK12macho_headerPPKcPm ()
#1 0x2fe06a72 in __dyld__ZN4dyld5_mainEPK12macho_headermiPPKcS5_S5_ ()
#2 0x2fe06d3c in __dyld__ZN9__gnu_cxx13new_allocatorIPFPKc17dyld_image_statesjPK15dyld_image_infoEE8allocateEmPKv ()
#3 0x2fe0b398 in __dyld__ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeIPK11ImageLoaderEE8allocateEmPKv ()
#4 0x2fe05fa6 in __dyld__ZN4dyld11removeImageEP11ImageLoader ()
#5 0x2fe06506 in __dyld__ZN4dyld5_mainEPK12macho_headermiPPKcS5_S5_ ()
#6 0x2fe0128c in __dyld__ZN13dyldbootstrapL30randomizeExecutableLoadAddressEPK12macho_headerPPKcPm ()
#7 0x2fe01060 in __dyld_branch_to_lookupDyldFunction ()
This is building for iPhone Device 3.2
with the architectures armv6 armv7
and happens before main()
is ever entered.
I am currently at a loss for how to find the cause of this, any ideas?
© Stack Overflow or respective owner