Проблемы с запуском приложений iOS 4.2 с valgrind.valgrind и iOS SDK 4.2?
Я установил valgrind 3.6.0-SVN из Macports. XCode 3.2.5.
Когда я изменить мой основной(), чтобы запустить Valgrind я получаю следующий результат:
Detected an attempt to call a symbol in system libraries that is not present on the iPhone: open$UNIX2003 called from function _vgrZU_libSystemZdZaZddylib_arc4random in image vgpreload_core-x86-darwin.so. If you are encountering this problem running a simulator binary within gdb, make sure you 'set start-with-shell off' first. ==99640== ==99640== Process terminating with default action of signal 6 (SIGABRT) ==99640== at 0x8B5DEF6: __kill (in /usr/lib/libSystem.B.dylib) ==99640== by 0x8BF062C: raise (in /usr/lib/libSystem.B.dylib) ==99640== by 0x8C066E3: abort (in /usr/lib/libSystem.B.dylib) ==99640== by 0x33F2547: __springboard_unimplemented (in /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/lib/libSystem.dylib) ==99640== by 0x33FC208: open$UNIX2003 (in /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/lib/libSystem.dylib) ==99640== by 0x1AAD6F3: arc4random (vg_preloaded.c:163) ==99640== by 0x8AFFB7E: create_scalable_zone (in /usr/lib/libSystem.B.dylib) ==99640== by 0x8AFF7EA: _malloc_initialize (in /usr/lib/libSystem.B.dylib) ==99640== by 0x8B23449: malloc_create_zone (in /usr/lib/libSystem.B.dylib) ==99640== by 0x8B233F8: _dispatch_ccache_init (in /usr/lib/libSystem.B.dylib) ==99640== by 0x8B21E0D: dispatch_once_f (in /usr/lib/libSystem.B.dylib) ==99640== by 0x8B233D3: _dispatch_continuation_alloc_from_heap (in /usr/lib/libSystem.B.dylib)
ошибка, кажется, довольно ясно. Как я могу это исправить? Я слышал об успешных попытках запустить valgrind на SDK 3.x. Что изменилось?
Другие советы?
Я испытываю такую же проблему. Хотя решения пока нет. –