These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

Linux

 
  • Topic is locked indefinitely.
12Next page
 

Captains Quarters crash isolated.

Author
Kontalaa
New Eden Trading Association
#1 - 2012-07-11 22:05:21 UTC
When i start the Captains Quarters my Eve crashes.

System: Wine 1.5.8, nvidia 302.xx-beta-driver, 64-bit Ubuntu 12.04

crashlog: http://pastebin.com/V7brDUMA
(includes stacktrace, memory-dump, some disassabled code (around the region of the crash), etc.)

After talking to some Wine-Guys in the Chat i got pointed to this bug:
http://bugs.winehq.org/show_bug.cgi?id=30532#c5

Python itself does some dirty hacking at this point (so its no error of CCP, nor Wine).

Quote:
CCP Snorlax wrote:
This seems to be an issue in how Python under Wine deals with file descriptors
- opening a file with os.open and closing it with os.close causes this error.


To me it looks like exacty this error, though i dont have the eve-source to verify that.

Maybe that helps so that CQ will be functional in future patches.
After Shok
Ruthenia Co
#2 - 2012-07-12 01:21:50 UTC
I use this patch to fix patching EVE - http://pastebin.com/iMN6FT86
and play EVE without change (b,n) (n,b) in winecfg for patching EVE.

I think that patching use functions os.open and os.close .

Read about this patch
https://forums.eveonline.com/default.aspx?g=posts&m=1198604#post1198604

I think CCP need fix CQ how it fix T3 ships.

Правдой нельзя оскорбить, уважаемый адвокат!

Тот самый Мюнхгаузен

Золотая орка

Kontalaa
New Eden Trading Association
#3 - 2012-07-12 09:00:44 UTC  |  Edited by: Kontalaa
Thank you. I will try it out and report my findings.

Edit:

Compiled wine with that patch.

starting without dll-overrides or with (n,b) yields:
Quote:

/var/chroot/wine/wine "C:\Programme\CCP\EVE\bin\ExeFile.exe"
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:heap:HeapSetInformation 0x48b000 0 0x32f31c 4
Network layer using: CarbonIO
Terminating process by request - returning 0

/var/chroot/wine/wine winedbg "C:\Programme\CCP\EVE\bin\ExeFile.exe"
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Programme\\CCP\\EVE\\bin\\ExeFile.exe" failed, status c0000022
WineDbg starting on pid 005a
couldn't load main module (2)
Process of pid=005a has terminated
Wine-dbg>


Have you applied other patches?
After Shok
Ruthenia Co
#4 - 2012-07-12 09:56:48 UTC
Yes - i use wine fork - http://repo.or.cz/w/wine/multimedia.git - pulseaudio fix
but this patch i use with wine native source before find fork.

Start EVE

env LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 WINEARCH=win64 WINEPREFIX="/mnt/disk-3/game/.wine_1" wine explorer /desktop=after_shok,1280x1005 "E:\\eve\\eve.exe"

Fedora 16 - build wine rpm manually.

Правдой нельзя оскорбить, уважаемый адвокат!

Тот самый Мюнхгаузен

Золотая орка

After Shok
Ruthenia Co
#5 - 2012-07-12 13:11:24 UTC  |  Edited by: After Shok
yesterday i can enter once into CQ but no walking.

today
After deleting cache dir I can enter into CQ.
walking ~15 sec and client crush.

next runs give me log into linux console
Quote:

Service contracts: 0.000s
Service facwar: 0.000s
A traceback has been generated. It has been logged in the log server as stacktrace #5
Service sov: 0.001s
Service skills: 0.000s
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:toolhelp:Heap32ListFirst : stub
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
Service alliance: 0.581s
Service onlineStatus: 0.000s
Service station: 0.001s
Service journal: 0.000s
Service insurance: 0.000s
Service t3ShipSvc: 0.000s
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:toolhelp:Heap32ListFirst : stub
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
Service charactersheet: 0.014s
Service autoPilot: 0.000s
Service clonejump: 0.000s
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
Service starmap: 0.000s
Service agents: 0.000s
fixme:dbghelp:elf_search_auxv can't find symbol in module
wine: Unhandled page fault on write access to 0x000001f0 at address 0x760f941 (thread 0031), starting debugger...

Правдой нельзя оскорбить, уважаемый адвокат!

Тот самый Мюнхгаузен

Золотая орка

Kontalaa
New Eden Trading Association
#6 - 2012-07-12 13:45:17 UTC
start it with winedbg instead of wine, hit "c" to fire it up, let it crash, type "info share" to find out which library resides at the address of the crash.

maybe a "disas (from),(to)" with +-40 commands around the crash to see if its the same i get.

At least this schould get debug-data on how it is probably fixable.
After Shok
Ruthenia Co
#7 - 2012-07-12 14:16:05 UTC
I can enter into CQ with log server started.

when i in CQ - in log server many errors

Quote:

17650 2012.07.12 14:10:56:727 ERROR: SolveIrradianceTask - floating-point control word has denormals enabled
17651 2012.07.12 14:10:56:775 Failed to run Enlighten SolveIrradianceTask:
17652 2012.07.12 14:10:56:775 ERROR: SolveIrradianceTask - floating-point control word has denormals enabled
17653 2012.07.12 14:10:56:820 Failed to run Enlighten SolveIrradianceTask:
17654 2012.07.12 14:10:56:820 ERROR: SolveIrradianceTask - floating-point control word has denormals enabled
17655 2012.07.12 14:10:56:867 Failed to run Enlighten SolveIrradianceTask:
17656 2012.07.12 14:10:56:867 ERROR: SolveIrradianceTask - floating-point control word has denormals enabled
17657 2012.07.12 14:10:56:927 Failed to run Enlighten SolveIrradianceTask:
17658 2012.07.12 14:10:56:927 ERROR: SolveIrradianceTask - floating-point control word has denormals enabled


Правдой нельзя оскорбить, уважаемый адвокат!

Тот самый Мюнхгаузен

Золотая орка

After Shok
Ruthenia Co
#8 - 2012-07-12 16:50:53 UTC  |  Edited by: After Shok
I logout in CQ. Start eve with winedbg - when loading CQ - eve crush.
No errors in log server

try start eve many times
only once see winedeug window - http://pastebin.com/qtQLCiF8
twice reboot pc

winedbg console - http://pastebin.com/Jx4G670a

I think now trouble with heap in ntdll.

Правдой нельзя оскорбить, уважаемый адвокат!

Тот самый Мюнхгаузен

Золотая орка

After Shok
Ruthenia Co
#9 - 2012-07-13 01:03:17 UTC  |  Edited by: After Shok
after I disale CQ and play eve ~5 hour (wine) - then enable CQ - logout
login - enter CQ - walk ~5min - enter into angar - enter into CQ
eve crush - http://pastebin.com/26J2uisS

lanch eve in winedbg - http://pastebin.com/DRJMn3BC

kill wine - WINEPREFIX="/mnt/disk-3/game/.wine_1" wineserver -k

lanch eve again - winedbg window - http://pastebin.com/0zyKy0vu
and winedbg console - http://pastebin.com/9xxChvms

Правдой нельзя оскорбить, уважаемый адвокат!

Тот самый Мюнхгаузен

Золотая орка

COMM4NDER
Legendary Umbrellas
#10 - 2012-07-13 02:00:21 UTC
Quote:
Thread ID=0029 renamed using MS VC6 extension (name=="PxWorker0")
Thread ID=002a renamed using MS VC6 extension (name=="PxWorker0")
Thread ID=002b renamed using MS VC6 extension (name=="PxWorker0")
Thread ID=002f not in our list of threads -> can't rename
Unhandled exception: page fault on write access to 0x000001f0 in 32-bit code (0x06e8f941).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:06e8f941 ESP:0033aa10 EBP:0033aa90 EFLAGS:00010206( R- -- I - -P- )
EAX:00000000 EBX:2f702c60 ECX:2f6c28c4 EDX:300cb6a8
ESI:000001e8 EDI:2f6c2628
Stack dump:
0x0033aa10: 2f6c28c4 06e52c52 0033aa38 300cb6a8
0x0033aa20: 00000000 2f6c29e8 2f6c29e8 00000000
0x0033aa30: 00000000 06e6b326 300cb6a8 00000000
0x0033aa40: 2f6c28e0 06e53895 2f6c2628 1f1a3980
0x0033aa50: 00000001 2f702c60 06d687d1 2f6c2794
0x0033aa60: 2f702c60 c96b07c5 2f6c28e0 2f702c60
000c: sel=0067 base=00000000 limit=00000000 16-bit --x
Backtrace:
=>0 0x06e8f941 in _gameworld (+0x25f941) (0x0033aa90)
1 0x06e4fd32 in _gameworld (+0x21fd31) (0x300ec7a8)
0x06e8f941: movl %edx,0x8(%esi)


This is with the overrides though.

[url=https://github.com/CommanderAlchemy/.bin/blob/master/eve] EVE - Online Launcher [Linux] [/url] Installs, launches character prefixes (both SISI & Tranquility). Simplescreenrecorder shm inject

Kontalaa
New Eden Trading Association
#11 - 2012-07-13 19:33:16 UTC
COMM4NDER wrote:
Quote:
Backtrace:
=>0 0x06e8f941 in _gameworld (+0x25f941) (0x0033aa90)
1 0x06e4fd32 in _gameworld (+0x21fd31) (0x300ec7a8)
0x06e8f941: movl %edx,0x8(%esi)


This is with the overrides though.


This is the bug i meant in the original posting. Somewhere in the gameworld-module is an "os.open" or "os.close", which crashes under wine.

I dont know if a change to "open" (leave out the os.) would fix that. CCP Snorlax should know, what to do.
COMM4NDER
Legendary Umbrellas
#12 - 2012-07-14 17:05:57 UTC
Kontalaa wrote:
COMM4NDER wrote:
Quote:
Backtrace:
=>0 0x06e8f941 in _gameworld (+0x25f941) (0x0033aa90)
1 0x06e4fd32 in _gameworld (+0x21fd31) (0x300ec7a8)
0x06e8f941: movl %edx,0x8(%esi)


This is with the overrides though.


This is the bug i meant in the original posting. Somewhere in the gameworld-module is an "os.open" or "os.close", which crashes under wine.

I dont know if a change to "open" (leave out the os.) would fix that. CCP Snorlax should know, what to do.


then this is all about goodwill of CCP, since Wine is not supported nor is Linux. CCP did fix T3 issue however it was a higher priority looking that all Linux users could not play the game at all as fast a T3 landed on grid thus a direct hit at their revenue if there is. (dunno how large the linux side of EVE community is)

[url=https://github.com/CommanderAlchemy/.bin/blob/master/eve] EVE - Online Launcher [Linux] [/url] Installs, launches character prefixes (both SISI & Tranquility). Simplescreenrecorder shm inject

Linsel Harvnor
Sebiestor Tribe
Minmatar Republic
#13 - 2012-07-15 00:07:54 UTC
Given that they figured out a fix for the T3 issue, hopefully it would be relatively fast and painless to put the fix in for CQ as well?

Whom should we lobby at CCP to find out if this fix can be made?
Tarunik Raqalth'Qui
Native Freshfood
Minmatar Republic
#14 - 2012-07-15 03:24:58 UTC
Linsel Harvnor wrote:
Given that they figured out a fix for the T3 issue, hopefully it would be relatively fast and painless to put the fix in for CQ as well?

Whom should we lobby at CCP to find out if this fix can be made?

Actually, is this a CCP-bug, a Wine-bug, or a Python-bug, or a dependency-management issue? Perhaps a minimal testcase that triggers the crash when run under Python on Wine would be helpful here...
Kontalaa
New Eden Trading Association
#15 - 2012-07-15 17:15:56 UTC  |  Edited by: Kontalaa
its a bug in python under windows which gets triggered when using wine.

Python in really ugly in this point and relies on some function-calls inside the msvrct*.dll to determine things. When we use (native) dll-overrides for this stuff in Wine, things break. The builtin-overrides from wine cant handle that stuff, yet, so we are basically f***ed.
Either Python does a workaround for that (unlikely! Even if they do it'll take a long time until new versions get deployed), wine finishes their "own" msvcrt (unlikely due to the amount of work) or CCP just dont use "os.open()" and "os.close()" but some workaround to not trigger the bug.

The latter one is the one thing that takes the least time, is the most likely .. but also can break again in the future.
All in all its not CCPs fault, but they are the ones who can workaround this easily.

In the long run the builtin-functions of wine has to be completed - but this can take years (if its ever done due to new versions of the files).

I hope i got things right - but this way they make the most sense to me.

--

Edit: A bit of clarification: the open() and close()-part in the builtin-version is correct "for wine" - because files get handled WAY different under Unix then under Windows. When using the "native" Windows-dlls we basically treat the Unix-Files like Windows-files (the native lib is only written for win, duh!), thus crashing. What breaks eve when using the builtin-version is just "everything else".
Xin Chang
Garoun Investment Bank
Gallente Federation
#16 - 2012-07-21 06:53:32 UTC
The point is that they already used a workaround to avoid the os.open() and os.close() calls for loading the models of the T3 cruisers when that was causing a crash bug before. The hope is that we could somehow talk them into deploying the same workaround here.
After Shok
Ruthenia Co
#17 - 2012-07-27 05:21:12 UTC
a few words - python27.dll, in EVE folder, builded and signed by CCP

Правдой нельзя оскорбить, уважаемый адвокат!

Тот самый Мюнхгаузен

Золотая орка

Bent Barrel
#18 - 2012-07-28 20:28:41 UTC
After Shok wrote:
a few words - python27.dll, in EVE folder, builded and signed by CCP


yes, because they:

1. contribute to Python development a lot (see stackless python)
2. have to distribute the dll with the game (there's no package manager for windows)
KingMazz ONE
University of Caille
Gallente Federation
#19 - 2012-07-30 15:07:00 UTC
if you use linux you fail buy windows or mac loser's

IT MAKE"S MY WINKY GO DING !!!!!!!!!!!!

Kontalaa
New Eden Trading Association
#20 - 2012-07-31 12:22:06 UTC
KingMazz ONE wrote:
if you use linux you fail buy windows or mac loser's

yeah .. because mac is no unix ... wait .. -.-
12Next page