wine's conformance test kernel32/thread.ok always fails/crashes on ubuntu 11.10

Bug #872063 reported by Dan Kegel
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wine1.2 (Ubuntu)
Won't Fix
Medium
Scott Ritchie
wine1.3 (Ubuntu)
Won't Fix
Medium
Scott Ritchie

Bug Description

I'm building wine from git on a freshly installed, up to date ubuntu 11.10 beta 2.
kernel32/thread.ok fails reliably for me, on both an i7 and an i5,
whether or not I use taskset to restrict it to a single core. Log:

cd dlls/kernel32/tests
make thread.ok
...
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

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,
so I think wineserver is also deeply unhappy.)

Also filed as http://bugs.winehq.org/show_bug.cgi?id=28640
since it's not clear if it's a wine bug, an ubuntu bug, or a kernel bug yet.

Revision history for this message
Dan Kegel (dank) wrote :

Was using default gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1,
recompiling just kernel32 with gcc-4.5 made the error go away.

So it's a wine bug and/or a gcc bug...

Revision history for this message
Dan Kegel (dank) wrote :

There is at least one gcc problem report related to wine in debian,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641056
though I have no idea if it's related.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Need to force the package to build with gcc-4.5 then.

affects: wine (Ubuntu) → wine1.2 (Ubuntu)
Changed in wine1.2 (Ubuntu):
assignee: nobody → Scott Ritchie (scottritchie)
status: New → Triaged
Changed in wine1.3 (Ubuntu):
status: New → Triaged
Changed in wine1.2 (Ubuntu):
importance: Undecided → Medium
Changed in wine1.3 (Ubuntu):
importance: Undecided → Medium
assignee: nobody → Scott Ritchie (scottritchie)
Revision history for this message
Dan Kegel (dank) wrote :

Might be the change in gcc defaults, see http://bugs.winehq.org/show_bug.cgi?id=28753

Revision history for this message
Scott Ritchie (scottritchie) wrote :

See also: https://bugs.launchpad.net/ubuntu/+source/wine1.3/+bug/900901 (changing the GCC version to 4.5 in 11.10 and 12.04)

Revision history for this message
Scott Ritchie (scottritchie) wrote :

This is fixed in the wine1.4 packages. Closing the old bug tasks.

Changed in wine1.3 (Ubuntu):
status: Triaged → Won't Fix
Changed in wine1.2 (Ubuntu):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.