[x86/Linux] Fix SIGSEGV on Debugger.Break() during debugging. tizen_5.5_mobile_hotfix submit/tizen_5.5_mobile_hotfix/20210923.022210
authorMikhail Kurinnoi <m.kurinnoi@samsung.com>
Mon, 20 Sep 2021 15:20:04 +0000 (08:20 -0700)
committerHyungju Lee <leee.lee@samsung.com>
Thu, 23 Sep 2021 02:21:40 +0000 (11:21 +0900)
commitd5ce68ddc5785083fa035342cfcf19a89d25647f
treed98f17178c405fd68e8979875296e1e0950ce804
parentbe1aa1bf368dd47765d429ee0e557d8cb26f9bfd
[x86/Linux] Fix SIGSEGV on Debugger.Break() during debugging.

SIGSEGV occur in src/vm/i386/cgenx86.cpp `HelperMethodFrame::UpdateRegDisplay()` at line `pRD->pCurrentContext->Eip = pRD->ControlPC = m_MachState.GetRetAddr();`, since `pRD->pCurrentContext` is NULL.
The point of issue - wrong code block compilation in DebuggerWalkStack() in case of Linux x86.
src/debug/ee/frameinfo.cpp