The drama continues...

Questions about Wine on macOS.
Locked
PDN
Level 1
Level 1
Posts: 5
Joined: Sat May 05, 2012 6:56 pm

The drama continues...

Post by PDN »

Dear Jordan, James, and other Winers,

More in the "get it running on a Mac" saga:

* As you recall, the error I'm getting is:

err:process:__wine_kernel_init boot event wait timed out

* I tried the env WINEDEBUG=+all wine yourapp.exe
command on two apps -- got (apparently) exactly the same results;
(one app from the platinum section of AppDB)

* The export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib
command didn't seem to help;

* Background info: I did a MacPorts install with X11 already
on the computer. After initial runs gave many errors, I installed
XQuartz. This took lots of errors out.

* The full debug gives a *huge* number of msgs.

As pastebin.com is not running at the moment, a few of the msgs:

50770.467:002f:trace:virtual:VIRTUAL_DumpView 0x7b88a000 -
0x7b88afff c-rW-
50770.467:002f:trace:virtual:VIRTUAL_DumpView 0x7b88b000 -
0x7b9fffff c-rw-
50770.480:002f:trace:imports:import_dll --- DbgBreakPoint ntdll.dll.19
= 0x7bc65dc0
50770.481:002f:trace:imports:import_dll --- LdrAccessResource
ntdll.dll.30 = 0x7bc56da0

They look healthy enough.

Here's the code just before the error, which occurs
near the top of the msg-dump:

50770.544:002f:trace:process:__wine_kernel_init starting process
name=L"Z:\\Users\\horacemann\\colorpix.exe"
argv[0]=L"Z:\\Users\\horacemann\\colorpix.exe"


50770.544:002f:trace:environ:RtlQueryEnvironmentVariable_U 0x0 L"PATH"
0xfeffeea0
50770.544:002f:trace:heap:RtlAllocateHeap
(0x110000,70000062,000000fe): returning 0x116d78
50770.544:002f:trace:environ:RtlQueryEnvironmentVariable_U 0x0 L"PATH"
0xfeffeea0

50890.545:002f:err:process:__wine_kernel_init boot event wait timed out

50890.545:002f:trace:reg:RtlOpenCurrentUser (0x00020019, 0xfeffee90)

********************

After the err:process time out error, literally 7/8ths of the
msgs come pouring out in one go, until it hangs here:

50893.424:002f:trace:module:GetModuleFileNameW
L"Z:\\Users\\horacemann\\colorpix.exe"
50893.425:002f:trace:heap:RtlFreeHeap (0x110000,70000062,0x165c10):
returning TRUE
50893.425:002f:trace:reg:NtOpenKey
(0x1c,L"Software\\Wine\\AppDefaults",2000000,0x33e9dc)
50893.425:002f:trace:reg:NtOpenKey <- 0x0
50893.425:002f:trace:ntdll:RtlFindClearBitsAndSet (0x7bcab04c,1,0)
50893.425:002f:trace:ntdll:RtlFindClearBits (0x7bcab04c,1,0)
50893.425:002f:trace:ntdll:RtlAreBitsClear (0x7bcab04c,0,1)
50893.425:002f:trace:ntdll:RtlAreBitsClear (0x7bcab04c,1,1)
50893.425:002f:trace:ntdll:RtlSetBits (0x7bcab04c,1,1)

The trace:RtlSetBits msg is the last...

******************

When I close the terminal window, it always says, are you sure,
because I'll have to end these processes:

login, bash, sh, wine

Here are some warnings (there are many)

1) Found about 20 lines before the time out:

50770.541:002f:trace:file:wine_nt_to_unix_file_name L"\\windows" not
found in /Users/horacemann/.wine/dosdevices/c:/windows
50770.541:002f:warn:ntdll:FILE_CreateFile L"\\??\\C:\\windows" not
found (c0000035)
50770.541:002f:trace:file:CreateDirectoryW L"C:\\windows\\system32"

50770.541:002f:warn:ntdll:FILE_CreateFile
L"\\??\\C:\\windows\\system32" not found (c0000035)

This is after the time out:

50890.553:002f:warn:module:alloc_module disabling no-exec because of
L"colorpix.exe"

And later:

50890.586:002f:warn:actctx:parse_assembly_identity_elem Unsupported
yet language attribute (L"*")

and

50890.635:002f:warn:ntdll:NtQueryAttributesFile
L"\\??\\Z:\\Users\\horacemann\\user32.dll" not found (c0000034)

and

50890.644:002f:warn:ntdll:NtQueryAttributesFile
L"\\??\\Z:\\Users\\horacemann\\gdi32.dll" not found (c0000034)

and

50890.655:002f:warn:ntdll:NtQueryAttributesFile
L"\\??\\Z:\\Users\\horacemann\\advapi32.dll" not found (c0000034)

(gaps between all of the above)

Question: why is wine having trouble finding all these dll files? For eg,
advapi32.dll is in opt/loca/lib/wine/fakedlls/...

So -- I hope pastebin comes up soon, so I don't have to
post this junk again...

And -- I hope some of this triggers a brilliant and simple solution.

Thanks!

--Prahas
Macbook
OS X 10.6.8
2.2 GHz Intel Core 2 Duo
2 GB 667 MHz DDR2 SDRAM
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Re: The drama continues...

Post by jjmckenzie »

[quote="PDN"]Dear Jordan, James, and other Winers,

More in the "get it running on a Mac" saga:

* As you recall, the error I'm getting is:

err:process:__wine_kernel_init boot event wait timed out

* I tried the env WINEDEBUG=+all wine yourapp.exe
command on two apps -- got (apparently) exactly the same results;
(one app from the platinum section of AppDB)

* The export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib
command didn't seem to help;

Here is my DYLD_FALLBACK_LIBRARY_PATH statement from a build using Ryan's script:

export DYLD_FALLBACK_LIBRARY_PATH="/Users/jamesmckenzie/wine/wine-1.4-rc2/lib:/opt/X11/lib:/usr/lib"

I have the libraries from Wine added as well as the libraries from XQuartz.

Can you add in this for testing purposes?

BTW, my Fink build also needed the path to Wine's libraries or it would not run on my Mac with either Leopard or Snow Leopard.

James
PDN
Level 1
Level 1
Posts: 5
Joined: Sat May 05, 2012 6:56 pm

The drama continues...

Post by PDN »

Here is my DYLD_FALLBACK_LIBRARY_PATH statement from a build using Ryan's script:

export DYLD_FALLBACK_LIBRARY_PATH="/Users/jamesmckenzie/wine/wine-1.4-rc2/lib:/opt/X11/lib:/usr/lib"
As my Wine folder does not seem to have folders within it, I used the following,
which still didn't help:

export DYLD_FALLBACK_LIBRARY_PATH="/opt/local/lib/wine"

Also, I am cd-ing to the correct dir in terminal, then running the wine command,
as in the FAQ.

Getting ready to buy a used PC laptop running Windows XP... :-(

--Prahas
Locked