You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Koromix after i fix the seh issue on win32, i found another problem which SetUnhandledExceptionFilter is not working either. I guess it's because empty exceptionlist when swith to koffi's own stack. it's bypass the windows check exception chain but break the link to default exception chain. i also check the vector exception handle tec but it's not what i need here.i think to fix this problem here is to add a toplevel exception handler in the exception chain after swith to koffi's own stack as the windows do in default stack.I will research on that. do u have a better idea?
The text was updated successfully, but these errors were encountered:
How does SetUnhandledExceptionFilter() fail: does it work but the filter is never called (which is expected given that we truncate the handler chain). Or does SetUnhandledExceptionFilter() fail with an error code?
SetUnhandledExceptionFilter can work. the problem is the filter is never called. my app use the UnhandledExceptionFilter to detect the native library runtime crash problem to report. it's a pretty normal solution on windows platform. it's not working now. I have wrote some code to add a toplevel seh frame when switch to koffi's own stack, as i tested it can make UnhandledExceptionFilter work. I'll push my changes in 2days.
@Koromix after i fix the seh issue on win32, i found another problem which SetUnhandledExceptionFilter is not working either. I guess it's because empty exceptionlist when swith to koffi's own stack. it's bypass the windows check exception chain but break the link to default exception chain. i also check the vector exception handle tec but it's not what i need here.i think to fix this problem here is to add a toplevel exception handler in the exception chain after swith to koffi's own stack as the windows do in default stack.I will research on that. do u have a better idea?
The text was updated successfully, but these errors were encountered: