Works great with Ubuntu x64+wine, but only once!

i wonder what went wrong?

Discussion about the game and its default mods.
Post Reply
frikker
Posts: 6
Joined: Thu Sep 30, 2010 12:49 am

Works great with Ubuntu x64+wine, but only once!

Post by frikker »

Hey! I wanted to let everyone know that open-ra works excellent, from what i can tell, with wine on Ubuntu x64 9.10. Here's all I had to do:
1) Download the windows version of open-ra
2) Install with wine
3) download mono for windows
4) install mono with wine
5) run open-ra with wine.

This worked great - the main screen came up and the background animations were seemingly fast and awesome. I get the impression I could have played the game. I was, however, on my way out the door for the night. I hit 'exit game' and my video display locked up. This happens sometimes with wine and 3d games, so this didn't seem to be a problem. I did cntrl+alt+sysreq RSEIUB to reboot safely. Now that I'm back up, I can't open the game.
* I can't open with windowed display using wine
* I can't open the same way as I did before just by running wine.

In both cases, I get a "the game encountered an error and closed". Unfortunately there is no exception.log located in My Documents\OpenRa\logs. There is only debug.log g perf.log syncreport.log.

I was so pumped to be able to play with such an easy install. So here are my questions
1) Where are my logs? (wine should be identical to windows but I dont think I've found the log files). I will post the crash from the actual wine execution at the end of this but it doesn't seem to be very helpful.
2) Even if I re-install OpenRA the same crash happens. How can I do a full reset? I'm assuming I need to reset the registry?

18$ wine OpenRA.Game.exe
wine: Unhandled page fault on read access to 0x264ccab7 at address 0xf74d3d4b (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x264ccab7 in 32-bit code (0xf74d3d4b).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:f74d3d4b ESP:0032e974 EBP:0032ea90 EFLAGS:00010206( R- -- I - -P- )
EAX:264ccab7 EBX:7bc9bff4 ECX:00000003 EDX:0012a870
ESI:c0000017 EDI:264ccab7
Stack dump:
0x0032e974: 7bc4ebb4 264ccab7 00000000 00000b98
0x0032e984: 0032ea6c 00000058 00000000 00000000
0x0032e994: 00110000 0012ba70 7bc9bff4 0032ea00
0x0032e9a4: 00110014 7bc90bf8 00000000 7bc4933b
0x0032e9b4: 7bc9bff4 7bca47a0 0032ea6c 00000052
0x0032e9c4: 7bc68083 00000000 0012ba18 000002e6
Backtrace:
=>0 0xf74d3d4b strlen+0xb() in libc.so.6 (0x0032ea90)
1 0x7bc4fbad in ntdll (+0x3fbac) (0x0032eb80)
2 0x7bc503c7 in ntdll (+0x403c6) (0x0032ecc0)
3 0x7bc50e4c LdrLoadDll+0x4b() in ntdll (0x0032ed00)
4 0x7b850420 in kernel32 (+0x4041f) (0x0032ed50)
5 0x7b8504f4 LoadLibraryExW+0x43() in kernel32 (0x0032ed90)
6 0x7b8505cd LoadLibraryW+0x2c() in kernel32 (0x0032edb0)
7 0x7ee63c8b _CorExeMain+0x40a() in mscoree (0x0032fe90)
8 0x7b855b5c call_process_entry+0xb() in kernel32 (0x0032fea8)
9 0x7b8581ab in kernel32 (+0x481aa) (0x0032fee8)
10 0x7bc70b60 call_thread_func+0xb() in ntdll (0x0032fef8)
11 0x7bc70d30 call_thread_entry_point+0x6f() in ntdll (0x0032ffc8)
12 0x7bc4c15a in ntdll (+0x3c159) (0x0032ffe8)
13 0xf75e3edd wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
0xf74d3d4b strlen+0xb in libc.so.6: cmpb %ch,0x0(%eax)
Modules:
Module Address Debug info Name (59 modules)
PE 400000- 49c000 Deferred openra.game
ELF 7b800000-7b972000 Export kernel32<elf>
\-PE 7b810000-7b972000 \ kernel32
ELF 7bc00000-7bcb8000 Export ntdll<elf>
\-PE 7bc10000-7bcb8000 \ ntdll
ELF 7bf00000-7bf04000 Deferred <wine-loader>
ELF 7e379000-7e3ed000 Deferred rpcrt4<elf>
\-PE 7e390000-7e3ed000 \ rpcrt4
ELF 7e3ed000-7e4ed000 Deferred ole32<elf>
\-PE 7e410000-7e4ed000 \ ole32
ELF 7e509000-7e53d000 Deferred uxtheme<elf>
\-PE 7e510000-7e53d000 \ uxtheme
ELF 7e53d000-7e548000 Deferred libxcursor.so.1
ELF 7e548000-7e54e000 Deferred libxfixes.so.3
ELF 7e54e000-7e552000 Deferred libxcomposite.so.1
ELF 7e552000-7e55b000 Deferred libxrandr.so.2
ELF 7e55b000-7e565000 Deferred libxrender.so.1
ELF 7e565000-7e56b000 Deferred libxxf86vm.so.1
ELF 7e56b000-7e56e000 Deferred libxinerama.so.1
ELF 7e56e000-7e590000 Deferred imm32<elf>
\-PE 7e570000-7e590000 \ imm32
ELF 7e590000-7e595000 Deferred libxdmcp.so.6
ELF 7e595000-7e5b3000 Deferred libxcb.so.1
ELF 7e5b3000-7e5b7000 Deferred libxau.so.6
ELF 7e5b7000-7e5bc000 Deferred libuuid.so.1
ELF 7e5bc000-7e6eb000 Deferred libx11.so.6
ELF 7e6eb000-7e6fb000 Deferred libxext.so.6
ELF 7e6fb000-7e716000 Deferred libice.so.6
ELF 7e716000-7e71f000 Deferred libsm.so.6
ELF 7e73c000-7e7de000 Deferred winex11<elf>
\-PE 7e750000-7e7de000 \ winex11
ELF 7e823000-7e84a000 Deferred libexpat.so.1
ELF 7e84a000-7e877000 Deferred libfontconfig.so.1
ELF 7e877000-7e8f6000 Deferred libfreetype.so.6
ELF 7e913000-7e9fe000 Deferred comctl32<elf>
\-PE 7e920000-7e9fe000 \ comctl32
ELF 7e9fe000-7ea59000 Deferred advapi32<elf>
\-PE 7ea10000-7ea59000 \ advapi32
ELF 7ea59000-7eae4000 Deferred gdi32<elf>
\-PE 7ea70000-7eae4000 \ gdi32
ELF 7eae4000-7ec15000 Deferred user32<elf>
\-PE 7eb00000-7ec15000 \ user32
ELF 7ec15000-7ec77000 Deferred shlwapi<elf>
\-PE 7ec20000-7ec77000 \ shlwapi
ELF 7ec77000-7ee4f000 Deferred shell32<elf>
\-PE 7ec90000-7ee4f000 \ shell32
ELF 7ee4f000-7ee6e000 Export mscoree<elf>
\-PE 7ee60000-7ee6e000 \ mscoree
ELF 7ef9a000-7efa6000 Deferred libnss_files.so.2
ELF 7efa6000-7efbd000 Deferred libnsl.so.1
ELF 7efbd000-7efe3000 Deferred libm.so.6
ELF 7efe5000-7effb000 Deferred libz.so.1
ELF f7450000-f745b000 Deferred libnss_nis.so.2
ELF f745c000-f7460000 Deferred libdl.so.2
ELF f7460000-f75a5000 Export libc.so.6
ELF f75a6000-f75bf000 Deferred libpthread.so.0
ELF f75d4000-f75dc000 Deferred libnss_compat.so.2
ELF f75dc000-f771c000 Export libwine.so.1
ELF f771e000-f773c000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Program Files\OpenRA\OpenRA.Game.exe
00000009 0 <==
0000000e services.exe
00000015 0
00000014 0
00000010 0
0000000f 0
00000011 winedevice.exe
00000017 0
00000016 0
00000013 0
00000012 0
0000001a explorer.exe
0000001b 0
Backtrace:
=>0 0xf74d3d4b strlen+0xb() in libc.so.6 (0x0032ea90)
1 0x7bc4fbad in ntdll (+0x3fbac) (0x0032eb80)
2 0x7bc503c7 in ntdll (+0x403c6) (0x0032ecc0)
3 0x7bc50e4c LdrLoadDll+0x4b() in ntdll (0x0032ed00)
4 0x7b850420 in kernel32 (+0x4041f) (0x0032ed50)
5 0x7b8504f4 LoadLibraryExW+0x43() in kernel32 (0x0032ed90)
6 0x7b8505cd LoadLibraryW+0x2c() in kernel32 (0x0032edb0)
7 0x7ee63c8b _CorExeMain+0x40a() in mscoree (0x0032fe90)
8 0x7b855b5c call_process_entry+0xb() in kernel32 (0x0032fea8)
9 0x7b8581ab in kernel32 (+0x481aa) (0x0032fee8)
10 0x7bc70b60 call_thread_func+0xb() in ntdll (0x0032fef8)
11 0x7bc70d30 call_thread_entry_point+0x6f() in ntdll (0x0032ffc8)
12 0x7bc4c15a in ntdll (+0x3c159) (0x0032ffe8)
13 0xf75e3edd wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)

[blaine@linwood:~/.wine/drive_c/Program Files/OpenRA Sat Oct 02]
20$ wine --version
wine-1.2
[blaine@linwood:~/.wine/drive_c/Program Files/OpenRA Sat Oct 02]
21$ uname -a
Linux linwood 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux



Thanks!
Blaine

User avatar
Sleipnir
Posts: 878
Joined: Wed Apr 10, 2002 11:52 pm
Contact:

Post by Sleipnir »

I don't think anyone has tried running under wine before, so i'm not sure what your problem here is.
We have a fix in progress for x86_64 and our linux packages, so if you can wait a couple of days you should be able to run natively without problems :)

frikker
Posts: 6
Joined: Thu Sep 30, 2010 12:49 am

Post by frikker »

I'll certainly give it a shot. Its just worth mentioning wine because in ParallelsVirtualbox + WinXP I can't get anywhere (plus my OS X 10.4 doesn't work). Wine was incredibly easy - but I can't get it to work after that first time!

I may try a new version of wine or a completely different install, but with windowed mode so my fullscreen doesn't crash.

Thanks again for the awesome project
Blaine

frikker
Posts: 6
Joined: Thu Sep 30, 2010 12:49 am

Post by frikker »

update.

i deleted ~/.wine and re-installed mono and open-ra. game works great! i was able to play a game that i hosted myself no problem. i set wine to run in 'windowed' mode so that my display doesn't lock up in full screen. the game does, indeed, crash when existing. here is the wine output:

28$ wine OpenRA.Game.exe
fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0080: stub!
fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0001: stub!
fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList

Unhandled Exception: System.ObjectDisposedException: The object was used after being disposed.
at System.Net.Sockets.Socket.Accept () [0x00000] in <filename unknown>:0
at System.Net.Sockets.TcpListener.AcceptSocket () [0x00000] in <filename unknown>:0
at OpenRA.Server.Server.AcceptConnection () [0x00000] in <filename unknown>:0
at OpenRA.Server.Server.<ServerMain>m__BD (System.Object _) [0x00000] in <filename unknown>:0
AL lib: ALc.c:1368: exit(): closing 1 Device
AL lib: ALc.c:1345: alcCloseDevice(): destroying 1 Context
AL lib: alSource.c:2362: alcDestroyContext(): deleting 32 Source(s)
Segmentation Fault

The game does re-open for a second time. When I reopend it and quit the game, I get this error (on exit): Fatal Error in Gc / GetThreadContext Failed

game still works fine. thats all!

tldr; run with wine but change to windowed mode by going to applications -> wine -> wine configuration and select 'emulate desktop window'

Post Reply