findExportedSymbol crash
findExportedSymbol crash
- Subject: findExportedSymbol crash
- From: patrick machielse <email@hidden>
- Date: Wed, 19 Nov 2014 15:16:02 +0100
We've been seeing the following type of crash regularly:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000156548a00
Thread 2 Crashed:: Dispatch queue: NSOperationQueue 0x60000003cd40 :: NSOperation 0x61000044b250 (QOS: USER_INITIATED)
0 dyld 0x00007fff6dfdfba2 ImageLoaderMachOCompressed::trieWalk(unsigned char const*, unsigned char const*, char const*) + 18
1 dyld 0x00007fff6dfdfd82 ImageLoaderMachOCompressed::findExportedSymbol(char const*, ImageLoader const**) const + 82
2 dyld 0x00007fff6dfda16b ImageLoaderMachO::findExportedSymbol(char const*, bool, ImageLoader const**) const + 39
3 dyld 0x00007fff6dfcc32e dyld::findExportedSymbol(char const*, bool, ImageLoader::Symbol const**, ImageLoader const**) + 184
4 dyld 0x00007fff6dfdd0b4 ImageLoaderMachOClassic::resolveUndefined(ImageLoader::LinkContext const&, macho_nlist const*, bool, bool, ImageLoader const**) + 104
5 dyld 0x00007fff6dfdd942 ImageLoaderMachOClassic::doBindLazySymbol(unsigned long*, ImageLoader::LinkContext const&) + 280
6 dyld 0x00007fff6dfcc12e dyld::bindLazySymbol(mach_header const*, unsigned long*) + 44
7 dyld 0x00007fff6dfdbb8a stub_binding_helper + 118
There are slight variations in the stack trace, but 'findExportedSymbol' always is involved. This crash seems to happen when one of our frameworks needs to do an operation on a C++ container, such as std::vector or std::deque. It's not repeatable.
At the moment we're not sure how to categorize this problem. It is trigged from various places in the source code, and also happens on all versions of OS X we support (7, 8, 9, 10).
An internet search didn't bring up much useful information, perhaps anyone on this list knows if it's perhaps linker (flag) related, or a c++ header / lib issue?
Thanks,
patrick
--
Patrick Machielse
Hieper Software
http://www.hieper.nl
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden