Thread tests failure on Windows

Paul Vriens paul.vriens at xs4all.nl
Fri Nov 18 02:55:34 CST 2005


> * On Thu, 17 Nov 2005, Eric Pouech wrote:
>> * Paul Vriens wrote:
>> >
>> > I've not been able to get the kernel thread tests working on windows.
>> > The only thing I've found is that changing thread.c:
>> >
>> >     /* simulate a call to set_test_val(10) */
>> > #if 0
>> >     stack = (int *)ctx.Esp;
>> >     stack[-1] = 10;
>> >     stack[-2] = ctx.Eip;
>> >     ctx.Esp -= 2 * sizeof(int *);
>> >     ctx.Eip = (DWORD)set_test_val;
>> > #endif
>> >
>> > makes the test run instead of crashing.
>> >
>> > What worries me (maybe needless) is that the test runs OK on Wine. So
>> > either we're way better or we implement things differently.
>>
>> is it still the case with latest CVS ?
>
> you mean with latest Winetest-*.exe package?  yes it is still present. [1]
> if you look at the "kernel32:thread" line you'll notice all OSes crashing.
> strange enough is the fact, that some win98s don't crash. [2]  maybe that
> are those which runs under Qemu emulator? (w98.ie50.dx61 and w98.ie6.dx81)
>
>
> [1] http://test.winehq.org/data/200511171000/
> [2] http://test.winehq.org/data/200511161000/#Win98
>
>
I first though that maybe it has to do with running the tests on VMware
(most of my test results on test.winehq.org are from VMware images), but
my WinXP box at home also fails.

And as Saulius already mentioned, the current output on test.winehq.org is
with latest CVS (including your fix for the set_test_val routine).

Paul.




More information about the wine-devel mailing list