Open jovanbulck opened 1 month ago
Problem is happening on a Comet Lake i9-10900K
$ uname -srvp
Linux 5.15.0-124-generic #134-Ubuntu SMP Fri Sep 27 20:20:17 UTC 2024 x86_64
Fwiw: I think what may go wrong here is that rcu calls the scheduler timeout so the kernel configures the apic tsc_deadline but sxgstep still has it in oneshot mode so the timer never fires and the rcu check blocks somehow
Example dmesg:
app is blocked in D state and reboot is the only remedy
After some digging, it seems this is caused by an explicit call to
sgx_destroy_enclave
before process exit.From the call trace above, the problem seems to be caused by:
Possible hypothesis: