[Bug 36288] valgrind shows an invalid read in kernel32/tests/thread.c

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jun 2 05:30:16 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=36288

Austin English <austinenglish at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #3 from Austin English <austinenglish at gmail.com> ---
(In reply to Bruno Jesus from comment #2)
> (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     " );

Marked as intentonal, thanks.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list