[llvm-dev] LLVM crash on iOS simulator
Ramakrishna Mallireddy via llvm-dev
llvm-dev at lists.llvm.org
Fri Mar 11 11:55:56 PST 2016
Hi,
I have build swift-clang, swift-llvm, swift for iOS.
I created a new iOS sample single-view app and added these libraries.
Created a single wrapper method around swift front-end and when run the app
it crash before it reach appdelegate.
I have no clue what going on here, I don't see *libLLVMContainer *anywhere
in llvm libraries list. Even after removing LLVM Pass Manager from the
libraries list, nothing changes. I build llvm with thread disabled. After
getting this crash I build llvm again with pthread and stuff disabled but
nothing changed.
any input on what going wrong here.
Here is crash log:
*(lldb) **bt all*
* thread #1: tid = 0x28190, 0x079acddb
libsystem_pthread.dylib`_pthread_rwlock_check_init + 11, queue =
'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
* frame #0: 0x079acddb libsystem_pthread.dylib`_pthread_rwlock_check_init
+ 11
frame #1: 0x079acaf0 libsystem_pthread.dylib`_pthread_rwlock_lock + 25
frame #2: 0x079b1fcc
libsystem_pthread.dylib`pthread_rwlock_wrlock$UNIX2003 + 23
frame #3: 0x0d4f0f13
libLLVMContainer.dylib`llvm::sys::RWMutexImpl::writer_acquire() + 19
frame #4: 0x0d44bb12
libLLVMContainer.dylib`llvm::PassRegistry::addRegistrationListener(llvm::PassRegistrationListener*)
+ 34
frame #5: 0x0d44767e
libLLVMContainer.dylib`llvm::PassNameParser::PassNameParser() + 78
frame #6: 0x0d43ead3
libLLVMContainer.dylib`_GLOBAL__sub_I_LegacyPassManager.cpp + 1299
frame #7: 0x017ef20f
frame #8: 0x017ef368
frame #9: 0x017eaa01
frame #10: 0x017ea994
frame #11: 0x017ea994
frame #12: 0x017ea994
frame #13: 0x017ea994
frame #14: 0x017ea994
frame #15: 0x017ea994
frame #16: 0x017ea994
frame #17: 0x017ea994
frame #18: 0x017e9d54
frame #19: 0x017e9de3
frame #20: 0x017dfc50
frame #21: 0x017e32c7
frame #22: 0x017df1f9
frame #23: 0x8fe62118 dyld`dyld::useSimulatorDyld(int, macho_header
const*, char const*, int, char const**, char const**, char const**,
unsigned long*) + 1053
frame #24: 0x8fe611f2 dyld`dyld::_main(macho_header const*, unsigned
long, int, char const**, char const**, char const**, unsigned long*) + 202
frame #25: 0x8fe5d232 dyld`dyldbootstrap::start(macho_header const*,
int, char const**, long, macho_header const*, unsigned long*) + 428
frame #26: 0x8fe5d047 dyld`_dyld_start + 71
Thanks
Ramakrishna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160312/5a6ac1c6/attachment-0001.html>
More information about the llvm-dev
mailing list