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 CreateDI

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 i

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 crash

Re: [PATCH] gdi32: initialize src fully (Coverity)

2011-12-22 Thread Alexandre Julliard
Marcus Meissner writes: > The .layout member is not initialized, but the whole struct > is copied to "dst", triggering an uninitialized warning. That's only hiding potential bugs. -- Alexandre Julliard julli...@winehq.org

Re: [2/2] msvcr90: Implement fread_s.

2011-12-22 Thread Piotr Caban
On 12/22/11 12:08, Kusanagi Kouichi wrote: It might be my fault. I can mix them normally. But even if the test do only fopen() fread_s() I've send a simple test to test bot. It doesn't crash there, it also shows when read_s should succeed and fails with your implementation. https://testbot.win

Wine Gecko 1.5 delayed

2011-12-22 Thread Jacek Caban
Hi all, Earlier this week, Firefox 9 was released and Firefox 10 went to beta channel. It would usually mean that we'd have new Gecko update beta version within days. However, that would mean the final version would have be merged to Wine in 6 weeks from now, which will probably be in a middl

Re: [2/2] msvcr90: Implement fread_s.

2011-12-22 Thread Kusanagi Kouichi
On 2011-12-21 17:34:49 +0100, Piotr Caban wrote: > On 12/21/11 16:49, Kusanagi Kouichi wrote: > >+ if (bufsize / size< count) > >+ { > >+_invalid_parameter(NULL, NULL, NULL, 0, 0); > >+fseek(fp, bufsize, SEEK_CUR); > It's not correct to make a seek here. The file position changes > you'r

Re: [1/2] ws2_32/tests: Test some completion port behaviour.

2011-12-22 Thread Hans Leidekker
Hi Ričardas, > +key = 0xdeadbeef; > +num_bytes = 0xdeadbeef; > +olp = (WSAOVERLAPPED *)0xdeadbeef; > +bret = GetQueuedCompletionStatus( io_port, &num_bytes, &key, &olp, 100 ); > +todo_wine ok( bret == FALSE && GetLastError() == ERROR_NETNAME_DELETED, > "failed to get completio