App non running with +relay enabled

Michael Karcher wine at mkarcher.dialup.fu-berlin.de
Thu Jun 26 04:47:50 CDT 2008


Am Donnerstag, den 26.06.2008, 10:37 +0200 schrieb Massimo:
> What could be the reason of an app running fine with no relay enabled, 
> but exiting very soon with it enabled ?

Different reasons.
 - A debugger detection that detects the relay thunks as debugger. Some
copy protection schemes are a bit picky.
 - A race condition in the application that gets exploited by the big
overhead of relay dumping.
 - Something times out when doing relay traces.
 - Use of uninitialized stack variables in. The contents of
uninitialized variables can be very different with and without relay
tracing. The bug might be in wine (forgetting to initialize something
that must be initialized) or in a callback function of the application
that by accident expects a zero in an uninitialized variable.
 - A bug in wine that causes a crash in relay dumping code (only if you
see a backtrace at the end of the log; on the other hand, relay seems
like a mostly safe channel, as it does not print user data except for
strings, and that codepath is very well exercised.)

Regards,
  Michael Karcher




More information about the wine-devel mailing list