https://bugs.winehq.org/show_bug.cgi?id=36288
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Austin English from comment #1)
On my laptop, it's: ==28218== Thread 3: ==28218== Invalid read of size 1 ==28218== at 0x4009EB8: strlen (vg_replace_strmem.c:412) ==28218== by 0x7B875FBC: lstrlenA (string.c:194) ==28218== by 0x4B2665B: threadFunc1 (thread.c:223) ==28218== by 0x7BC87137: ??? (signal_i386.c:2571) ==28218== by 0x7BC87180: call_thread_func (signal_i386.c:2630) ==28218== by 0x7BC87115: ??? (signal_i386.c:2571) ==28218== by 0x7BC8E560: start_thread (thread.c:428) ==28218== by 0x4EA7BD89: start_thread (in /usr/lib/libpthread-2.18.so) ==28218== by 0x4E95CA0D: clone (in /usr/lib/libc-2.18.so) ==28218== Address 0xdeadbeef is on thread 1's stack ==28218==
This is expected according to the source code:
222 /* lstrlenA contains an exception handler so this makes sure exceptions work in threads */ 223 ok( lstrlenA( (char *)0xdeadbeef ) == 0, "lstrlenA: unexpected success\n " );