WineHQ

World Wine News

All the news that fits, we print.

11/14/2003
by Brian Vincent
Issue: 196

XML source
More Issues...

This is the 196th issue of the Wine Weekly News publication. Its main goal is to ski. It also serves to inform you of what's going on around Wine. Wine is an open source implementation of the Windows API on top of X and Unix. Think of it as a Windows compatibility layer. Wine does not require Microsoft Windows, as it is a completely alternative implementation consisting of 100% Microsoft-free code, but it can optionally use native system DLLs if they are available. You can find more info at www.winehq.org


This week, 171 posts consumed 540 K. There were 61 different contributors. 35 (57%) posted more than once. 31 (50%) posted last week too.

The top 5 posters of the week were:

  1. 13 posts in 35K by Mike Hearn
  2. 11 posts in 28K by Alexandre Julliard
  3. 8 posts in 22K by Shachar Shemesh
  4. 7 posts in 18K by Dimitrie O. Paun
  5. 6 posts in 16K by Thomas Brix Larsen

More Games Reviewed 11/09/2003 Archive
DirectX

Last week Carlos Lozano reported some success with games. Thomas Brix Larsen decided to do a test of his own:

Motivated by my previous mail to the list, I have tried some more of my games with wine, and 2 out of 5 works perfect, but has some minor problems. Hmm, I guess a trace could be needed on some of them? But anyway here it goes:

  • Risk II:
    The "loading screen" displays, but:
      wine: Unhandled exception (thread 0009), starting debugger...
  • Empire Earth:
      winevdm: can't exec 'G:\Empire Earth\Empire Earth.exe': error=21
  • Europa Universalis 2:
    Is a bit slow but works perfectly. :D But can only be started from the konsole. If I try to start it from konqueror it says it can't find its data files. Something to do with konqueror not setting cwd? (or whatever it's called) The konsole is full of:
      err:ddraw:Main_DirectDrawSurface_GetSurfaceDesc Impossible/Strange struct size 0.
  • BattleField 1942:
    A lot of KEYFOUND: ... happens. But there is never displayed any graphic. Could this be something to do with the no-cd crack?
  • Master of Orion 3:
    Game works perfect, some menu graphic missing, and mouse cursor ugly. I found something VERY interesting with this game and wine, the nebulas in game is different in wine and surely looks way better :D.


Wine Lecture in Tel Aviv 11/10/2003 Archive

Shachar Shemesh is giving another lecture about Wine. If you happen to be in Israel you might want to check it out:

Last time the subject came up, someone suggested I make the date available so it can be published on the winehq.org site.

I'm going to give a lecture about Wine in a club called "Telux". The web site is at http://www.cs.tau.ac.il/telux/ (supposedly in Hebrew, but if you click the "Advanced lectures" english link at the left, you will get a pretty readable schedule even for non-Hebrew speaking).

The lecture will be on Nov 30th, at the Tel Aviv University. The lecture will be given in Hebrew. It will start 18:30 in the math building at the university. No advance registration is required, and no fee.


Top 30 on SourceForge 11/10/2003 Archive
Project Management

Dimi Paun looked at some SourceForge stats and reported:

I've just checked and we're in Top 30 downloads over the last 7 days at SourceForge. More exactly, we're 28th most downloaded project, with over 20000 downloads. Not bad.

We'll need over 30000 d/l for Top 20, and over 50000 for Top 10. We'll get there sooner or later. :)


ALSA 1.0 Support 11/09/2003 Archive
Multimedia

Sylvain Petreolle posted two patches for ALSA 1.0 support and put a call out for testers:

This patch is almost complete, one macro hasn't been rewritten yet.

alsa09.diff must be applied to allow compilation with alsa 0.9.

Please test it with alsa 0.9 or 1.0 and give me the result.

Sylvain provided the patch for ALSA 0.9 support and then another for 1.0.


Exec-Shield Problems 10/13/2003 Archive
Fixes

Sylvain Petreolle reported a problem with some threading changes Alexandre made:

With yesterday cvs update, whch adds a glibc-threading detection, wine doesn't load a _Windows_ program anymore.

Using the RedHat rpm Yarrow kernel, I get :

    err:virtual:map_image Standard load address for a Win32 program
    (0x00400000) not available - security-patched kernel ?
    wine: could not load L"C:\\arakas.exe" as Win32 binary

Funny thing : If I set up a symlink to the wine-glibc in another directory, it works without problems.

Mike Hearn asked, Well, are you sure you have disabled exec-shield for the actual wine binaries being used? Sylvain reported that he had never activated exec-shield and that things worked fine a week ago. Vincent Béron felt that was the problem too and explained a possible scenario like Sylvain described:

Exec-shield is activated by default, as well as prelinking. Read the release notes of Yarrow if you want to disable them.

What probably happened is you were lucky the first week, in that the random addresses assigned to the various libraries left 0x400000 (the default loading address for Win32 binaries) available, and with enough place to load what you loaded.

The loading addresses for system libraries are changed once per week (or 2 weeks, don't remember). System libraries added after the last complete assignation are assigned a random address at each load, so is you try to execute 10 times in a row the same program, it'll fail some of the time and succeed the remaining times.

I haven't been able to see that message with winelib applications (probably not in a codepath used for winelib apps, didn't checked yet). But it's pretty easy to hit if using Win32 apps.

Disabling exec-shield (either via setarch i386 or with the proc thing) works sometimes, depending on the loading addresses assigned to libraries. If something (libc, libm, libdl, etc.) uses that address, nothing Win32 will be usable. When exec-shield is disabled, new libraries will be assigned loading addresses starting at the lower value possible, but already assigned ones (via prelinking) will still keep theirs, hence possibly blocking execution.

Vincent replied a few days later with more information on the problem:

Sorry, forgot to come back to say how testing went.

The best workaround I found (from http://www.codeweavers.com/support/tickets/browse/?ticket_id=34072 ) is to change the default prelinking options, so that the required address is still free for Win32 apps.

If you're hit by this, in file /etc/sysconfig/prelink, change

    PRELINK_OPTS=-mR

to

    PRELINK_OPTS="-mR --no-exec-shield"

The loading addresses chosen will be from 0x40000000, the default value on Linux systems, rather than trying to put the maximum of libraries before 0x01000000 (so that the first byte is always 0x00, rendering string buffer overflows mor difficult to exploit), hence crowding the area we want to keep free (0x00400000).

So far (little testing only, but still), I haven't had a problem with those settings, either running Wine or Linux apps.

Further reading in the referenced page shows Alexandre is in contact with some RedHat people, so hopefully they can come to a solution. RHEL 3 is affected as well, not only Fedora.


Volunteers Needed For LinuxWorld Booth 11/13/2003 Archive
Project Management

Jeremy White put out a call for volunteers to help with a booth at LinuxWorld:

I somewhat impetuously requested a table for the Wine Project at the LinuxWorld New York expo, without really thinking if anyone could man the table.

We'll have a CodeWeavers specific area in another part of the expo, so we won't really be able to provide a lot of help (and won't need any extra promotion).

So, I was wondering if anyone wanted to go to New York and represent the Wine Project.

If so, let me know privately. If I don't hear anything, I'll quietly tell IDG <small> nevermind </small>.

LinuxWorld will be at the Javitz Center in New York City on January 21-23, 2004.


All Kernel Cousin issues and summaries are copyright their original authors, and distributed under the terms of the
GNU General Public License, version 2.0.