err:ntdll:RtlpWaitForCriticalSection on Mac OS X 10.5.7

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Ishikawakun
Newbie
Newbie
Posts: 3
Joined: Thu May 21, 2009 1:49 am

err:ntdll:RtlpWaitForCriticalSection on Mac OS X 10.5.7

Post by Ishikawakun »

I just compiled wine 1.1.21 (latest git as of now) for Mac OS X 10.5.7 (2Ghz 1GB Ram old 13" MacBook) with Xquartz 2.3.3.2

I have OpenGL running just fine, after ./configure --x-includes=/usr/X11/include and running wine with LD_LIBRARY_PATH=/usr/X11/lib

I'm trying to get Thief: The Dark Project to run properly now, in Window Mode it works fine, beside that i can't see the options or missions screen after being ingame and pressing <ESC> or <M> the back switching though works.

The real Problem is that after a while i get such a message:
err:ntdll:RtlpWaitForCriticalSection section 0x69e008 "?" wait timed out in thread 0009, blocked by 001b, retrying (60 sec)
and the Program just freezes.

Now i've found mentions in the appdb that this is a multiprocessor problem and can be fixed by using schedtool under linux. My Question now, can i do something on Mac OS X, like e.g. compiling wine to only use one Core or some tool to schedule similiary under OS X?

Thanks in advance guys.
James Mckenzie

err:ntdll:RtlpWaitForCriticalSection on Mac OS X 10.5.7

Post by James Mckenzie »

Ishikawakun wrote about [Wine] err:ntdll:RtlpWaitForCriticalSection on Mac OS X 10.5.7
I just compiled wine for Mac OS X 10.5.7 (2Ghz 1GB Ram old 13" MacBook) with Xquartz 2.3.3.2
Which compliation did you use? MacPorts, Fink, Mike Kronenberg or another.
I'm trying to get Thief: The Dark Project to run properly now, in Window Mode it works fine, beside that i can't see the options or missions screen after being ingame and pressing <ESC> or <M> the back switching though works.
Is there a demo available of this program? I would like to try this with 10.5.7/2.3.3/Mike Kronenberg's build environment.

The real Problem is that after a while i get such a message:
err:ntdll:RtlpWaitForCriticalSection section 0x69e008 "?" wait timed out in thread 0009, blocked
by 001b, retrying (60 sec)
and the Program just freezes.
Do you get a debug dump as well?
Now i've found mentions in the appdb that this is a multiprocessor problem and can be fixed by
using schedtool under linux. My Question now, can i do something on Mac OS X, like e.g. compiling
wine to only use one Core or some tool to schedule similiary under OS X?
This was fixed in Wine as well. I'm doubting that there is a multiprocessor problem, but it is possible. I know of no tool that does this for MacOSX.
Ishikawakun
Newbie
Newbie
Posts: 3
Joined: Thu May 21, 2009 1:49 am

Post by Ishikawakun »

Which compliation did you use? MacPorts, Fink, Mike Kronenberg or another.
I compiled it myself just used the actual git with "./configure --x-includes=/usr/X11/include --prefix=/usr/local --without-xml"
msxml gave me errors when i tried compiling with it.
Is there a demo available of this program? I would like to try this with 10.5.7/2.3.3/Mike Kronenberg's build environment.
Yeah you can download it from http://www.thief-thecircle.com/media/demos/
Quote:
Now i've found mentions in the appdb that this is a multiprocessor problem and can be fixed by
using schedtool under linux. My Question now, can i do something on Mac OS X, like e.g. compiling
wine to only use one Core or some tool to schedule similiary under OS X?

This was fixed in Wine as well. I'm doubting that there is a multiprocessor problem, but it is possible. I know of no tool that does this for MacOSX.
Actually i found one, through a thread in the Codeweavers forum.
/Library/Application Support/HWPrefs/CPUPalette.app
It should be part of the Apple Developer Tools, with it i can deactivate one of the cores and Thief runs perfectly now.
Thread can be found here: http://www.codeweavers.com/compatibilit ... ;msg=37309

Well i'm off playing, but thank you for your effort.
Locked