On Tue, 12 Aug 2003 13:59:13 -0500, you wrote:
> ChangeSet ID: 8958
> CVSROOT: /home/winehq/opt/cvs-commit
> Module name: wine
> Changes by: julliard(a)wine.codeweavers.com 2003/08/12 13:59:13
>
> Modified files:
> scheduler : pthread.c
> dlls/ntdll : sysdeps.c
>
> Log message:
> Fixed the pthread wrappers to work with the new glibc/linuxthreads
> interface in glibc 2.3.2.
>
This causes thread related failures on my Debian unstable system using
glibc 2.3.2 (nptl not enabled). For example his is Agent after calling
WSAAsyncGetHostByName:
| Unhandled exception: page fault on read access to 0xdbdbdbe3 in 32-bit code (0x402ddfaa).
| In 32-bit mode.
| 0x402ddfaa (NTDLL.DLL.memcpy+0x65fe6 in libc.so.6): testb $0x1,0x8(%eax)
| Wine-dbg>bt
| Backtrace:
| =>0 0x402ddfaa (NTDLL.DLL.memcpy+0x65fe6 in libc.so.6) (ebp=42302e38)
| 1 0x402e0195 (NTDLL.DLL.memcpy+0x681d1 in libc.so.6) (ebp=42302e98)
| 2 0x4175b8d7 (_async_queryfun+0x1d3(arg=0x4041e480) [async.c:401] in ws2_32.dll.so) (ebp=42302f14)
| 3 0x400a0e93 (THREAD_Start+0xd3 [thread.c:1622] in libntdll.dll.so) (ebp=42302fe0)
| 4 0x400ba9e3 (SYSDEPS_StartThread+0x27(teb=0x42303000) [sysdeps.c:154] in libntdll.dll.so) (ebp=42302ff4)
| 5 0x402cf217 (NTDLL.DLL.memcpy+0x57253 in libc.so.6) (ebp=00000000)
(it crashes inside gethostbyname(), without obvious reason).
Debugging hints are most welcome.
Rein.
--
Rein Klazes
rklazes(a)xs4all.nl