Re: DIB crash with gdb

2011-12-28 Thread Michael Ost
On 12/23/2011 09:56 PM, Ken Thomases wrote: On Dec 23, 2011, at 3:10 PM, Michael Ost wrote: This all makes sense, and pulls the code together for me. Thanks! You're welcome. I assume this is a recent development, because I was successfully using gdb with our last wine version - 1.1.7.

Re: DIB crash with gdb

2011-12-25 Thread Marcus Meissner
On Fri, Dec 23, 2011 at 11:56:35PM -0600, Ken Thomases wrote: On Dec 23, 2011, at 3:10 PM, Michael Ost wrote: This all makes sense, and pulls the code together for me. Thanks! You're welcome. I assume this is a recent development, because I was successfully using gdb with our last

Re: DIB crash with gdb

2011-12-23 Thread Michael Ost
On 12/22/11 8:20 PM, Ken Thomases wrote: On Dec 22, 2011, at 8:14 PM, Vitaliy Margolen wrote: On 12/22/2011 04:45 PM, Michael Ost wrote: I'm seeing a SEGV crash when running any wine program with wine 1.3.24 in gdb but not when running without the debugger. The crash is happening when

Re: DIB crash with gdb

2011-12-23 Thread Ken Thomases
On Dec 23, 2011, at 3:10 PM, Michael Ost wrote: This all makes sense, and pulls the code together for me. Thanks! You're welcome. I assume this is a recent development, because I was successfully using gdb with our last wine version - 1.1.7. Nope. This is how it has worked for a long,

DIB crash with gdb

2011-12-22 Thread Michael Ost
Hi, Is it possible that AddVectoredExceptionHandler doesn't work when running wine under gdb? Or maybe it doesn't work in a 32bit wine running in a 64bit system? I'm seeing a SEGV crash when running any wine program with wine 1.3.24 in gdb but not when running without the debugger. The

Re: DIB crash with gdb

2011-12-22 Thread Vitaliy Margolen
On 12/22/2011 04:45 PM, Michael Ost wrote: Hi, I'm seeing a SEGV crash when running any wine program with wine 1.3.24 in gdb but not when running without the debugger. The crash is happening when writing to memory allocated by CreateDIBSection in the function create_alpha_bitmap(). The code is

Re: DIB crash with gdb

2011-12-22 Thread Ken Thomases
On Dec 22, 2011, at 8:14 PM, Vitaliy Margolen wrote: On 12/22/2011 04:45 PM, Michael Ost wrote: I'm seeing a SEGV crash when running any wine program with wine 1.3.24 in gdb but not when running without the debugger. The crash is happening when writing to memory allocated by