-
Notifications
You must be signed in to change notification settings - Fork 508
"pow3" received signal SIGSEGV , Segmentation fault. #5850
Comments
This looks like a GC heap corruption. @BredPet Do this work on Tizen? |
Yes, We are working in one project at this moment. |
AddressSanitizer is unlikely going to help you to trace this down. AddressSanitizer is for C/C++ programs. The .NET garbage collector is too level for AddressSanitizer.
|
cc @dotnet/arm32-contrib |
The call |
I've compiled the pow3 test (.tests_downloaded/CoreCLR/Regressions/common/pow3) for ARM and x86_64. The test works fine at x86_64 and fails at ARM with SIGSEGV signal:
(gdb) bt
#0 EEType::get_IsValueType (this=0x1080000) at /dotnet/corert/src/Native/Runtime/inc/eetype.h:412
#1 0x00024984 in RhpBox (pObj=0x54aed8, pData=0xbefff1b0) at /dotnet/corert/src/Native/Runtime/gcrhenv.cpp:768
#2 0x00255d50 in S_P_CoreLib_System_Runtime_RuntimeExports__RhBox (pEEType=..., data=@0xbefff1b0: 86 'V') at /dotnet/corert/src/Runtime.Base/src/System/Runtime/RuntimeExports.cs:110
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
The InternalCalls.RhpNewFast(ptrEEType) at RuntimeExports.cs:108 returns
(gdb) p result
$1 = (Object &) @0x54aed8: {m_pEEType = 0x1080000}
and
m_pEEType is used as pointer in S_P_CoreLib_System_Runtime_RuntimeExports__RhBox in gcrhenv.cpp:768
and leads to SIGSEGV.
Could you help me to debug the issue?
The text was updated successfully, but these errors were encountered: