mystikos icon indicating copy to clipboard operation
mystikos copied to clipboard

[aspnetcore5] Microsoft.AspNetCore.ResponseCompression.Tests fails with SIGSEGV

Open vtikoo opened this issue 3 years ago • 0 comments

Seeing a SIGSEGV failure where the rip is outside the enclave range. The error seems to happen in libz.so's deflateResetKeep function.

(lldb) bt
* thread #10, name = 'myst', stop reason = signal SIGSEGV: invalid address (fault address: 0x2000)
frame #0: 0x0000000000002030
* frame #1: 0x0000000201df612a libz.so.1`deflateResetKeep + 298
frame #2: 0x0000000201df6153 libz.so.1`deflateReset + 19
frame #3: 0x0000000201b14781 libSystem.IO.Compression.Native.so`CompressionNative_DeflateInit2_ + 129

disas of the frame #1 - 0x201df6125 <+293>: callq 0x201df4290 ; crc32
-> 0x201df612a <+298>: jmp 0x201df60d4 ; <+212>
0x201df612c <+300>: nopl (%rax)
0x201df6130 <+304>: movl $0xfffffffe, %eax ; imm = 0xFFFFFFFE
0x201df6135 <+309>: retq

vtikoo avatar Feb 09 '22 01:02 vtikoo