wine 0.9.5 - segmentation fault with some apps

Alexandre Julliard julliard at
Fri Jan 20 12:23:02 CST 2006

Alex Villací­s Lasso <a_villacis at> writes:

> The exception handler is supposed to return NULL in case of a page
> fault (such as trying to access a NULL pointer, as is your
> case). However, I think I saw a discussion somewhere in wine-devel
> that advised *not* to return from inside an __EXCEPT clause of an
> exception handler in Wine (most probably because __ENDTRY needs to run
> in order to clean up). If this is true, then RtlImageNtHeader is
> violating this rule. Your segmentation fault might be the expected
> result of a violation of the return rule. Could anybody in wine-devel
> speak up to confirm or refute this observation about exception
> handlers?

Returning from inside the __TRY block is forbidden, but returning from
the __EXCEPT block is fine.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list