Skip to content

Instantly share code, notes, and snippets.

@praeclarum
Created February 7, 2015 07:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save praeclarum/7c7b914e1bb5c5ea599b to your computer and use it in GitHub Desktop.
Save praeclarum/7c7b914e1bb5c5ea599b to your computer and use it in GitHub Desktop.
Crash #4
muon:coreclr-osx fak$ ./corerun h.exe
libc++abi.dylib: terminating with uncaught exception of type std::out_of_range: basic_string
Abort trap: 6
muon:coreclr-osx fak$ lldb ./corerun h.exe
(lldb) target create "./corerun"
Current executable set to './corerun' (x86_64).
(lldb) settings set -- target.run-args "h.exe"
(lldb) run
Process 37845 launched: './corerun' (x86_64)
libc++abi.dylib: terminating with uncaught exception of type std::out_of_range: basic_string
Process 37845 stopped
* thread #1: tid = 0x1f6e89, 0x00007fff833d2286 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x00007fff833d2286 libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill + 10:
-> 0x7fff833d2286: jae 0x7fff833d2290 ; __pthread_kill + 20
0x7fff833d2288: movq %rax, %rdi
0x7fff833d228b: jmp 0x7fff833cdc53 ; cerror_nocancel
0x7fff833d2290: retq
(lldb) bt
* thread #1: tid = 0x1f6e89, 0x00007fff833d2286 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
* frame #0: 0x00007fff833d2286 libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x00007fff8b6e742f libsystem_pthread.dylib`pthread_kill + 90
frame #2: 0x00007fff89528b53 libsystem_c.dylib`abort + 129
frame #3: 0x00007fff8d040a21 libc++abi.dylib`abort_message + 257
frame #4: 0x00007fff8d0689b9 libc++abi.dylib`default_terminate_handler() + 243
frame #5: 0x00007fff8e0727eb libobjc.A.dylib`_objc_terminate() + 124
frame #6: 0x00007fff8d0660a1 libc++abi.dylib`std::__terminate(void (*)()) + 8
frame #7: 0x00007fff8d065b30 libc++abi.dylib`__cxa_throw + 121
frame #8: 0x00007fff865aadc1 libc++.1.dylib`std::__1::__basic_string_common<true>::__throw_out_of_range() const + 71
frame #9: 0x00007fff865ad58a libc++.1.dylib`std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare(unsigned long, unsigned long, char const*, unsigned long) const + 116
frame #10: 0x0000000100002539 corerun`AddFilesFromDirectoryToTpaList(directory=0x0000000100104ac0, tpaList=0x00007fff5fbff1e8) + 809 at corerun.cpp:198
frame #11: 0x0000000100003123 corerun`ExecuteManagedAssembly(currentExeAbsolutePath=0x00007fff5fbffc28, clrFilesAbsolutePath=0x0000000100104ac0, managedAssemblyAbsolutePath=0x0000000100104af0, managedAssemblyArgc=0, managedAssemblyArgv=0x0000000000000000) + 1155 at corerun.cpp:267
frame #12: 0x0000000100004340 corerun`main(argc=2, argv=0x00007fff5fbffb10) + 1968 at corerun.cpp:406
frame #13: 0x00007fff83c375c9 libdyld.dylib`start + 1
(lldb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment