{"action":"closed","issue":{"url":"https://api.github.com/repos/halide/Halide/issues/936","labels_url":"https://api.github.com/repos/halide/Halide/issues/936/labels{/name}","comments_url":"https://api.github.com/repos/halide/Halide/issues/936/comments","events_url":"https://api.github.com/repos/halide/Halide/issues/936/events","html_url":"https://github.com/halide/Halide/issues/936","id":107616576,"number":936,"title":"Debug symbol parsing crashes for programs build with Xcode 7","user":{"login":"jrk","id":9147,"avatar_url":"https://avatars.githubusercontent.com/u/9147?v=3","gravatar_id":"","url":"https://api.github.com/users/jrk","html_url":"https://github.com/jrk","followers_url":"https://api.github.com/users/jrk/followers","following_url":"https://api.github.com/users/jrk/following{/other_user}","gists_url":"https://api.github.com/users/jrk/gists{/gist_id}","starred_url":"https://api.github.com/users/jrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrk/subscriptions","organizations_url":"https://api.github.com/users/jrk/orgs","repos_url":"https://api.github.com/users/jrk/repos","events_url":"https://api.github.com/users/jrk/events{/privacy}","received_events_url":"https://api.github.com/users/jrk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-21T23:13:57Z","updated_at":"2015-09-26T01:18:48Z","closed_at":"2015-09-26T01:18:48Z","body":"Updating tools to Xcode 7 seems to result in even trivial Halide programs crashing in the object file parsing:\r\n\r\n    * thread #1: tid = 0x2dc0bd, 0x00007fff94e07d32 libsystem_c.dylib`strlen + 18, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x1d8301c20)\r\n      * frame #0: 0x00007fff94e07d32 libsystem_c.dylib`strlen + 18\r\n        frame #1: 0x00000001001adb09 libHalide.so`Halide::Internal::Introspection::DebugSections::parse_debug_info(llvm::DataExtractor const&, llvm::DataExtractor const&, llvm::StringRef, llvm::StringRef) + 9081\r\n        frame #2: 0x00000001001ab66a libHalide.so`Halide::Internal::Introspection::DebugSections::parse_object_file(llvm::object::ObjectFile*) + 2042\r\n        frame #3: 0x00000001001aa9e0 libHalide.so`Halide::Internal::Introspection::DebugSections::load_and_parse_object_file(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 128\r\n        frame #4: 0x00000001001aa7f0 libHalide.so`Halide::Internal::Introspection::DebugSections::DebugSections(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) + 672\r\n        frame #5: 0x00000001001a31f7 libHalide.so`Halide::Internal::Introspection::test_compilation_unit(bool (*)(), void (*)()) + 311\r\n        frame #6: 0x0000000100000e92 test`HalideIntrospectionCanary::(anonymous namespace)::TestCompilationUnit::TestCompilationUnit(this=0x000000010000b7c8) + 34 at Halide.h:1673\r\n        frame #7: 0x0000000100000bd5 test`HalideIntrospectionCanary::(anonymous namespace)::TestCompilationUnit::TestCompilationUnit(this=0x000000010000b7c8) + 21 at Halide.h:1672\r\n        frame #8: 0x0000000100002b70 test`::__cxx_global_var_init() + 16 at Halide.h:1678\r\n        frame #9: 0x0000000100002b89 test`_GLOBAL__sub_I_test.cpp + 9 at test.cpp:0\r\n        frame #10: 0x00007fff5fc12f1b dyld`ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 265\r\n        frame #11: 0x00007fff5fc13094 dyld`ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40\r\n        frame #12: 0x00007fff5fc0f6cd dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 305\r\n        frame #13: 0x00007fff5fc0f553 dyld`ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 127\r\n        frame #14: 0x00007fff5fc0f7c3 dyld`ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 75\r\n        frame #15: 0x00007fff5fc020f1 dyld`dyld::initializeMainExecutable() + 208\r\n        frame #16: 0x00007fff5fc05d47 dyld`dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 3515\r\n        frame #17: 0x00007fff5fc01276 dyld`dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 512\r\n        frame #18: 0x00007fff5fc01036 dyld`_dyld_start + 54\r\n\r\nThis is using the 2015.08.05 and 2015.09.11 binary releases."}}