Re: Crash confuses me

2013-03-09 Thread Graham
On 09/03/13 14:08, André Hentschel wrote: > Am 09.03.2013 02:40, schrieb Graham: >> 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 use

Re: Crash confuses me

2013-03-09 Thread Graham
On 09/03/13 06:03, Marcus Meissner wrote: > On Sat, Mar 09, 2013 at 01:40:00AM +, Graham wrote: >> 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...? >

Re: Crash confuses me

2013-03-09 Thread André Hentschel
Am 09.03.2013 02:40, schrieb Graham: > 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. >> Re

Re: Crash confuses me

2013-03-08 Thread Marcus Meissner
On Sat, Mar 09, 2013 at 01:40:00AM +, Graham wrote: > 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

Re: Crash confuses me

2013-03-08 Thread Graham
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 loade

Re: Crash confuses me

2013-03-08 Thread Francois Gouget
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 lib

Re: Crash confuses me

2013-03-08 Thread Marcus Meissner
On Thu, Mar 07, 2013 at 07:53:57PM +, Graham wrote: > I use a LD_PRELOAD before running wine so that i can debug my application. > > The library which is preloaded is able to replace system dlsym and from > that, other consequence library call. > > There is no problem until, i put some Detour

Re: Crash confuses me

2013-03-08 Thread GOUJON Alexandre
On 03/07/2013 08:53 PM, Graham wrote: Another thing to notice is that this was tested using wine1.4.1 However it DOES work with wine1.5.10 [...] If it works with the latest version, it means there was a bug and we fixed it. Each commit is as small as possible to ease the identification of the

Crash confuses me

2013-03-07 Thread Graham
I use a LD_PRELOAD before running wine so that i can debug my application. The library which is preloaded is able to replace system dlsym and from that, other consequence library call. There is no problem until, i put some Detour code(hot patching) into the kernel32.dll.so address space. But the