Skip to content

Instantly share code, notes, and snippets.

@praeclarum
Created February 7, 2015 07:39
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/8cc6e666a90944c59e7c to your computer and use it in GitHub Desktop.
Save praeclarum/8cc6e666a90944c59e7c to your computer and use it in GitHub Desktop.
Backtrace of crash
muon:coreclr-osx fak$ ls -al
total 51776
drwxr-xr-x 9 fak staff 306 Feb 6 23:13 .
drwx------ 7 fak staff 238 Feb 6 22:36 ..
-rw-r--r--@ 1 fak staff 6148 Feb 6 23:13 .DS_Store
-rwxr-xr-x 1 fak staff 49820 Feb 6 22:31 corerun
-rw-r--r-- 1 fak staff 194 Feb 6 22:50 helloworld.cs
-rwxr-xr-x 1 fak staff 3072 Feb 6 22:50 helloworld.exe
-rwxr-xr-x 1 fak staff 23490408 Feb 6 23:05 libcoreclr.dylib
-rwxr-xr-x 1 fak staff 4176 Feb 6 23:05 libmscordaccore.dylib
-rw-r--r--@ 1 fak staff 2937856 Feb 6 23:13 mscorlib.dll
muon:coreclr-osx fak$ lldb corerun helloworld.exe
(lldb) target create "corerun"
Current executable set to 'corerun' (x86_64).
(lldb) settings set -- target.run-args "helloworld.exe"
(lldb) go
error: 'go' is not a valid command.
(lldb) run
Process 37357 launched: '/Users/fak/Applications/coreclr-osx/corerun' (x86_64)
Assert failure (unable to format)
/Users/fak/Projects/coreclr/src/vm/stackwalktypes.h
SPOffset >= pUnwindInfo->RSPOffsetFromUnwindInfo
**** MessageBox invoked, title 'Assert failure (unable to format)' ****
SPOffset >= pUnwindInfo->RSPOffsetFromUnwindInfo
********
Assert failure (unable to format)
/Users/fak/Projects/coreclr/src/vm/stackwalktypes.h
FitsIn<DWORD>(pUnwindInfo->RBPOffset + (SPOffset - pUnwindInfo->RSPOffsetFromUnwindInfo))
**** MessageBox invoked, title 'Assert failure (unable to format)' ****
FitsIn<DWORD>(pUnwindInfo->RBPOffset + (SPOffset - pUnwindInfo->RSPOffsetFromUnwindInfo))
********
Process 37357 stopped
* thread #1: tid = 0x1f1e45, 0x0000000101e623fa libcoreclr.dylib`NDirectImportThunk_End at unixasmhelpers.S:890, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
frame #0: 0x0000000101e623fa libcoreclr.dylib`NDirectImportThunk_End at unixasmhelpers.S:890
(lldb) bt
* thread #1: tid = 0x1f1e45, 0x0000000101e623fa libcoreclr.dylib`NDirectImportThunk_End at unixasmhelpers.S:890, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
* frame #0: 0x0000000101e623fa libcoreclr.dylib`NDirectImportThunk_End at unixasmhelpers.S:890
frame #1: 0x0000000101c02f1d libcoreclr.dylib`atomicMoveCacheEntry(src=0x00007fff5fbfac38, target=0x00000001024c85f0) + 45 at stackwalk.cpp:3207
frame #2: 0x0000000101c02c8b libcoreclr.dylib`StackwalkCache::Insert(this=0x00007fff5fbfb030, pCacheEntry=0x00007fff5fbfac38) + 251 at stackwalk.cpp:3332
frame #3: 0x0000000101c01c8d libcoreclr.dylib`StackFrameIterator::NextRaw(this=0x00007fff5fbfada0) + 2493 at stackwalk.cpp:2436
frame #4: 0x0000000101bfec3f libcoreclr.dylib`StackFrameIterator::Next(this=0x00007fff5fbfada0) + 143 at stackwalk.cpp:1605
frame #5: 0x0000000101bfe665 libcoreclr.dylib`Thread::StackWalkFramesEx(this=0x000000010302a618, pRD=0x00007fff5fbfb180, pCallback=0x00000001018d2f70, pData=0x00007fff5fbfc290, flags=33, pStartFrame=0x0000000000000000)(CrawlFrame*, void*), void*, unsigned int, Frame*) + 501 at stackwalk.cpp:958
frame #6: 0x0000000101bff051 libcoreclr.dylib`Thread::StackWalkFrames(this=0x000000010302a618, pCallback=0x00000001018d2f70, pData=0x00007fff5fbfc290, flags=33, pStartFrame=0x0000000000000000)(CrawlFrame*, void*), void*, unsigned int, Frame*) + 897 at stackwalk.cpp:1035
frame #7: 0x00000001018d3443 libcoreclr.dylib`SystemDomain::GetCallersModule(stackMark=0x00007fff5fbfc480, ppAppDomain=0x0000000000000000) + 99 at appdomain.cpp:4248
frame #8: 0x00000001018d350d libcoreclr.dylib`SystemDomain::GetCallersAssembly(stackMark=0x00007fff5fbfc480, ppAppDomain=0x0000000000000000) + 29 at appdomain.cpp:4269
frame #9: 0x0000000101c9599a libcoreclr.dylib`AssemblyNative::GetExecutingAssembly(stackMark=StackCrawlMarkHandle at 0x00007fff5fbfc3e8, retAssembly=ObjectHandleOnStack at 0x00007fff5fbfc3e0) + 106 at assemblynative.cpp:2137
frame #10: 0x000000011b8e2fe8
frame #11: 0x000000011b8e2f2a
(lldb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment