{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/16526","repository_url":"https://api.github.com/repos/dotnet/coreclr","labels_url":"https://api.github.com/repos/dotnet/coreclr/issues/16526/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/coreclr/issues/16526/comments","events_url":"https://api.github.com/repos/dotnet/coreclr/issues/16526/events","html_url":"https://github.com/dotnet/coreclr/issues/16526","id":299697147,"number":16526,"title":"\"Failed to start stack walk: 8000ffff\" error from ClrStack when reading a core dump file","user":{"login":"loop-evgeny","id":34301024,"avatar_url":"https://avatars0.githubusercontent.com/u/34301024?v=4","gravatar_id":"","url":"https://api.github.com/users/loop-evgeny","html_url":"https://github.com/loop-evgeny","followers_url":"https://api.github.com/users/loop-evgeny/followers","following_url":"https://api.github.com/users/loop-evgeny/following{/other_user}","gists_url":"https://api.github.com/users/loop-evgeny/gists{/gist_id}","starred_url":"https://api.github.com/users/loop-evgeny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loop-evgeny/subscriptions","organizations_url":"https://api.github.com/users/loop-evgeny/orgs","repos_url":"https://api.github.com/users/loop-evgeny/repos","events_url":"https://api.github.com/users/loop-evgeny/events{/privacy}","received_events_url":"https://api.github.com/users/loop-evgeny/received_events","type":"User","site_admin":false},"labels":[{"id":196940783,"url":"https://api.github.com/repos/dotnet/coreclr/labels/area-Diagnostics","name":"area-Diagnostics","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"mikem8361","id":10454379,"avatar_url":"https://avatars0.githubusercontent.com/u/10454379?v=4","gravatar_id":"","url":"https://api.github.com/users/mikem8361","html_url":"https://github.com/mikem8361","followers_url":"https://api.github.com/users/mikem8361/followers","following_url":"https://api.github.com/users/mikem8361/following{/other_user}","gists_url":"https://api.github.com/users/mikem8361/gists{/gist_id}","starred_url":"https://api.github.com/users/mikem8361/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikem8361/subscriptions","organizations_url":"https://api.github.com/users/mikem8361/orgs","repos_url":"https://api.github.com/users/mikem8361/repos","events_url":"https://api.github.com/users/mikem8361/events{/privacy}","received_events_url":"https://api.github.com/users/mikem8361/received_events","type":"User","site_admin":false},"assignees":[{"login":"mikem8361","id":10454379,"avatar_url":"https://avatars0.githubusercontent.com/u/10454379?v=4","gravatar_id":"","url":"https://api.github.com/users/mikem8361","html_url":"https://github.com/mikem8361","followers_url":"https://api.github.com/users/mikem8361/followers","following_url":"https://api.github.com/users/mikem8361/following{/other_user}","gists_url":"https://api.github.com/users/mikem8361/gists{/gist_id}","starred_url":"https://api.github.com/users/mikem8361/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikem8361/subscriptions","organizations_url":"https://api.github.com/users/mikem8361/orgs","repos_url":"https://api.github.com/users/mikem8361/repos","events_url":"https://api.github.com/users/mikem8361/events{/privacy}","received_events_url":"https://api.github.com/users/mikem8361/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dotnet/coreclr/milestones/10","html_url":"https://github.com/dotnet/coreclr/milestone/10","labels_url":"https://api.github.com/repos/dotnet/coreclr/milestones/10/labels","id":2344332,"number":10,"title":"2.1.0","description":".NET Core 2.1, next major release. See [official release dates](https://github.com/dotnet/core/blob/master/roadmap.md) for details.","creator":{"login":"karelz","id":5776068,"avatar_url":"https://avatars2.githubusercontent.com/u/5776068?v=4","gravatar_id":"","url":"https://api.github.com/users/karelz","html_url":"https://github.com/karelz","followers_url":"https://api.github.com/users/karelz/followers","following_url":"https://api.github.com/users/karelz/following{/other_user}","gists_url":"https://api.github.com/users/karelz/gists{/gist_id}","starred_url":"https://api.github.com/users/karelz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karelz/subscriptions","organizations_url":"https://api.github.com/users/karelz/orgs","repos_url":"https://api.github.com/users/karelz/repos","events_url":"https://api.github.com/users/karelz/events{/privacy}","received_events_url":"https://api.github.com/users/karelz/received_events","type":"User","site_admin":false},"open_issues":160,"closed_issues":1430,"state":"open","created_at":"2017-02-23T20:40:02Z","updated_at":"2018-02-28T02:53:55Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2018-02-23T12:33:29Z","updated_at":"2018-02-28T10:51:30Z","closed_at":null,"author_association":"NONE","body":"I created a dump of a .NET Core process on Linux, but cannot get any stack traces from the dump. ClrStack and EEStack both work when attached to the live process, just not when reading the dump. This happens both with the default \"minidump with heap\" and with a full dump.\r\n\r\nRunning .NET Core 2.0.5 on Ubuntu 16.04 (x64), kernel 4.4.0-1052.\r\n\r\n```\r\nsudo lldb-3.6 -o \"plugin load /opt/dotnet/shared/Microsoft.NETCore.App/2.0.5/libsosplugin.so\" -o \"setclrpath /opt/dotnet/shared/Microsoft.NETCore.App/2.0.5\" -p 1660```\r\n(lldb) createdump -d -f core.%d.full\r\n```\r\n(clrstack and eestack work here)\r\n\r\nThen:\r\n```\r\nsudo lldb-3.6 -o \"plugin load /opt/dotnet/shared/Microsoft.NETCore.App/2.0.5/libsosplugin.so\" -o \"setclrpath /opt/dotnet/shared/Microsoft.NETCore.App/2.0.5\" -core core.1660.full /opt/dotnet/dotnet\r\n\r\n(lldb) clrstack\r\nOS Thread Id: 0x0 (1)\r\nFailed to start stack walk: 8000ffff\r\n\r\n(lldb) thread select 21\r\n* thread #21: tid = 20, 0x00007f29b912c709 libpthread.so.0`__pthread_cond_timedwait + 297, stop reason = signal SIGABRT\r\n    frame #0: 0x00007f29b912c709 libpthread.so.0`__pthread_cond_timedwait + 297\r\n-> 0x7f29b912c709 <__pthread_cond_timedwait+297>: movq   %rax, %r14\r\n   0x7f29b912c70c <__pthread_cond_timedwait+300>: movl   (%rsp), %edi\r\n   0x7f29b912c70f <__pthread_cond_timedwait+303>: callq  0x7f29b912f1c0            ; __pthread_disable_asynccancel\r\n   0x7f29b912c714 <__pthread_cond_timedwait+308>: movq   0x8(%rsp), %rdi\r\n(lldb) clrstack\r\nOS Thread Id: 0x14 (21)\r\nUnable to walk the managed stack. The current thread is likely not a\r\nmanaged thread. You can run !threads to get a list of managed threads in\r\nthe process\r\nFailed to start stack walk: 80070057\r\n\r\n(lldb) eestack -EE\r\n---------------------------------------------\r\nThread   1\r\nTEB information is not available so a stack size of 0xFFFF is assumed\r\nCurrent frame:\r\nChild-SP         RetAddr          Caller, Callee\r\n---------------------------------------------\r\nThread   1\r\nTEB information is not available so a stack size of 0xFFFF is assumed\r\nCurrent frame:\r\nChild-SP         RetAddr          Caller, Callee\r\n---------------------------------------------\r\nThread   1\r\nTEB information is not available so a stack size of 0xFFFF is assumed\r\nCurrent frame:\r\nChild-SP         RetAddr          Caller, Callee\r\n---------------------------------------------\r\nThread   1\r\nTEB information is not available so a stack size of 0xFFFF is assumed\r\nCurrent frame:\r\nChild-SP         RetAddr          Caller, Callee\r\n```\r\n\r\nThreads 1 and 21 are both managed threads and ClrStack works on them in the live session. eestack without -EE does show some native frames: [eestack.txt](https://github.com/dotnet/coreclr/files/1751643/eestack.txt). `thread backtrace all` also works, so I think the dump itself is good.\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/comments/369202352","html_url":"https://github.com/dotnet/coreclr/issues/16526#issuecomment-369202352","issue_url":"https://api.github.com/repos/dotnet/coreclr/issues/16526","id":369202352,"user":{"login":"loop-evgeny","id":34301024,"avatar_url":"https://avatars0.githubusercontent.com/u/34301024?v=4","gravatar_id":"","url":"https://api.github.com/users/loop-evgeny","html_url":"https://github.com/loop-evgeny","followers_url":"https://api.github.com/users/loop-evgeny/followers","following_url":"https://api.github.com/users/loop-evgeny/following{/other_user}","gists_url":"https://api.github.com/users/loop-evgeny/gists{/gist_id}","starred_url":"https://api.github.com/users/loop-evgeny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loop-evgeny/subscriptions","organizations_url":"https://api.github.com/users/loop-evgeny/orgs","repos_url":"https://api.github.com/users/loop-evgeny/repos","events_url":"https://api.github.com/users/loop-evgeny/events{/privacy}","received_events_url":"https://api.github.com/users/loop-evgeny/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T10:51:30Z","updated_at":"2018-02-28T10:51:30Z","author_association":"NONE","body":"OK, and I should copy just the .pdb files to dotnet/shared/Microsoft.NETCore.App/2.0.5/ ? There are DLLs there, too - are they supposed to be the same as what's in the .NET Core 2.0.5 runtime package? What about the .map files?"}}
{"actor":{"display_login":"loop-evgeny"}}