Crash confuses me

Graham graham at
Fri Mar 8 19:40:00 CST 2013

On 08/03/13 22:40, Francois Gouget wrote:
> On Fri, 8 Mar 2013, Marcus Meissner wrote:
> [...]
>> "real NOVICE" and using LD_PRELOAD or "hotpatching" does not fit together for me...?
>> - wine uses it own elfloader, which might cause issues.
> Really? I thought it used the standard elf loader hence the need for 
> tricks to get the native libraries to load in the right place. What it 
> does have however is its own PE loader. Not sure if it's relevant here.

the functions i detoured in were LoadLibrary and
FreeLibrary, the question still remains how its even possible, this
should be a fairly straight-forward thing to answer for you developers,
i would had thought.  If its too much to understand , please say :/

i put code which detours LoadLibrary and FreeLibrary in
, but the code only runs at a later certain time after program execution
... ( trigger is actually a certain library loaded, i detect it in dlsym
) ... But in wine 1.4.1 the program crashes at a time earlier than the
triggered detour, understand??  This don't seem physically possible, any

More information about the wine-devel mailing list