{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/12421","repository_url":"https://api.github.com/repos/dotnet/coreclr","labels_url":"https://api.github.com/repos/dotnet/coreclr/issues/12421/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/coreclr/issues/12421/comments","events_url":"https://api.github.com/repos/dotnet/coreclr/issues/12421/events","html_url":"https://github.com/dotnet/coreclr/issues/12421","id":237891191,"number":12421,"title":"[ARM] Intermittent segfaults in JIT/Methodical/cctor/misc/threads1_cs_r","user":{"login":"mskvortsov","id":22658974,"avatar_url":"https://avatars3.githubusercontent.com/u/22658974?v=3","gravatar_id":"","url":"https://api.github.com/users/mskvortsov","html_url":"https://github.com/mskvortsov","followers_url":"https://api.github.com/users/mskvortsov/followers","following_url":"https://api.github.com/users/mskvortsov/following{/other_user}","gists_url":"https://api.github.com/users/mskvortsov/gists{/gist_id}","starred_url":"https://api.github.com/users/mskvortsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mskvortsov/subscriptions","organizations_url":"https://api.github.com/users/mskvortsov/orgs","repos_url":"https://api.github.com/users/mskvortsov/repos","events_url":"https://api.github.com/users/mskvortsov/events{/privacy}","received_events_url":"https://api.github.com/users/mskvortsov/received_events","type":"User","site_admin":false},"labels":[{"id":330967157,"url":"https://api.github.com/repos/dotnet/coreclr/labels/arch-arm32","name":"arch-arm32","color":"eb6420","default":false},{"id":172143003,"url":"https://api.github.com/repos/dotnet/coreclr/labels/bug","name":"bug","color":"1d76db","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-06-22T15:49:21Z","updated_at":"2017-06-28T18:07:41Z","closed_at":null,"body":"One of the possible stack traces that gdb shows after loading a core dump:\r\n```\r\n$ gdb clr-debug/corerun core\r\nReading symbols from clr-debug/corerun...done.\r\n[New LWP 22222]\r\n[New LWP 22214]\r\n[New LWP 22216]\r\n[New LWP 22218]\r\n[New LWP 22220]\r\n[New LWP 22215]\r\n[New LWP 22219]\r\n[New LWP 22223]\r\n[New LWP 22221]\r\n[New LWP 22217]\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/arm-linux-gnueabihf/libthread_db.so.1\".\r\nCore was generated by `clr-debug/corerun tests-release/JIT/Methodical/cctor/misc/threads1_cs_r/threads'.\r\nProgram terminated with signal SIGSEGV, Segmentation fault.\r\n#0  0x00000000 in ?? ()\r\n[Current thread is 1 (Thread 0xadbff450 (LWP 22222))]\r\n(gdb) bt\r\n#0  0x00000000 in ?? ()\r\n#1  0xb650a34c in DomainLocalModule::GetPrecomputedNonGCStaticsBasePointer (this=0xb1c2a594) at /home/mskvortsov/git/coreclr/src/vm/appdomain.hpp:234\r\n#2  0xb648c48c in CallDescrWorker (pCallDescrData=0xadbfe4c0) at /home/mskvortsov/git/coreclr/src/vm/callhelpers.cpp:135\r\n#3  0xb648c32e in CallDescrWorkerWithHandler (pCallDescrData=0xadbfe4c0, fCriticalCall=0) at /home/mskvortsov/git/coreclr/src/vm/callhelpers.cpp:78\r\n#4  0xb648d374 in MethodDescCallSite::CallTargetWorker (this=0xadbfe62c, pArguments=0xadbfe6a0, pReturnValue=0x0, cbReturnValue=0) at /home/mskvortsov/git/coreclr/src/vm/callhelpers.cpp:645\r\n#5  0xb637b4ee in MethodDescCallSite::Call (this=0xadbfe62c, pArguments=0xadbfe6a0) at /home/mskvortsov/git/coreclr/src/vm/callhelpers.h:433\r\n#6  0xb649a438 in ThreadNative::KickOffThread_Worker (ptr=0xadbfeab8) at /home/mskvortsov/git/coreclr/src/vm/comsynchronizable.cpp:257\r\n#7  0xb644b07c in ManagedThreadBase_DispatchInner (pCallState=0xadbfe93c) at /home/mskvortsov/git/coreclr/src/vm/threads.cpp:9187\r\n#8  0xb644e8a8 in ManagedThreadBase_DispatchMiddle (pCallState=0xadbfe93c) at /home/mskvortsov/git/coreclr/src/vm/threads.cpp:9238\r\n#9  0xb644e760 in ManagedThreadBase_DispatchOuter(ManagedThreadCallState*)::$_6::operator()(ManagedThreadBase_DispatchOuter(ManagedThreadCallState*)::TryArgs*) const::{lambda(Param*)#1}::operator()(Param*) const (this=0xadbfe884, pParam=0xadbfe8e8) at /home/mskvortsov/git/coreclr/src/vm/threads.cpp:9476\r\n#10 0xb644e620 in ManagedThreadBase_DispatchOuter(ManagedThreadCallState*)::$_6::operator()(ManagedThreadBase_DispatchOuter(ManagedThreadCallState*)::TryArgs*) const (this=0xadbfe8d0, pArgs=0xadbfe8d8) at /home/mskvortsov/git/coreclr/src/vm/threads.cpp:9478\r\n#11 0xb644adb0 in ManagedThreadBase_DispatchOuter (pCallState=0xadbfe93c) at /home/mskvortsov/git/coreclr/src/vm/threads.cpp:9515\r\n#12 0xb644aee6 in ManagedThreadBase_FullTransitionWithAD (pAppDomain=..., pTarget=0xb649a231 <ThreadNative::KickOffThread_Worker(void*)>, args=0xadbfeab8, filterType=ManagedThread) at /home/mskvortsov/git/coreclr/src/vm/threads.cpp:9536\r\n#13 0xb644ae6e in ManagedThreadBase::KickOff (pAppDomain=..., pTarget=0xb649a231 <ThreadNative::KickOffThread_Worker(void*)>, args=0xadbfeab8) at /home/mskvortsov/git/coreclr/src/vm/threads.cpp:9571\r\n#14 0xb649a998 in ThreadNative::KickOffThread (pass=0x1063f0) at /home/mskvortsov/git/coreclr/src/vm/comsynchronizable.cpp:376\r\n#15 0xb6441e1c in Thread::intermediateThreadProc (arg=0xd4ec0) at /home/mskvortsov/git/coreclr/src/vm/threads.cpp:2584\r\n#16 0xb69a2f02 in CorUnix::CPalThread::ThreadEntry (pvParam=0x10c048) at /home/mskvortsov/git/coreclr/src/pal/src/thread/thread.cpp:1749\r\n#17 0xb6f295b4 in start_thread (arg=0x0) at pthread_create.c:335\r\n#18 0xb6d1caac in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:89 from /lib/arm-linux-gnueabihf/libc.so.6\r\nBacktrace stopped: previous frame identical to this frame (corrupt stack?)\r\n```"},"comment":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/comments/311741355","html_url":"https://github.com/dotnet/coreclr/issues/12421#issuecomment-311741355","issue_url":"https://api.github.com/repos/dotnet/coreclr/issues/12421","id":311741355,"user":{"login":"alpencolt","id":693394,"avatar_url":"https://avatars2.githubusercontent.com/u/693394?v=3","gravatar_id":"","url":"https://api.github.com/users/alpencolt","html_url":"https://github.com/alpencolt","followers_url":"https://api.github.com/users/alpencolt/followers","following_url":"https://api.github.com/users/alpencolt/following{/other_user}","gists_url":"https://api.github.com/users/alpencolt/gists{/gist_id}","starred_url":"https://api.github.com/users/alpencolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alpencolt/subscriptions","organizations_url":"https://api.github.com/users/alpencolt/orgs","repos_url":"https://api.github.com/users/alpencolt/repos","events_url":"https://api.github.com/users/alpencolt/events{/privacy}","received_events_url":"https://api.github.com/users/alpencolt/received_events","type":"User","site_admin":false},"created_at":"2017-06-28T18:07:41Z","updated_at":"2017-06-28T18:07:41Z","body":"We use Exynos 5422 which has 4 A7 and 4 A15 cores. The funniest thing is that when I run dotnet only on one type of core (e.g only on A7 or A15) by using `taskset` bug cannot be reproduced. But if I use mixed mode (like `taskset -c 2-5 corerun ...`) crash occurs."}}
{"actor":{"display_login":"alpencolt"}}