http://bugs.winehq.org/show_bug.cgi?id=28640
Bug #: 28640 Summary: kernel32/thread.ok fails on ubuntu 11.10? Product: Wine Version: 1.3.30 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
Don't know if this is a wine bug, an ubuntu bug, or a kernel bug yet.
kernel32/thread.ok fails reliably for me on ubuntu 11.10 (which uses linux-3.0.0, fwiw). Logs are slightly clearer when run on a single core, but it still fails. Log:
dank@i7:~/wine-git/dlls/kernel32/tests$ taskset -c 0 make thread.ok ../../../tools/runtest -q -P wine -M kernel32.dll -T ../../.. -p kernel32_test.exe.so thread.c && touch thread.ok fixme:thread:NtQueryInformationThread Cannot get kerneltime or usertime of other threads thread.c:823: Test failed: SetThreadAffinityMask(thread,-1) failed to request all processors. fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub Protocol error:003b: partial read 12 wine client error:3a: read: Bad address err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x690abb19 wine client error:b: write: Bad file descriptor wine client error:27: write: Bad file descriptor
The errors vary, but there's always a bad file descriptor, and often a crash. Sometimes starting a wineserver in the foreground fails because trying to get the /tmp/.wine-.../lock fails with EAGAIN, too.
I'll attach a +relay,+seh log. Looks kinda like a null pointer read crash near the start of the thread that runs a queued work item?