On Fri Jul 4 19:20:56 2025 +0000, Yuxuan Shui wrote:
looks like I cannot unwind through user mode callback on native. unwind stops with a `STATUS_FATAL_USER_CALLBACK_EXCEPTION`. i can capture stacktrace though, which is not working on wine without this rbp fix.
What do you mean by unwind here: unwind as in execute exception handler above user mode callback, or RtlVirtualUnwindEx without actual jump? It would be overly weird if the latter can't work, that is behind RtlCaptureStackBackTrace mechanics, hard to guess how it is possible that you can unwind through RtlCaptureStackBackTrace on Windows but not when you do what it does (according to Wine code) directly. Maybe some problem in such a test setup?