GithubHelp home page GithubHelp logo

myungjoo / coreclr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dotnet/coreclr

0.0 0.0 0.0 93.41 MB

This repo contains the .NET Core runtime, called CoreCLR, and the base library, called mscorlib. It includes the garbage collector, JIT compiler, base .NET data types and many low-level classes.

Home Page: http://dotnet.github.io/

License: MIT License

CMake 0.27% Batchfile 0.04% Shell 0.05% Awk 0.01% Groovy 0.06% PowerShell 0.01% C++ 31.60% C 2.93% C# 63.42% Perl 0.01% Assembly 0.44% Yacc 0.07% HTML 0.01% Objective-C 0.11% Makefile 0.01% Python 0.05% Groff 0.24% Smalltalk 0.69% SuperCollider 0.01% Pawn 0.01%

coreclr's Introduction

Hi there ๐Ÿ‘‹

myungjoo's github stats

coreclr's People

Contributors

adityamandaleeka avatar alexghiondea avatar andyayersms avatar briansull avatar bruceforstall avatar caroleidt avatar djuffin avatar dotnet-bot avatar ellismg avatar gkhanna79 avatar janvorli avatar jkotas avatar kangaroo avatar kouvel avatar krytarowski avatar kyulee1 avatar llitchev avatar mikem8361 avatar mmitche avatar pgavlin avatar ramarag avatar richlander avatar russkeldorph avatar sejongoh avatar sergiy-k avatar sivarv avatar stephentoub avatar swgillespie avatar willtg avatar wtgodbe avatar

Watchers

 avatar  avatar

coreclr's Issues

Stack-LR Overwritten Case / xunit

Starting program: /sdcard/hf/tests/Linux.AnyCPU.Debug/System.Collections.Tests/dnxcore50/corerun ./xunit.console.netcore.exe System.Collections.Tests.dll -notrait Benchmark=true -notrait category=failing -notrait category=nonlinux -notrait category=outerloop
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0xb6154450 (LWP 26817)]
[New Thread 0xb58f4450 (LWP 26818)]
[New Thread 0xb4eff450 (LWP 26819)]
[New Thread 0xb24ff450 (LWP 26820)]
xUnit.net console test runner (32-bit .NET Core)
Copyright (C) 2014 Outercurve Foundation.

[New Thread 0xafcd2450 (LWP 26822)]

Breakpoint 2, DispatchManagedException (ex=...)
    at /usr/src/debug/coreclr-0.0.1/src/vm/exceptionhandling.cpp:4656
4656        do
(gdb) n
4662                RtlCaptureContext(&frameContext);
(gdb) n
4663                UINT_PTR currentSP = GetSP(&frameContext);
(gdb) n
4665                if (Thread::VirtualUnwindToFirstManagedCallFrame(&frameContext) == 0)
(gdb) s
Thread::VirtualUnwindToFirstManagedCallFrame (pContext=0xbeffeb40)
    at /usr/src/debug/coreclr-0.0.1/src/vm/stackwalk.cpp:763
763 {
(gdb) n
772     PCODE uControlPc = GetIP(pContext);
(gdb) bt
#0  Thread::VirtualUnwindToFirstManagedCallFrame (pContext=0xbeffe5a0)
    at /usr/src/debug/coreclr-0.0.1/src/vm/stackwalk.cpp:772
#1  0xb64f7e50 in DispatchManagedException (ex=...)
    at /usr/src/debug/coreclr-0.0.1/src/vm/exceptionhandling.cpp:4665
#2  0xb66e80c0 in PreStubWorker (pTransitionBlock=0xbeffeb04, pMD=0xb19006e4)
    at /usr/src/debug/coreclr-0.0.1/src/vm/prestub.cpp:1044
#3  0xb650a92c in ThePreStub () at asmhelpers.S:799
#4  0xb19c9000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) n   
776     while (!ExecutionManager::IsManagedCode(uControlPc))
(gdb) p/x uControlPc
$28 = 0xb64f7e3b
(gdb) n
781         BOOL success = PAL_VirtualUnwind(pContext, NULL);
(gdb) n
782         if (!success)
(gdb) n
788         uControlPc = GetIP(pContext);
(gdb) n
790         if (uControlPc == 0)
(gdb) p/x uControlPc
$29 = 0xb66e80c0
(gdb) n
776     while (!ExecutionManager::IsManagedCode(uControlPc))
(gdb) n
781         BOOL success = PAL_VirtualUnwind(pContext, NULL);
(gdb) n
782         if (!success)
(gdb) n
788         uControlPc = GetIP(pContext);
(gdb) n
790         if (uControlPc == 0)
(gdb) p/x uControlPc
$30 = 0xb650a92c
(gdb) n
776     while (!ExecutionManager::IsManagedCode(uControlPc))
(gdb) n
781         BOOL success = PAL_VirtualUnwind(pContext, NULL);
(gdb) n
782         if (!success)
(gdb) n
788         uControlPc = GetIP(pContext);
(gdb) n
790         if (uControlPc == 0)
(gdb) p/c uControlPc
$31 = 0 '\000'
(gdb) p/x uControlPc
$32 = 0xb19c9000
(gdb) n
776     while (!ExecutionManager::IsManagedCode(uControlPc))
(gdb) s
ExecutionManager::IsManagedCode (currentPC=3204441504)
    at /usr/src/debug/coreclr-0.0.1/src/vm/codeman.cpp:4134
4134    {
(gdb) n
4141        if (currentPC == NULL)
(gdb) n
4144        if (GetScanFlags() == ScanReaderLock) 
(gdb) p/x ScanReaderLock
$33 = 0x0
(gdb) p/x GetScanFlags()
$34 = 0x1
(gdb) n
4147        return IsManagedCodeWorker(currentPC);
(gdb) s
ExecutionManager::IsManagedCodeWorker (currentPC=2979827712)
    at /usr/src/debug/coreclr-0.0.1/src/vm/codeman.cpp:4197
4197    {
(gdb) n
4208        RangeSection * pRS = GetRangeSection(currentPC);
(gdb) p/x currentPC
$35 = 0xb19c9000
(gdb) bt
#0  ExecutionManager::IsManagedCodeWorker (currentPC=2979827712)
    at /usr/src/debug/coreclr-0.0.1/src/vm/codeman.cpp:4208
#1  0xb657d554 in ExecutionManager::IsManagedCode (currentPC=2979827712)
    at /usr/src/debug/coreclr-0.0.1/src/vm/codeman.cpp:4147
#2  0xb63745b6 in Thread::VirtualUnwindToFirstManagedCallFrame (
    pContext=0xbeffe5a0)
    at /usr/src/debug/coreclr-0.0.1/src/vm/stackwalk.cpp:776
#3  0xb64f7e50 in DispatchManagedException (ex=...)
    at /usr/src/debug/coreclr-0.0.1/src/vm/exceptionhandling.cpp:4665
#4  0xb66e80c0 in PreStubWorker (pTransitionBlock=0xbeffeb04, pMD=0xb19006e4)
    at /usr/src/debug/coreclr-0.0.1/src/vm/prestub.cpp:1044
#5  0xb650a92c in ThePreStub () at asmhelpers.S:799
#6  0xb19c9000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) n
4209        if (pRS == NULL)
(gdb) p/x *pRS
Cannot access memory at address 0x0
(gdb) n
4210            return FALSE;
(gdb) c
Continuing.
Gstep last return: 0 ==> 0
Gstep last return: 0 ==> 0

Breakpoint 1, PAL_VirtualUnwind (context=0xbeffe5a0, contextPointers=0x0)
    at /usr/src/debug/coreclr-0.0.1/src/pal/src/exception/seh-unwind.cpp:301
301         CONTEXTSetPC(context, 0);
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /sdcard/hf/tests/Linux.AnyCPU.Debug/System.Collections.Tests/dnxcore50/corerun ./xunit.console.netcore.exe System.Collections.Tests.dll -notrait Benchmark=true -notrait category=failing -notrait category=nonlinux -notrait category=outerloop
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0xb6154450 (LWP 26840)]
[New Thread 0xb58f4450 (LWP 26841)]
[New Thread 0xb4eff450 (LWP 26842)]
[New Thread 0xb24fe450 (LWP 26843)]
xUnit.net console test runner (32-bit .NET Core)
Copyright (C) 2014 Outercurve Foundation.

[New Thread 0xafd00450 (LWP 26846)]

Breakpoint 2, DispatchManagedException (ex=...)
    at /usr/src/debug/coreclr-0.0.1/src/vm/exceptionhandling.cpp:4656
4656        do
(gdb) n
4662                RtlCaptureContext(&frameContext);
(gdb) n
4663                UINT_PTR currentSP = GetSP(&frameContext);
(gdb) n
4665                if (Thread::VirtualUnwindToFirstManagedCallFrame(&frameContext) == 0)
(gdb) s
Thread::VirtualUnwindToFirstManagedCallFrame (pContext=0xbeffeb40)
    at /usr/src/debug/coreclr-0.0.1/src/vm/stackwalk.cpp:763
763 {
(gdb) n
772     PCODE uControlPc = GetIP(pContext);
(gdb) bt
#0  Thread::VirtualUnwindToFirstManagedCallFrame (pContext=0xbeffe5a0)
    at /usr/src/debug/coreclr-0.0.1/src/vm/stackwalk.cpp:772
#1  0xb64f7e50 in DispatchManagedException (ex=...)
    at /usr/src/debug/coreclr-0.0.1/src/vm/exceptionhandling.cpp:4665
#2  0xb66e80c0 in PreStubWorker (pTransitionBlock=0xbeffeb04, pMD=0xafd036e4)
    at /usr/src/debug/coreclr-0.0.1/src/vm/prestub.cpp:1044
#3  0xb650a92c in ThePreStub () at asmhelpers.S:799
#4  0xafdd4000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) n
776     while (!ExecutionManager::IsManagedCode(uControlPc))
(gdb) p/x uControlPc
$36 = 0xb64f7e3b
(gdb) n
781         BOOL success = PAL_VirtualUnwind(pContext, NULL);
(gdb) n
782         if (!success)
(gdb) n
788         uControlPc = GetIP(pContext);
(gdb) n
790         if (uControlPc == 0)
(gdb) p/x uControlPc
$37 = 0xb66e80c0
(gdb) n
776     while (!ExecutionManager::IsManagedCode(uControlPc))
(gdb) n
781         BOOL success = PAL_VirtualUnwind(pContext, NULL);
(gdb) n
782         if (!success)
(gdb) n
788         uControlPc = GetIP(pContext);
(gdb) n
790         if (uControlPc == 0)
(gdb) p/x uControlPc
$38 = 0xb650a92c
(gdb) n
776     while (!ExecutionManager::IsManagedCode(uControlPc))
(gdb) n
781         BOOL success = PAL_VirtualUnwind(pContext, NULL);
(gdb) n
782         if (!success)
(gdb) n
788         uControlPc = GetIP(pContext);
(gdb) n
790         if (uControlPc == 0)
(gdb) p/c uControlPc
$39 = 0 '\000'
(gdb) p/x uControlPc
$40 = 0xafdd4000
(gdb) n
776     while (!ExecutionManager::IsManagedCode(uControlPc))
(gdb) s
ExecutionManager::IsManagedCode (currentPC=3204441504)
    at /usr/src/debug/coreclr-0.0.1/src/vm/codeman.cpp:4134
4134    {
(gdb) n
4141        if (currentPC == NULL)
(gdb) n
4144        if (GetScanFlags() == ScanReaderLock) 
(gdb) n
4147        return IsManagedCodeWorker(currentPC);
(gdb) s
ExecutionManager::IsManagedCodeWorker (currentPC=2950512640)
    at /usr/src/debug/coreclr-0.0.1/src/vm/codeman.cpp:4197
4197    {
(gdb) n
4208        RangeSection * pRS = GetRangeSection(currentPC);
(gdb) s
ExecutionManager::GetRangeSection (addr=983435776)
    at /usr/src/debug/coreclr-0.0.1/src/vm/codeman.cpp:4309
4309    {
(gdb) n
4318        RangeSection * pHead = m_CodeRangeList;
(gdb) p/x m_CodeRangeList
$41 = {m_val = 0x757a0}
(gdb) n
4320        if (pHead == NULL)
(gdb) n
4325        RangeSection *pCurr = pHead;
(gdb) p/x pHead
$42 = 0x757a0
(gdb) n
4326        RangeSection *pLast = NULL;
(gdb) n
4329        RangeSection *pLastUsedRS = (pCurr != NULL) ? pCurr->pLastUsed : NULL;
(gdb) p/x *pCurr
$43 = {LowAddress = 0xb50a4010, HighAddress = 0xb50b4000, pjit = 0x4ff38, 
  pnext = {m_val = 0x7f740}, pLastUsed = 0x0, flags = 0x2, 
  pHeapListOrZapModule = 0xb50a4010}
(gdb) n
4331        if (pLastUsedRS != NULL)
(gdb) p/x pLastUsedRS
$44 = 0x0
(gdb) n
4351        while (pCurr != NULL)
(gdb) n
4354            if (pCurr->LowAddress <= addr)
(gdb) n
4375            pLast = pCurr;
(gdb) n
4376            pCurr = pCurr->pnext;
(gdb) n
4351        while (pCurr != NULL)
(gdb) n
4354            if (pCurr->LowAddress <= addr)
(gdb) p/x *pCurr
$45 = {LowAddress = 0xb1cdf010, HighAddress = 0xb1cef000, pjit = 0x4ff38, 
  pnext = {m_val = 0x7a5e0}, pLastUsed = 0x0, flags = 0x2, 
  pHeapListOrZapModule = 0xb1cdf010}
(gdb) n
4375            pLast = pCurr;
(gdb) n
4376            pCurr = pCurr->pnext;
(gdb) n
4351        while (pCurr != NULL)
(gdb) n
4354            if (pCurr->LowAddress <= addr)
(gdb) p/x *pCurr
$46 = {LowAddress = 0xb1b32010, HighAddress = 0xb1b42000, pjit = 0x4ff38, 
  pnext = {m_val = 0xbc8f0}, pLastUsed = 0x0, flags = 0x2, 
  pHeapListOrZapModule = 0xb1b32010}
(gdb) n
4375            pLast = pCurr;
(gdb) n
4376            pCurr = pCurr->pnext;
(gdb) n
4351        while (pCurr != NULL)
(gdb) n
4354            if (pCurr->LowAddress <= addr)
(gdb) p/x *pCurr
$47 = {LowAddress = 0xb1ad3010, HighAddress = 0xb1ae3000, pjit = 0x4ff38, 
  pnext = {m_val = 0xe98b0}, pLastUsed = 0x0, flags = 0x2, 
  pHeapListOrZapModule = 0xb1ad3010}
(gdb) n
4375            pLast = pCurr;
(gdb) n
4376            pCurr = pCurr->pnext;
(gdb) n
4351        while (pCurr != NULL)
(gdb) n
4354            if (pCurr->LowAddress <= addr)
(gdb) n
4358                if (addr >= pCurr->HighAddress)
(gdb) p/x *pCurr
$48 = {LowAddress = 0xafd6c010, HighAddress = 0xafd7c000, pjit = 0x4ff38, 
  pnext = {m_val = 0xf4e80}, pLastUsed = 0x0, flags = 0x2, 
  pHeapListOrZapModule = 0xafd6c010}
(gdb) p/x addr
$49 = 0xafdd4000
(gdb) n
4361                    pCurr = NULL;
(gdb) p/x pCurr
$50 = 0xe98b0
(gdb) n
4362                }
(gdb) *pCurr = 0xe98b0
Undefined command: "".  Try "help".
(gdb) pCurr = 0xe98b0
Undefined command: "pCurr".  Try "help".
(gdb) set
Argument required (expression to compute).
(gdb) p/x pLast
$51 = 0xbc8f0
(gdb) p/x *0xe98b0
$52 = 0xafd6c010
(gdb) p/x *0xafd6c014
$53 = 0xf38e0
(gdb) p/x *0xafd6c010
$54 = 0xb1ad3010
(gdb) p/x *0xe98b4
$55 = 0xafd7c000
(gdb) p/x *0xe98b8
$56 = 0x4ff38
(gdb) p/x *0xe98bc
$57 = 0xf4e80
(gdb) p/x *0xf4e80
$58 = 0xaf4c1010
(gdb) bt
#0  ExecutionManager::GetRangeSection (addr=2950512640)
    at /usr/src/debug/coreclr-0.0.1/src/vm/codeman.cpp:4362
#1  0xb657d5f4 in ExecutionManager::IsManagedCodeWorker (currentPC=2950512640)
    at /usr/src/debug/coreclr-0.0.1/src/vm/codeman.cpp:4208
#2  0xb657d554 in ExecutionManager::IsManagedCode (currentPC=2950512640)
    at /usr/src/debug/coreclr-0.0.1/src/vm/codeman.cpp:4147
#3  0xb63745b6 in Thread::VirtualUnwindToFirstManagedCallFrame (
    pContext=0xbeffe5a0)
    at /usr/src/debug/coreclr-0.0.1/src/vm/stackwalk.cpp:776
#4  0xb64f7e50 in DispatchManagedException (ex=...)
    at /usr/src/debug/coreclr-0.0.1/src/vm/exceptionhandling.cpp:4665
#5  0xb66e80c0 in PreStubWorker (pTransitionBlock=0xbeffeb04, pMD=0xafd036e4)
    at /usr/src/debug/coreclr-0.0.1/src/vm/prestub.cpp:1044
#6  0xb650a92c in ThePreStub () at asmhelpers.S:799
#7  0xafdd4000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) up 7
#7  0xafdd4000 in ?? ()
(gdb) info registers
r0             0x0  0
r1             0xafd7c000   2950152192
r2             0xb6d2bbd4   3067263956
r3             0x2cf60  184160
r4             0x3a9e0a00   983435776
r5             0xb6d2bbd4   3067263956
r6             0xbeffd860   3204438112
r7             0xb63d8635   3057485365
r8             0xbeffd73c   3204437820
r9             0xbeffd45c   3204437084
r10            0xbeffd978   3204438392
r11            0x5d700  382720
r12            0xb6d2bf80   3067264896
sp             0xbeffeae4   0xbeffeae4
lr             0xafdd4000   -1344454656
pc             0xafdd4000   0xafdd4000
cpsr           0x60040010   1610874896
(gdb) down
#6  0xb650a92c in ThePreStub () at asmhelpers.S:799
799 asmhelpers.S: No such file or directory.
(gdb) info registers
r0             0x0  0
r1             0xafd7c000   2950152192
r2             0xb6d2bbd4   3067263956
r3             0x2cf60  184160
r4             0xb250dd48   2991643976
r5             0xb5929168   3046281576
r6             0xbeffeac0   3204442816
r7             0xbeffeba0   3204443040
r8             0xb6d2bbd4   3067263956
r9             0x3a9e0a00   983435776
r10            0xb6d2bbd4   3067263956
r11            0xbeffeb40   3204442944
r12            0xb6d2bf80   3067264896
sp             0xbeffeac0   0xbeffeac0
lr             0xb650a92d   -1236227795
pc             0xb650a92c   0xb650a92c <ThePreStub+38>
cpsr           0x60040030   1610874928
(gdb) info frame
Stack level 6, frame at 0xbeffeae4:
 pc = 0xb650a92c in ThePreStub (asmhelpers.S:799); saved pc = 0xafdd4000
 called by frame at 0xbeffeae4, caller of frame at 0xbeffeac0
 source language asm.
 Arglist at 0xbeffeac0, args: 
 Locals at 0xbeffeac0, Previous frame's sp is 0xbeffeae4
 Saved registers:
  r4 at 0xbeffeac0, r5 at 0xbeffeac4, r6 at 0xbeffeac8, r7 at 0xbeffeacc,
  r8 at 0xbeffead0, r9 at 0xbeffead4, r10 at 0xbeffead8, r11 at 0xbeffeadc,
  lr at 0xbeffeae0
(gdb) p/x *0xbeffeae0
$59 = 0xafdd4000
(gdb) x/i $59
   0xafdd4000:  cmp r7, pc

Assert fail at stackwalk.cpp:2557

sh-3.2# ./corerun HelloWorld.exe linux
Hello, Linux...

Assert failure(PID 6651 [0x000019fb], Thread: 6651 [0x19fb]): newSP >= m_crawl.pThread->GetCachedStackLimit()
    File: /home/abuild/rpmbuild/BUILD/coreclr-0.0.1/src/vm/stackwalk.cpp Line: 2557
    Image: /sdcard/CC/alldll/corerun

**** MessageBox invoked, title 'corerun - Assert Failure (PID 6651, Thread 6651/0x19fb)' ****
  newSP >= m_crawl.pThread->GetCachedStackLimit()

/home/abuild/rpmbuild/BUILD/coreclr-0.0.1/src/vm/stackwalk.cpp, Line: 2557

Abort - Kill program
Retry - Debug
Ignore - Keep running


Image:
/sdcard/CC/alldll/corerun

********

Aborted
sh-3.2#
Program terminated with signal SIGABRT, Aborted.
#0  __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
44      pop {r7, pc}
(gdb) bt
#0  __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
#1  0xb6d218fe in __GI_raise (sig=sig@entry=6)
    at ../sysdeps/unix/sysv/linux/raise.c:55
#2  0xb6d22612 in __GI_abort () at abort.c:89
#3  0xb6acc3ea in PROCEndProcess (hProcess=0xffffff01, uExitCode=1, 
    bTerminateUnconditionally=1)
    at /usr/src/debug/coreclr-0.0.1/src/pal/src/thread/process.cpp:1349
#4  0xb6acc53e in TerminateProcess (hProcess=0xffffff01, uExitCode=1)
    at /usr/src/debug/coreclr-0.0.1/src/pal/src/thread/process.cpp:1265
#5  0xb626d17c in _DbgBreakCheck (
    szFile=0xb6b02874 "/home/abuild/rpmbuild/BUILD/coreclr-0.0.1/src/vm/stackwalk.cpp", iLine=2557, 
    szExpr=0xb6b03743 "newSP >= m_crawl.pThread->GetCachedStackLimit()", 
    fConstrained=0) at /usr/src/debug/coreclr-0.0.1/src/utilcode/debug.cpp:492
#6  0xb626d464 in _DbgBreakCheckNoThrow (
    szFile=0xb6b02874 "/home/abuild/rpmbuild/BUILD/coreclr-0.0.1/src/vm/stackwalk.cpp", iLine=2557, 
    szExpr=0xb6b03743 "newSP >= m_crawl.pThread->GetCachedStackLimit()", 
    fConstrained=0) at /usr/src/debug/coreclr-0.0.1/src/utilcode/debug.cpp:558
#7  0xb626d77a in DbgAssertDialog (
    szFile=0xb6b02874 "/home/abuild/rpmbuild/BUILD/coreclr-0.0.1/src/vm/stackwalk.cpp", iLine=2557, 
    szExpr=0xb6b03743 "newSP >= m_crawl.pThread->GetCachedStackLimit()")
---Type <return> to continue, or q <return> to quit---
    at /usr/src/debug/coreclr-0.0.1/src/utilcode/debug.cpp:745
#8  0xb632d93a in StackFrameIterator::NextRaw (this=0xbee12460)
    at /usr/src/debug/coreclr-0.0.1/src/vm/stackwalk.cpp:2557
#9  0xb632b5ce in StackFrameIterator::Next (this=0xbee12460)
    at /usr/src/debug/coreclr-0.0.1/src/vm/stackwalk.cpp:1621
#10 0xb632b132 in Thread::StackWalkFramesEx (this=0x1c430a8, pRD=0xbee127b0, 
    pCallback=0xb63d64f5 <GcStackCrawlCallBack(CrawlFrame*, void*)>, 
    pData=0xbee12dd8, flags=34048, pStartFrame=0x0)
    at /usr/src/debug/coreclr-0.0.1/src/vm/stackwalk.cpp:972
#11 0xb632b88e in Thread::StackWalkFrames (this=0x1c430a8, 
    pCallback=0xb63d64f5 <GcStackCrawlCallBack(CrawlFrame*, void*)>, 
    pData=0xbee12dd8, flags=34048, pStartFrame=0x0)
    at /usr/src/debug/coreclr-0.0.1/src/vm/stackwalk.cpp:1049
#12 0xb63d71d0 in ScanStackRoots (pThread=0x1c430a8, fn=
    0xb664ad35 <WKS::GCHeap::Promote(Object**, ScanContext*, unsigned int)>, 
    sc=0xbee13054) at /usr/src/debug/coreclr-0.0.1/src/vm/gcenv.ee.cpp:546
#13 0xb63d6f50 in GCToEEInterface::GcScanRoots (
    fn=0xb664ad35 <WKS::GCHeap::Promote(Object**, ScanContext*, unsigned int)>, condemned=0, max_gen=2, sc=0xbee13054)
    at /usr/src/debug/coreclr-0.0.1/src/vm/gcenv.ee.cpp:575
#14 0xb6576f64 in GCScan::GcScanRoots (
    fn=0xb664ad35 <WKS::GCHeap::Promote(Object**, ScanContext*, unsigned int)>, condemned=0, max_gen=2, sc=0xbee13054)
---Type <return> to continue, or q <return> to quit---
    at /usr/src/debug/coreclr-0.0.1/src/gc/gcscan.cpp:176
#15 0xb6631b16 in WKS::gc_heap::mark_phase (condemned_gen_number=0, 
    mark_only_p=0) at /usr/src/debug/coreclr-0.0.1/src/gc/gc.cpp:19312
#16 0xb662b5d6 in WKS::gc_heap::gc1 ()
    at /usr/src/debug/coreclr-0.0.1/src/gc/gc.cpp:15084
#17 0xb6640cae in WKS::gc_heap::garbage_collect (n=0)
    at /usr/src/debug/coreclr-0.0.1/src/gc/gc.cpp:16614
#18 0xb6622bf0 in WKS::GCHeap::GarbageCollectGeneration (this=0x1c44560, 
    gen=0, reason=WKS::reason_alloc_soh)
    at /usr/src/debug/coreclr-0.0.1/src/gc/gc.cpp:35163
#19 0xb6625918 in WKS::gc_heap::try_allocate_more_space (acontext=0x1c430e8, 
    size=24, gen_number=0) at /usr/src/debug/coreclr-0.0.1/src/gc/gc.cpp:12891
#20 0xb6625aa8 in WKS::gc_heap::allocate_more_space (acontext=0x1c430e8, 
    size=24, alloc_generation_number=0)
    at /usr/src/debug/coreclr-0.0.1/src/gc/gc.cpp:13187
#21 0xb6681848 in WKS::gc_heap::allocate (jsize=24, acontext=0x1c430e8)
    at /usr/src/debug/coreclr-0.0.1/src/gc/gc.cpp:13218
#22 0xb6674466 in WKS::GCHeap::Alloc (this=0x1c44560, acontext=0x1c430e8, 
    size=24, flags=0) at /usr/src/debug/coreclr-0.0.1/src/gc/gc.cpp:34502
#23 0xb63da0b0 in Alloc (size=24, bFinalize=0, bContainsPointers=0)
    at /usr/src/debug/coreclr-0.0.1/src/vm/gchelpers.cpp:105
#24 0xb63d97de in SlowAllocateString (cchStringLength=4)
    at /usr/src/debug/coreclr-0.0.1/src/vm/gchelpers.cpp:850
---Type <return> to continue, or q <return> to quit---
#25 0xb63f5d78 in FramedAllocateString (stringLength=4)
    at /usr/src/debug/coreclr-0.0.1/src/vm/jithelpers.cpp:3088
#26 0xb485d87a in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) 


Following up dotnet/coreclr/3462

This is to note in-progress results of https://github.com/dotnet/coreclr/issues/3462


Another clue.

(gdb) bt
#0  UnwindContextToWinContext (cursor=0xbeffa6c4, winContext=0xbeffe7b8)
    at /usr/src/debug/coreclr-0.0.1/src/pal/src/exception/seh-unwind.cpp:171
#1  0xb6a8c572 in PAL_VirtualUnwind (context=0xbeffe7b8, contextPointers=0x0)
    at /usr/src/debug/coreclr-0.0.1/src/pal/src/exception/seh-unwind.cpp:299
#2  0xb6382c20 in Thread::VirtualUnwindToFirstManagedCallFrame (
    pContext=0xbeffe7b8)
    at /usr/src/debug/coreclr-0.0.1/src/vm/stackwalk.cpp:781
#3  0xb6508b20 in DispatchManagedException (ex=...)
    at /usr/src/debug/coreclr-0.0.1/src/vm/exceptionhandling.cpp:4664
#4  0xb66f0924 in PreStubWorker (pTransitionBlock=0xbeffed1c, pMD=0xb592e8c4)
    at /usr/src/debug/coreclr-0.0.1/src/vm/prestub.cpp:1040
#5  0xb651b66c in ThePreStub () at asmhelpers.S:787
#6  0x0e32e828 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) 

In the same stack backtrace above, the frame 5 (just one before the managed frame) has

(gdb) info frame 5
Stack frame at 0xbeffecfc:
 pc = 0xb651b66c in ThePreStub (asmhelpers.S:787); saved pc = 0xe32e828
 called by frame at 0xbeffecfc, caller of frame at 0xbeffecd8
 source language asm.
 Arglist at 0xbeffecd8, args: 
 Locals at 0xbeffecd8, Previous frame's sp is 0xbeffecfc
 Saved registers:
  r4 at 0xbeffecd8, r5 at 0xbeffecdc, r6 at 0xbeffece0, r7 at 0xbeffece4,
  r8 at 0xbeffece8, r9 at 0xbeffecec, r10 at 0xbeffecf0, r11 at 0xbeffecf4,
  lr at 0xbeffecf8
(gdb) 
(gdb) p/x *0xbeffecf8
$7 = 0xe32e829
(gdb) info frame 6
Stack frame at 0xbeffecfc:
 pc = 0xe32e828; saved pc = 0xe32e828
 Outermost frame: previous frame identical to this frame (corrupt stack?)
 caller of frame at 0xbeffecfc
 Arglist at 0xbeffecfc, args: 
 Locals at 0xbeffecfc, Previous frame's sp is 0xbeffecfc

Why in the hell 3->4->5 works while 5-6 fails (garbages):

Here goes winContext of 6 (5->6)

(gdb) p/x winContext
$13 = 0xbeffe7b8
(gdb) p/x *winContext
$14 = {ContextFlags = 0x20000b, R0 = 0xbeffe7b8, R1 = 0xbeffeac0, R2 = 0x0, 
  R3 = 0x1, R4 = 0x20000b, R5 = 0xbeffe7b8, R6 = 0xbeffeac0, R7 = 0x0, 
  R8 = 0x1, R9 = 0x20000b, R10 = 0xbeffe7b8, R11 = 0xbeffeac0, 
  R12 = 0xb6f95424, Sp = 0xbeffe7b8, Lr = 0xbeffed50, Pc = 0xbeffed50, 
  Cpsr = 0x200f0010, Fpscr = 0x80000010, Padding = 0x0, {Q = {{
        Low = 0x10000ffff007d, High = 0x1}, {Low = 0x1, High = 0x1}, {
        Low = 0x1, High = 0x1}, {Low = 0x1, High = 0x1}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x0, High = 0x0}, {Low = 0x11, High = 0x0}, {
        Low = 0x3ff4cccccccccccd, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}}, D = {
      0x10000ffff007d, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 
      0x0, 0x0, 0x0, 0x0, 0x11, 0x0, 0x3ff4cccccccccccd, 
      0x0 <repeats 13 times>}, S = {0xffff007d, 0x10000, 0x1, 0x0, 0x1, 0x0, 
      0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0 <repeats 17 times>}}, 
  Bvr = {0x5d060, 0xbeffe928, 0xb6d3f7f0, 0xb1add045, 0x5d060, 0x0, 
    0xb6e41000, 0x1}, Bcr = {0x5d058, 0x5d058, 0xbeffe948, 0xb62df173, 0x1, 
    0x0, 0xbeffeac0, 0xb1add045}, Wvr = {0xbefff370}, Wcr = {0xbeffecd8}, 
  Padding2 = {0xbeffecd0, 0xb6d2ba94}}


Another dang infinite loop with unwinding

sh-3.2# gdb --args ./corerun xunit.console.netcore.exe System.Buffers.Tests.dll  
GNU gdb (GDB) 7.9.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "armv7l-tizen-linux-gnueabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./corerun...done.
(gdb) run
Starting program: /sdcard/hf/testrun/corerun xunit.console.netcore.exe System.Buffers.Tests.dll
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
BFD: /usr/lib/debug/.build-id/7d/dece3d2f6183893cf63189c39e9d9943193099.debug: unable to initialize decompress status for section .zdebug_aranges
warning: File "/usr/lib/debug/.build-id/7d/dece3d2f6183893cf63189c39e9d9943193099.debug" has no build-id, file skipped
xUnit.net console test runner (32-bit .NET Core)
Copyright (C) 2014 Outercurve Foundation.

^C
Program received signal SIGINT, Interrupt.
0xb6d9f8e6 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) bt
#0  0xb6d9f8e6 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0xb6dae060 in sigprocmask () from /lib/arm-linux-gnueabihf/libc.so.6
#2  0xb61edea8 in ?? () from /lib/arm-linux-gnueabihf/libunwind-arm.so.8
#3  0xb61ed4de in _Uarm_step ()
   from /lib/arm-linux-gnueabihf/libunwind-arm.so.8
#4  0xb6acb2ca in PAL_VirtualUnwind (context=0xbeffd4d0, contextPointers=0x0)
    at /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp:277
#5  0xb6544976 in UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4594
#6  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
#7  0xb6493eda in IL_Rethrow ()
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5412
#8  0xb1c8ea18 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) 
#0  0xb6d9f8e6 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0xb6dae060 in sigprocmask () from /lib/arm-linux-gnueabihf/libc.so.6
#2  0xb61edea8 in ?? () from /lib/arm-linux-gnueabihf/libunwind-arm.so.8
#3  0xb61ed4de in _Uarm_step ()
   from /lib/arm-linux-gnueabihf/libunwind-arm.so.8
#4  0xb6acb2ca in PAL_VirtualUnwind (context=0xbeffd4d0, contextPointers=0x0)
    at /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp:277
#5  0xb6544976 in UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4594
#6  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
#7  0xb6493eda in IL_Rethrow ()
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5412
#8  0xb1c8ea18 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) 
#0  0xb6d9f8e6 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0xb6dae060 in sigprocmask () from /lib/arm-linux-gnueabihf/libc.so.6
#2  0xb61edea8 in ?? () from /lib/arm-linux-gnueabihf/libunwind-arm.so.8
#3  0xb61ed4de in _Uarm_step ()
   from /lib/arm-linux-gnueabihf/libunwind-arm.so.8
#4  0xb6acb2ca in PAL_VirtualUnwind (context=0xbeffd4d0, contextPointers=0x0)
    at /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp:277
#5  0xb6544976 in UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4594
#6  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
#7  0xb6493eda in IL_Rethrow ()
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5412
#8  0xb1c8ea18 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) threads
Undefined command: "threads".  Try "help".
(gdb) info threads
  Id   Target Id         Frame 
* 1    LWP 27667 "corerun" 0xb6d9f8e6 in ?? ()
   from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) n
Program not restarted.
(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
0xb6d9f8e6 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) bt
#0  0xb6d9f8e6 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0xb6dae060 in sigprocmask () from /lib/arm-linux-gnueabihf/libc.so.6
#2  0xb61edea8 in ?? () from /lib/arm-linux-gnueabihf/libunwind-arm.so.8
#3  0xb61ed4de in _Uarm_step ()
   from /lib/arm-linux-gnueabihf/libunwind-arm.so.8
#4  0xb6acb2ca in PAL_VirtualUnwind (context=0xbeffd4d0, contextPointers=0x0)
    at /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp:277
#5  0xb6544976 in UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4594
#6  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
#7  0xb6493eda in IL_Rethrow ()
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5412
#8  0xb1c8ea18 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
0xb6d9f8e6 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) bt
#0  0xb6d9f8e6 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0xb6dae060 in sigprocmask () from /lib/arm-linux-gnueabihf/libc.so.6
#2  0xb61edea8 in ?? () from /lib/arm-linux-gnueabihf/libunwind-arm.so.8
#3  0xb61ed4de in _Uarm_step ()
   from /lib/arm-linux-gnueabihf/libunwind-arm.so.8
#4  0xb6acb2ca in PAL_VirtualUnwind (context=0xbeffd4d0, contextPointers=0x0)
    at /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp:277
#5  0xb6544976 in UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4594
#6  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
#7  0xb6493eda in IL_Rethrow ()
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5412
#8  0xb1c8ea18 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) break src/vm/exceptionhandling.cpp:4592
Breakpoint 1 at 0xb6544966: file /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp, line 4592.
(gdb) c
Continuing.

Breakpoint 1, UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4592
4592    /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp: No such file or directory.
(gdb) bt
#0  UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4592
#1  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
#2  0xb6493eda in IL_Rethrow ()
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5412
#3  0xb1c8ea18 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) n
4594    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) p/x sp
$1 = 0xbeffda2c
(gdb) bt
#0  UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4594
#1  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
#2  0xb6493eda in IL_Rethrow ()
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5412
#3  0xb1c8ea18 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) n
4595    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) p/x success
$2 = 0x1
(gdb) n
4601    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4603    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) p/x controlPc
$3 = 0xb6d5f000
(gdb) bt
#0  UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4603
#1  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
#2  0xb6493eda in IL_Rethrow ()
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5412
#3  0xb1c8ea18 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) p/x *frameContext
$4 = {ContextFlags = 0x2020000b, R0 = 0xbeffd4d0, R1 = 0xbeffd768, R2 = 0x8d9, 
  R3 = 0xbeffe9f8, R4 = 0xb2615ed0, R5 = 0xbeffd174, R6 = 0x0, R7 = 0x0, 
  R8 = 0x0, R9 = 0x0, R10 = 0xe, R11 = 0x0, R12 = 0xb6f9e428, Sp = 0xbeffda2c, 
  Lr = 0xb6d5f000, Pc = 0xb6d5f000, Cpsr = 0x20010010, Fpscr = 0x80000010, 
  Padding = 0x475a8, {Q = {{Low = 0x65003800390037, High = 0x2c006c00610072}, {
        Low = 0x62007500500020, High = 0x4b00630069006c}, {
        Low = 0x6f005400790065, High = 0x3d006e0065006b}, {
        Low = 0x63006500630037, High = 0x37006400350038}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x0, High = 0x0}, {Low = 0x3fe9611a7b9611a8, 
        High = 0x3feccccccccccccd}, {Low = 0x4006666666666666, High = 0x0}, {
        Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x0, High = 0x0}}, D = {0x65003800390037, 0x2c006c00610072, 
      0x62007500500020, 0x4b00630069006c, 0x6f005400790065, 0x3d006e0065006b, 
      0x63006500630037, 0x37006400350038, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
      0x0, 0x3fe9611a7b9611a8, 0x3feccccccccccccd, 0x4006666666666666, 
      0x0 <repeats 13 times>}, S = {0x390037, 0x650038, 0x610072, 0x2c006c, 
      0x500020, 0x620075, 0x69006c, 0x4b0063, 0x790065, 0x6f0054, 0x65006b, 
      0x3d006e, 0x630037, 0x630065, 0x350038, 0x370064, 
      0x0 <repeats 16 times>}}, Bvr = {0x0, 0x80131509, 0x0, 0x0, 0x0, 0x0, 
    0xb6e6b000, 0x1}, Bcr = {0xbeffd75c, 0x0, 0xb2615ed0, 0x0, 0xb2615ed0, 
    0x0, 0xbeffd768, 0xb2615fec}, Wvr = {0xaf688f34}, Wcr = {0xb2615ed0}, 
---Type <return> to continue, or q <return> to quit---
  Padding2 = {0xbeffd9e8, 0x0}}
(gdb) n
4614    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n      
4617    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) p/x parentSp
$5 = 0xbeffda2c
(gdb) bt
#0  UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4617
#1  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
#2  0xb6493eda in IL_Rethrow ()
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5412
#3  0xb1c8ea18 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) info frame
Stack level 0, frame at 0xbeffd468:
 pc = 0xb6544a66 in UnwindManagedExceptionPass1
    (/work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4617); 
    saved pc = 0xb6544cd0
 called by frame at 0xbeffd680
 source language c++.
 Arglist at 0xbeffd460, args: ex=..., frameContext=0xbeffd4d0
 Locals at 0xbeffd460, Previous frame's sp is 0xbeffd468
 Saved registers:
  r7 at 0xbeffd460, lr at 0xbeffd464
(gdb) info frame 1
Stack frame at 0xbeffd680:
 pc = 0xb6544cd0 in DispatchManagedException
    (/work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684); 
    saved pc = 0xb6493eda
 called by frame at 0xbeffd9f0, caller of frame at 0xbeffd468
 source language c++.
 Arglist at 0xbeffd678, args: ex=...
 Locals at 0xbeffd678, Previous frame's sp is 0xbeffd680
 Saved registers:
  r7 at 0xbeffd678, lr at 0xbeffd67c
(gdb) bt
#0  UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4617
#1  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
#2  0xb6493eda in IL_Rethrow ()
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5412
#3  0xb1c8ea18 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) p/x controlPc
$6 = 0xb6d5f000
(gdb) x/i $6
   0xb6d5f000:  ldr r6, [sp, #656]  ; 0x290
(gdb) bt
#0  UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4617
#1  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
#2  0xb6493eda in IL_Rethrow ()
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5412
#3  0xb1c8ea18 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) info threads
  Id   Target Id         Frame 
* 1    LWP 27667 "corerun" UnwindManagedExceptionPass1 (ex=..., 
    frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4617
(gdb) c
Continuing.

Breakpoint 1, UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4592
4592    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) c
Continuing.

Breakpoint 1, UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4592
4592    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) c
Continuing.

Breakpoint 1, UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4592
4592    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4594    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) p/x *frameContext
$7 = {ContextFlags = 0x2020000b, R0 = 0xbeffd4d0, R1 = 0xbeffd768, R2 = 0x8d9, 
  R3 = 0xbeffe9f8, R4 = 0xb2615ed0, R5 = 0xbeffd174, R6 = 0x0, R7 = 0x0, 
  R8 = 0x0, R9 = 0x0, R10 = 0xe, R11 = 0x0, R12 = 0xb6f9e428, Sp = 0xbeffda2c, 
  Lr = 0xb6d5f000, Pc = 0xb6d5f000, Cpsr = 0x20010010, Fpscr = 0x80000010, 
  Padding = 0x475a8, {Q = {{Low = 0x65003800390037, High = 0x2c006c00610072}, {
        Low = 0x62007500500020, High = 0x4b00630069006c}, {
        Low = 0x6f005400790065, High = 0x3d006e0065006b}, {
        Low = 0x63006500630037, High = 0x37006400350038}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x0, High = 0x0}, {Low = 0x3fe9611a7b9611a8, 
        High = 0x3feccccccccccccd}, {Low = 0x4006666666666666, High = 0x0}, {
        Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x0, High = 0x0}}, D = {0x65003800390037, 0x2c006c00610072, 
      0x62007500500020, 0x4b00630069006c, 0x6f005400790065, 0x3d006e0065006b, 
      0x63006500630037, 0x37006400350038, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
      0x0, 0x3fe9611a7b9611a8, 0x3feccccccccccccd, 0x4006666666666666, 
      0x0 <repeats 13 times>}, S = {0x390037, 0x650038, 0x610072, 0x2c006c, 
      0x500020, 0x620075, 0x69006c, 0x4b0063, 0x790065, 0x6f0054, 0x65006b, 
      0x3d006e, 0x630037, 0x630065, 0x350038, 0x370064, 
      0x0 <repeats 16 times>}}, Bvr = {0x0, 0x80131509, 0x0, 0x0, 0x0, 0x0, 
    0xb6e6b000, 0x1}, Bcr = {0xbeffd75c, 0x0, 0xb2615ed0, 0x0, 0xb2615ed0, 
    0x0, 0xbeffd768, 0xb2615fec}, Wvr = {0xaf688f34}, Wcr = {0xb2615ed0}, 
---Type <return> to continue, or q <return> to quit---
  Padding2 = {0xbeffd9e8, 0x0}}
(gdb) c
Continuing.

Breakpoint 1, UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4592
4592    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) p/x *frameContext
$8 = {ContextFlags = 0x2020000b, R0 = 0xbeffd4d0, R1 = 0xbeffd768, R2 = 0x8d9, 
  R3 = 0xbeffe9f8, R4 = 0xb2615ed0, R5 = 0xbeffd174, R6 = 0x0, R7 = 0x0, 
  R8 = 0x0, R9 = 0x0, R10 = 0xe, R11 = 0x0, R12 = 0xb6f9e428, Sp = 0xbeffda2c, 
  Lr = 0xb6d5f000, Pc = 0xb6d5f000, Cpsr = 0x20010010, Fpscr = 0x80000010, 
  Padding = 0x475a8, {Q = {{Low = 0x65003800390037, High = 0x2c006c00610072}, {
        Low = 0x62007500500020, High = 0x4b00630069006c}, {
        Low = 0x6f005400790065, High = 0x3d006e0065006b}, {
        Low = 0x63006500630037, High = 0x37006400350038}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x0, High = 0x0}, {Low = 0x3fe9611a7b9611a8, 
        High = 0x3feccccccccccccd}, {Low = 0x4006666666666666, High = 0x0}, {
        Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x0, High = 0x0}}, D = {0x65003800390037, 0x2c006c00610072, 
      0x62007500500020, 0x4b00630069006c, 0x6f005400790065, 0x3d006e0065006b, 
      0x63006500630037, 0x37006400350038, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
      0x0, 0x3fe9611a7b9611a8, 0x3feccccccccccccd, 0x4006666666666666, 
      0x0 <repeats 13 times>}, S = {0x390037, 0x650038, 0x610072, 0x2c006c, 
      0x500020, 0x620075, 0x69006c, 0x4b0063, 0x790065, 0x6f0054, 0x65006b, 
      0x3d006e, 0x630037, 0x630065, 0x350038, 0x370064, 
      0x0 <repeats 16 times>}}, Bvr = {0x0, 0x80131509, 0x0, 0x0, 0x0, 0x0, 
    0xb6e6b000, 0x1}, Bcr = {0xbeffd75c, 0x0, 0xb2615ed0, 0x0, 0xb2615ed0, 
    0x0, 0xbeffd768, 0xb2615fec}, Wvr = {0xaf688f34}, Wcr = {0xb2615ed0}, 
---Type <return> to continue, or q <return> to quit---
  Padding2 = {0xbeffd9e8, 0x0}}
(gdb) n
4594    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4595    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4601    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4603    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4614    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4617    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4618    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4632    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n

Breakpoint 1, UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4592
4592    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4594    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) s
PAL_VirtualUnwind (
    context=0xb6323499 <RaiseTheExceptionInternalOnly(OBJECTREF, int, int)+1248>, 
    contextPointers=0xb6323489 <RaiseTheExceptionInternalOnly(OBJECTREF, int, int)+1232>) at /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp:224
224 /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp: No such file or directory.
(gdb) n          
233 in /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp
(gdb) n
248 in /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp
(gdb) n
249 in /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp
(gdb) n
254 in /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp
(gdb) p/x st
$9 = 0x0
(gdb) p/x unwContext
$10 = {regs = {0xbeffd12c, 0xbeff9114, 0xbeff9114, 0x0, 0xb6d5f000, 
    0xaf688f34, 0xb2615ed0, 0xbeffd174, 0x0, 0x0, 0xe, 0xbeffe9f0, 0xbeffd4d0, 
    0xbeff90f8, 0x6a3ae100, 0xb6acb280}}
(gdb) p/x *context
$11 = {ContextFlags = 0x2020000b, R0 = 0xbeffd4d0, R1 = 0xbeffd768, 
  R2 = 0x8d9, R3 = 0xbeffe9f8, R4 = 0xb2615ed0, R5 = 0xbeffd174, R6 = 0x0, 
  R7 = 0x0, R8 = 0x0, R9 = 0x0, R10 = 0xe, R11 = 0x0, R12 = 0xb6f9e428, 
  Sp = 0xbeffda2c, Lr = 0xb6d5f000, Pc = 0xb6d5f000, Cpsr = 0x20010010, 
  Fpscr = 0x80000010, Padding = 0x475a8, {Q = {{Low = 0x65003800390037, 
        High = 0x2c006c00610072}, {Low = 0x62007500500020, 
        High = 0x4b00630069006c}, {Low = 0x6f005400790065, 
        High = 0x3d006e0065006b}, {Low = 0x63006500630037, 
        High = 0x37006400350038}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x3fe9611a7b9611a8, High = 0x3feccccccccccccd}, {
        Low = 0x4006666666666666, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}}, D = {
      0x65003800390037, 0x2c006c00610072, 0x62007500500020, 0x4b00630069006c, 
      0x6f005400790065, 0x3d006e0065006b, 0x63006500630037, 0x37006400350038, 
      0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3fe9611a7b9611a8, 
      0x3feccccccccccccd, 0x4006666666666666, 0x0 <repeats 13 times>}, S = {
      0x390037, 0x650038, 0x610072, 0x2c006c, 0x500020, 0x620075, 0x69006c, 
      0x4b0063, 0x790065, 0x6f0054, 0x65006b, 0x3d006e, 0x630037, 0x630065, 
      0x350038, 0x370064, 0x0 <repeats 16 times>}}, Bvr = {0x0, 0x80131509, 
    0x0, 0x0, 0x0, 0x0, 0xb6e6b000, 0x1}, Bcr = {0xbeffd75c, 0x0, 0xb2615ed0, 
    0x0, 0xb2615ed0, 0x0, 0xbeffd768, 0xb2615fec}, Wvr = {0xaf688f34}, Wcr = {
---Type <return> to continue, or q <return> to quit---
    0xb2615ed0}, Padding2 = {0xbeffd9e8, 0x0}}
(gdb) n
255 in /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp
(gdb) p/x st
$12 = 0x0
(gdb) n
262 in /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp
(gdb) n
277 in /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp
(gdb) n
278 in /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp
(gdb) p/x st
$13 = 0x0
(gdb) n
286 in /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp
(gdb) n
292 in /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp
(gdb) n
297 in /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp
(gdb) n
305 in /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp
(gdb) n
309 in /work/dotnet/arm32/coreclr/src/pal/src/exception/seh-unwind.cpp
(gdb) run 
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /sdcard/hf/testrun/corerun xunit.console.netcore.exe System.Buffers.Tests.dll
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
BFD: /usr/lib/debug/.build-id/7d/dece3d2f6183893cf63189c39e9d9943193099.debug: unable to initialize decompress status for section .zdebug_aranges
warning: File "/usr/lib/debug/.build-id/7d/dece3d2f6183893cf63189c39e9d9943193099.debug" has no build-id, file skipped
xUnit.net console test runner (32-bit .NET Core)
Copyright (C) 2014 Outercurve Foundation.


Breakpoint 1, UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4592
4592    /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp: No such file or directory.
(gdb) p/x *frameContext
$14 = {ContextFlags = 0x2020000b, R0 = 0xbeffd4d0, R1 = 0xbeffd768, 
  R2 = 0x8c9, R3 = 0xbeffe9f8, R4 = 0xaf684f74, R5 = 0xaf684f34, R6 = 0x0, 
  R7 = 0x0, R8 = 0x0, R9 = 0x0, R10 = 0xe, R11 = 0xbeffe9f0, R12 = 0xb6f9e428, 
  Sp = 0xbeffda08, Lr = 0xb655803d, Pc = 0xb655803d, Cpsr = 0x20010010, 
  Fpscr = 0x80000010, Padding = 0x475a8, {Q = {{Low = 0x65003800390037, 
        High = 0x2c006c00610072}, {Low = 0x62007500500020, 
        High = 0x4b00630069006c}, {Low = 0x6f005400790065, 
        High = 0x3d006e0065006b}, {Low = 0x63006500630037, 
        High = 0x37006400350038}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x3fe9611a7b9611a8, High = 0x3feccccccccccccd}, {
        Low = 0x4006666666666666, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}}, D = {
      0x65003800390037, 0x2c006c00610072, 0x62007500500020, 0x4b00630069006c, 
      0x6f005400790065, 0x3d006e0065006b, 0x63006500630037, 0x37006400350038, 
      0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3fe9611a7b9611a8, 
      0x3feccccccccccccd, 0x4006666666666666, 0x0 <repeats 13 times>}, S = {
      0x390037, 0x650038, 0x610072, 0x2c006c, 0x500020, 0x620075, 0x69006c, 
      0x4b0063, 0x790065, 0x6f0054, 0x65006b, 0x3d006e, 0x630037, 0x630065, 
      0x350038, 0x370064, 0x0 <repeats 16 times>}}, Bvr = {0x0, 0x80131509, 
    0x0, 0x0, 0x0, 0x0, 0xb6e6b000, 0x1}, Bcr = {0xbeffd75c, 0x0, 0xb2815ed0, 
    0x0, 0xb2815ed0, 0x0, 0xbeffd768, 0xb2815fec}, Wvr = {0xaf684f34}, Wcr = {
---Type <return> to continue, or q <return> to quit---
    0xb2815ed0}, Padding2 = {0xbeffd9e8, 0x0}}
(gdb) bt
#0  UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4592
#1  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
#2  0xb6493eda in IL_Rethrow ()
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5412
#3  0xb1b29a18 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) info frame
Stack level 0, frame at 0xbeffd468:
 pc = 0xb6544966 in UnwindManagedExceptionPass1
    (/work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4592); 
    saved pc = 0xb6544cd0
 called by frame at 0xbeffd680
 source language c++.
 Arglist at 0xbeffd460, args: ex=..., frameContext=0xbeffd4d0
 Locals at 0xbeffd460, Previous frame's sp is 0xbeffd468
 Saved registers:
  r7 at 0xbeffd460, lr at 0xbeffd464
(gdb) x/i 0x655803d
   0x655803d:   Cannot access memory at address 0x655803c
(gdb) x/i 0xb655803d
   0xb655803d <CallEHFunclet+16>:   add sp, #4
(gdb) x/i 0xb655803d
   0xb655803d <CallEHFunclet+16>:   add sp, #4
(gdb) bt
#0  UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4592
#1  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
#2  0xb6493eda in IL_Rethrow ()
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5412
#3  0xb1b29a18 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) p/x controlPc
$15 = 0xb655803d
(gdb) up
#1  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
4684    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) p/x frameContext
$16 = {ContextFlags = 0x2020000b, R0 = 0xbeffd4d0, R1 = 0xbeffd768, 
  R2 = 0x8c9, R3 = 0xbeffe9f8, R4 = 0xaf684f74, R5 = 0xaf684f34, R6 = 0x0, 
  R7 = 0x0, R8 = 0x0, R9 = 0x0, R10 = 0xe, R11 = 0xbeffe9f0, R12 = 0xb6f9e428, 
  Sp = 0xbeffda08, Lr = 0xb655803d, Pc = 0xb655803d, Cpsr = 0x20010010, 
  Fpscr = 0x80000010, Padding = 0x475a8, {Q = {{Low = 0x65003800390037, 
        High = 0x2c006c00610072}, {Low = 0x62007500500020, 
        High = 0x4b00630069006c}, {Low = 0x6f005400790065, 
        High = 0x3d006e0065006b}, {Low = 0x63006500630037, 
        High = 0x37006400350038}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x3fe9611a7b9611a8, High = 0x3feccccccccccccd}, {
        Low = 0x4006666666666666, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}}, D = {
      0x65003800390037, 0x2c006c00610072, 0x62007500500020, 0x4b00630069006c, 
      0x6f005400790065, 0x3d006e0065006b, 0x63006500630037, 0x37006400350038, 
      0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3fe9611a7b9611a8, 
      0x3feccccccccccccd, 0x4006666666666666, 0x0 <repeats 13 times>}, S = {
      0x390037, 0x650038, 0x610072, 0x2c006c, 0x500020, 0x620075, 0x69006c, 
      0x4b0063, 0x790065, 0x6f0054, 0x65006b, 0x3d006e, 0x630037, 0x630065, 
      0x350038, 0x370064, 0x0 <repeats 16 times>}}, Bvr = {0x0, 0x80131509, 
    0x0, 0x0, 0x0, 0x0, 0xb6e6b000, 0x1}, Bcr = {0xbeffd75c, 0x0, 0xb2815ed0, 
    0x0, 0xb2815ed0, 0x0, 0xbeffd768, 0xb2815fec}, Wvr = {0xaf684f34}, Wcr = {
---Type <return> to continue, or q <return> to quit---
    0xb2815ed0}, Padding2 = {0xbeffd9e8, 0x0}}
(gdb) break src/vm/exceptionhandling.cpp:4671
Breakpoint 2 at 0xb6544c8e: file /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp, line 4671.
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /sdcard/hf/testrun/corerun xunit.console.netcore.exe System.Buffers.Tests.dll
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
BFD: /usr/lib/debug/.build-id/7d/dece3d2f6183893cf63189c39e9d9943193099.debug: unable to initialize decompress status for section .zdebug_aranges
warning: File "/usr/lib/debug/.build-id/7d/dece3d2f6183893cf63189c39e9d9943193099.debug" has no build-id, file skipped
xUnit.net console test runner (32-bit .NET Core)
Copyright (C) 2014 Outercurve Foundation.


Breakpoint 2, DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4672
4672    /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp: No such file or directory.
(gdb) p/x frameContext
$17 = {ContextFlags = 0x20000b, R0 = 0xbeffe448, R1 = 0xbeffe738, R2 = 0x599, 
  R3 = 0x1, R4 = 0xb2615b60, R5 = 0xbeffe3b4, R6 = 0x0, R7 = 0x0, R8 = 0x0, 
  R9 = 0x0, R10 = 0xe, R11 = 0x0, R12 = 0xb6f9e428, Sp = 0xbeffe9c0, 
  Lr = 0xaf73223d, Pc = 0xaf73223c, Cpsr = 0x20010010, Fpscr = 0x80000010, 
  Padding = 0xb6fe609f, {Q = {{Low = 0x66006e00490064, 
        High = 0x38006300650063}, {Low = 0x500020002c006c, 
        High = 0x69006c00620075}, {Low = 0x790065004b0063, 
        High = 0x65006b006f0054}, {Low = 0x630037003d006e, 
        High = 0x35003800630065}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x4052cccccccccccd, High = 0x4042400000000000}, {
        Low = 0x4011333333333333, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}}, D = {
      0x66006e00490064, 0x38006300650063, 0x500020002c006c, 0x69006c00620075, 
      0x790065004b0063, 0x65006b006f0054, 0x630037003d006e, 0x35003800630065, 
      0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4052cccccccccccd, 
      0x4042400000000000, 0x4011333333333333, 0x0 <repeats 13 times>}, S = {
      0x490064, 0x66006e, 0x650063, 0x380063, 0x2c006c, 0x500020, 0x620075, 
      0x69006c, 0x4b0063, 0x790065, 0x6f0054, 0x65006b, 0x3d006e, 0x630037, 
      0x630065, 0x350038, 0x0 <repeats 16 times>}}, Bvr = {0xb6f10c00, 0x0, 
    0x0, 0xb6d5f000, 0xbeffe9c8, 0x0, 0xb6e6b000, 0x1}, Bcr = {0x5, 0x0, 
    0xb2615ed0, 0xb6f03040, 0xb2615ed0, 0x0, 0xb2615b60, 0xb2615ed0}, Wvr = {
---Type <return> to continue, or q <return> to quit---
    0xb2615c18}, Wcr = {0xb2615b60}, Padding2 = {0xbeffe9b8, 0xb2614984}}
(gdb) bt
#0  DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4672
#1  0xb6493aee in IL_Throw (obj=0xb2615ed0)
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5380
#2  0xaf73223c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) n
4677    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4682    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4684    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) s
UnwindManagedExceptionPass1 (ex=..., frameContext=0xaffce469)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4499
4499    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4503    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4505    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4512    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4513    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4515    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4519    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) p/x ex.ContextRecord
$18 = {ContextFlags = 0x200007, R0 = 0xbeffe168, R1 = 0x0, R2 = 0xffffffff, 
  R3 = 0xbeffe308, R4 = 0xb2615ed0, R5 = 0xb2615c18, R6 = 0x0, 
  R7 = 0xbeffe458, R8 = 0x0, R9 = 0x0, R10 = 0xe, R11 = 0x0, R12 = 0x0, 
  Sp = 0xbeffe3f8, Lr = 0xb632384b, Pc = 0xb632384a, Cpsr = 0x10, Fpscr = 0x0, 
  Padding = 0x0, {Q = {{Low = 0x0, High = 0x0} <repeats 16 times>}, D = {
      0x0 <repeats 32 times>}, S = {0x0 <repeats 32 times>}}, Bvr = {0x0, 0x0, 
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, Bcr = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0}, Wvr = {0x0}, Wcr = {0x0}, Padding2 = {0x0, 0x0}}
(gdb) bt
#0  UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffe448)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4519
#1  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
#2  0xb6493aee in IL_Throw (obj=0xb2615ed0)
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5380
#3  0xaf73223c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) p/x $pc
$19 = 0xb65447cc
(gdb) n
4520    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) p/x controlPc
$20 = 0xaf73223c
(gdb) n
4521    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4523    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4525    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4526    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4528    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4530    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4531    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4532    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4533    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4538    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) p/x dispatcherContext.FunctionEntry
$21 = 0xaf623a6c
(gdb) n
4540    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) p/x *frameContext
$22 = {ContextFlags = 0x20000b, R0 = 0xbeffe448, R1 = 0xbeffe738, R2 = 0x599, 
  R3 = 0x1, R4 = 0xb2615b60, R5 = 0xbeffe3b4, R6 = 0x0, R7 = 0x0, R8 = 0x0, 
  R9 = 0x0, R10 = 0xe, R11 = 0x0, R12 = 0xb6f9e428, Sp = 0xbeffe9c0, 
  Lr = 0xaf73223d, Pc = 0xaf73223c, Cpsr = 0x20010010, Fpscr = 0x80000010, 
  Padding = 0xb6fe609f, {Q = {{Low = 0x66006e00490064, 
        High = 0x38006300650063}, {Low = 0x500020002c006c, 
        High = 0x69006c00620075}, {Low = 0x790065004b0063, 
        High = 0x65006b006f0054}, {Low = 0x630037003d006e, 
        High = 0x35003800630065}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x4052cccccccccccd, High = 0x4042400000000000}, {
        Low = 0x4011333333333333, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}}, D = {
      0x66006e00490064, 0x38006300650063, 0x500020002c006c, 0x69006c00620075, 
      0x790065004b0063, 0x65006b006f0054, 0x630037003d006e, 0x35003800630065, 
      0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4052cccccccccccd, 
      0x4042400000000000, 0x4011333333333333, 0x0 <repeats 13 times>}, S = {
      0x490064, 0x66006e, 0x650063, 0x380063, 0x2c006c, 0x500020, 0x620075, 
      0x69006c, 0x4b0063, 0x790065, 0x6f0054, 0x65006b, 0x3d006e, 0x630037, 
      0x630065, 0x350038, 0x0 <repeats 16 times>}}, Bvr = {0xb6f10c00, 0x0, 
    0x0, 0xb6d5f000, 0xbeffe9c8, 0x0, 0xb6e6b000, 0x1}, Bcr = {0x5, 0x0, 
    0xb2615ed0, 0xb6f03040, 0xb2615ed0, 0x0, 0xb2615b60, 0xb2615ed0}, Wvr = {
---Type <return> to continue, or q <return> to quit---
    0xb2615c18}, Wcr = {0xb2615b60}, Padding2 = {0xbeffe9b8, 0xb2614984}}
(gdb) n
4551    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) p/x *frameContext
$23 = {ContextFlags = 0x2020000b, R0 = 0xbeffe448, R1 = 0xbeffe738, 
  R2 = 0x599, R3 = 0x1, R4 = 0xaf688f74, R5 = 0xaf688f34, R6 = 0x0, R7 = 0x0, 
  R8 = 0x0, R9 = 0x0, R10 = 0xe, R11 = 0xbeffe9f0, R12 = 0xb6f9e428, 
  Sp = 0xbeffe9d0, Lr = 0xb1c8e835, Pc = 0xb1c8e835, Cpsr = 0x20010010, 
  Fpscr = 0x80000010, Padding = 0xb6fe609f, {Q = {{Low = 0x66006e00490064, 
        High = 0x38006300650063}, {Low = 0x500020002c006c, 
        High = 0x69006c00620075}, {Low = 0x790065004b0063, 
        High = 0x65006b006f0054}, {Low = 0x630037003d006e, 
        High = 0x35003800630065}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x4052cccccccccccd, High = 0x4042400000000000}, {
        Low = 0x4011333333333333, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}}, D = {
      0x66006e00490064, 0x38006300650063, 0x500020002c006c, 0x69006c00620075, 
      0x790065004b0063, 0x65006b006f0054, 0x630037003d006e, 0x35003800630065, 
      0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4052cccccccccccd, 
      0x4042400000000000, 0x4011333333333333, 0x0 <repeats 13 times>}, S = {
      0x490064, 0x66006e, 0x650063, 0x380063, 0x2c006c, 0x500020, 0x620075, 
      0x69006c, 0x4b0063, 0x790065, 0x6f0054, 0x65006b, 0x3d006e, 0x630037, 
      0x630065, 0x350038, 0x0 <repeats 16 times>}}, Bvr = {0xb6f10c00, 0x0, 
    0x0, 0xb6d5f000, 0xbeffe9c8, 0x0, 0xb6e6b000, 0x1}, Bcr = {0x5, 0x0, 
    0xb2615ed0, 0xb6f03040, 0xb2615ed0, 0x0, 0xb2615b60, 0xb2615ed0}, Wvr = {
---Type <return> to continue, or q <return> to quit---
    0xb2615c18}, Wcr = {0xb2615b60}, Padding2 = {0xbeffe9b8, 0xb2614984}}
(gdb) bt
#0  UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffe448)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4551
#1  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
#2  0xb6493aee in IL_Throw (obj=0xb2615ed0)
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5380
#3  0xaf73223c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) x/p 0xb1c8e834
0xb1c8e834: Undefined output format "p".
(gdb) x/i 0xb1c8e835
   0xb1c8e835:  mov r6, r0
(gdb) x/i 0xb1c8e834
   0xb1c8e834:  mov r6, r0
(gdb) bt
#0  UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffe448)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4551
#1  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
#2  0xb6493aee in IL_Throw (obj=0xb2615ed0)
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5380
#3  0xaf73223c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) n
4557    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4558    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4561    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4566    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4569    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4570    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) p/x controlPc
$24 = 0xb1c8e835
(gdb) n
4583    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4590    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4634    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4530    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) p/x controlPc
$25 = 0xb1c8e835
(gdb) n
4531    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4532    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4533    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4538    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4540    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) s
RtlVirtualUnwind (HandlerType=3204442008, ImageBase=5, ControlPc=1, 
    FunctionEntry=0xb6ff9210, ContextRecord=0xb6fe99cf, 
    HandlerData=0xb63234cc <RaiseTheExceptionInternalOnly(OBJECTREF, int, int)+1300>, EstablisherFrame=0xb6c9cce3, ContextPointers=0x3)
    at /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp:1510
1510    /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp: No such file or directory.
(gdb) n
1515    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1516    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1519    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1521    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) p/x ContextPointers
$26 = 0x0
(gdb) n
1534    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) s
RtlpUnwindFunctionFull (ControlPcRva=3069250560, ImageBase=664384, 
    FunctionEntry=0xb6efc000, ContextRecord=0xb6ff8000, 
    EstablisherFrame=0xb6d5f000, HandlerRoutine=0x0, HandlerData=0xb2614984, 
    UnwindParams=0x0)
    at /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp:977
977 in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1004    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1010    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1011    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1012    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1018    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1022    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1023    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1025    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1034    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1035    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1036    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1042    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1051    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1052    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1053    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1054    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1055    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1056    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1057    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1064    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1065    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1066    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1075    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1095    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1117    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) u
1118    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1119    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1126    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1127    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1128    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1095    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) until
1155    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1169    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1170    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1172    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1173    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1179    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1180    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1181    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1404    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1172    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1173    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1179    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1187    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1188    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1191    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1193    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1194    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1195    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1197    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1404    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1172    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1173    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1179    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1187    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1203    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1208    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1397    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1410    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1418    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1419    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1420    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1421    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1423    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1424    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1425    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1426    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1427    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1429    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1430    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
RtlVirtualUnwind (HandlerType=1, ImageBase=2982678544, ControlPc=2982733877, 
    FunctionEntry=0xb001e4f8, ContextRecord=0xbeffe448, 
    HandlerData=0xbeffe1d0, EstablisherFrame=0xbeffe1d4, ContextPointers=0x0)
    at /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp:1544
1544    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
1546    in /work/dotnet/arm32/coreclr/src/unwinder/arm/unwinder_arm.cpp
(gdb) n
UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffe448)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4551
4551    /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp: No such file or directory.
(gdb) p/x *frameContext
$27 = {ContextFlags = 0x2020000b, R0 = 0xbeffe448, R1 = 0xbeffe738, 
  R2 = 0x599, R3 = 0x1, R4 = 0xaf688f74, R5 = 0xaf688f34, R6 = 0xb2615b8c, 
  R7 = 0x0, R8 = 0x0, R9 = 0x0, R10 = 0xe, R11 = 0xbeffea28, R12 = 0xb6f9e428, 
  Sp = 0xbeffe9f8, Lr = 0xb1c8e3d9, Pc = 0xb1c8e3d9, Cpsr = 0x20010010, 
  Fpscr = 0x80000010, Padding = 0xb6fe609f, {Q = {{Low = 0x66006e00490064, 
        High = 0x38006300650063}, {Low = 0x500020002c006c, 
        High = 0x69006c00620075}, {Low = 0x790065004b0063, 
        High = 0x65006b006f0054}, {Low = 0x630037003d006e, 
        High = 0x35003800630065}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x4052cccccccccccd, High = 0x4042400000000000}, {
        Low = 0x4011333333333333, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}}, D = {
      0x66006e00490064, 0x38006300650063, 0x500020002c006c, 0x69006c00620075, 
      0x790065004b0063, 0x65006b006f0054, 0x630037003d006e, 0x35003800630065, 
      0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4052cccccccccccd, 
      0x4042400000000000, 0x4011333333333333, 0x0 <repeats 13 times>}, S = {
      0x490064, 0x66006e, 0x650063, 0x380063, 0x2c006c, 0x500020, 0x620075, 
      0x69006c, 0x4b0063, 0x790065, 0x6f0054, 0x65006b, 0x3d006e, 0x630037, 
      0x630065, 0x350038, 0x0 <repeats 16 times>}}, Bvr = {0xb6f10c00, 0x0, 
    0x0, 0xb6d5f000, 0xbeffe9c8, 0x0, 0xb6e6b000, 0x1}, Bcr = {0x5, 0x0, 
    0xb2615ed0, 0xb6f03040, 0xb2615ed0, 0x0, 0xb2615b60, 0xb2615ed0}, Wvr = {
---Type <return> to continue, or q <return> to quit---
    0xb2615c18}, Wcr = {0xb2615b60}, Padding2 = {0xbeffe9b8, 0xb2614984}}
(gdb) bt
#0  UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffe448)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4551
#1  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
#2  0xb6493aee in IL_Throw (obj=0xb2615ed0)
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5380
#3  0xaf73223c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) n
4557    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4558    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4561    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4566    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) jn
Undefined command: "jn".  Try "help".
(gdb) n
4571    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4575    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4576    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n

Breakpoint 2, DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4672
4672    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) bt
#0  DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4672
#1  0xb6493eda in IL_Rethrow ()
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5412
#2  0xb1c8ea18 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) info threads
  Id   Target Id         Frame 
* 1    LWP 6679 "corerun" DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4672
(gdb) p/x frameContext
$28 = {ContextFlags = 0x20000b, R0 = 0xbeffd4d0, R1 = 0xbeffd768, R2 = 0x599, 
  R3 = 0x1, R4 = 0xb2615ed0, R5 = 0xbeffd43c, R6 = 0x0, R7 = 0x0, R8 = 0x0, 
  R9 = 0x0, R10 = 0xe, R11 = 0x0, R12 = 0xb6f9e428, Sp = 0xbeffd9f0, 
  Lr = 0xb1c8ea19, Pc = 0xb1c8ea18, Cpsr = 0x20010010, Fpscr = 0x80000010, 
  Padding = 0x475a8, {Q = {{Low = 0x65003800390037, High = 0x2c006c00610072}, {
        Low = 0x62007500500020, High = 0x4b00630069006c}, {
        Low = 0x6f005400790065, High = 0x3d006e0065006b}, {
        Low = 0x63006500630037, High = 0x37006400350038}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x0, High = 0x0}, {Low = 0x3fe9611a7b9611a8, 
        High = 0x3feccccccccccccd}, {Low = 0x4006666666666666, High = 0x0}, {
        Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, 
        High = 0x0}, {Low = 0x0, High = 0x0}, {Low = 0x0, High = 0x0}, {
        Low = 0x0, High = 0x0}}, D = {0x65003800390037, 0x2c006c00610072, 
      0x62007500500020, 0x4b00630069006c, 0x6f005400790065, 0x3d006e0065006b, 
      0x63006500630037, 0x37006400350038, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
      0x0, 0x3fe9611a7b9611a8, 0x3feccccccccccccd, 0x4006666666666666, 
      0x0 <repeats 13 times>}, S = {0x390037, 0x650038, 0x610072, 0x2c006c, 
      0x500020, 0x620075, 0x69006c, 0x4b0063, 0x790065, 0x6f0054, 0x65006b, 
      0x3d006e, 0x630037, 0x630065, 0x350038, 0x370064, 
      0x0 <repeats 16 times>}}, Bvr = {0x0, 0x80131509, 0x0, 0x0, 0x0, 0x0, 
    0xb6e6b000, 0x1}, Bcr = {0xbeffd75c, 0x0, 0xb2615ed0, 0x0, 0xb2615ed0, 
    0x0, 0xbeffd768, 0xb2615fec}, Wvr = {0xaf688f34}, Wcr = {0xb2615ed0}, 
---Type <return> to continue, or q <return> to quit---
  Padding2 = {0xbeffd9e8, 0x0}}
(gdb) p/x $pc
$29 = 0xb6544c8e
(gdb) n
4677    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) bt
#0  DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4677
#1  0xb6493eda in IL_Rethrow ()
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5412
#2  0xb1c8ea18 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) n
4682    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n
4684    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) n

Breakpoint 1, UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4592
4592    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) p/x controlPc
$30 = 0xb655803d
(gdb) c
Continuing.

Breakpoint 1, UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4592
4592    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) p/x controlPc
$31 = 0xb6d5f000
(gdb) bt
#0  UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4592
#1  0xb6544cd0 in DispatchManagedException (ex=...)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4684
#2  0xb6493eda in IL_Rethrow ()
    at /work/dotnet/arm32/coreclr/src/vm/jithelpers.cpp:5412
#3  0xb1c8ea18 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) c
Continuing.

Breakpoint 1, UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4592
4592    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) p/x controlPc
$32 = 0xb6d5f000
(gdb) c
Continuing.

Breakpoint 1, UnwindManagedExceptionPass1 (ex=..., frameContext=0xbeffd4d0)
    at /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp:4592
4592    in /work/dotnet/arm32/coreclr/src/vm/exceptionhandling.cpp
(gdb) p/x controlPc
$33 = 0xb6d5f000
(gdb) 

Tracking #4589

  1. isManagedCode of HandleHardwareException() in src/vm/exceptionhandling.cpp is 0 where JIT gives null pointer to the assembly native function, JIT_WriteBarrier, which actually accesses the pointer given by JIT.
  2. DispatchManagedException in that case should catch in its try or go , but reaches to throw ex.

lib path settings

it seems there is a way to set coreclr and corefx paths separately from .exe. Look at clr unit test scripts.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.