WineHQ
Bug Tracking Database – Bug 30515

 Bugzilla

 

Last modified: 2012-04-30 14:52:08 CDT  

EVE Online crashes when viewing certain ship models (T3 ships)

Bug 30515 - EVE Online crashes when viewing certain ship models (T3 ships)
EVE Online crashes when viewing certain ship models (T3 ships)
Status: CLOSED DUPLICATE of bug 29764
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: msvcrt
1.5.2
x86-64 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-04-24 16:43 CDT by Murph
Modified: 2012-04-30 14:52 CDT (History)
8 users (show)

See Also:
Regression SHA1:
Fixed by SHA1:
Distribution: ---
Staged patchset:


Attachments
A log of the crash. (13.55 KB, text/plain)
2012-04-24 16:43 CDT, Murph
Details
Crash when I boarded my Tengu (10.00 KB, text/plain)
2012-04-24 16:58 CDT, Vince
Details
A log of the crash with +seh (17.89 KB, text/plain)
2012-04-24 19:23 CDT, Murph
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Murph 2012-04-24 16:43:15 CDT
Created attachment 39912 [details]
A log of the crash.

As of today's patch for EVE, it crashes when viewing the ship model of any T3 ship such as the "Tengu".

To Reproduce, just do a "show info" action on a Tengu and then click the ship icon to bring up the preview window.

I'm using the latest nvidia drivers (295.40), though on the EVE forums I saw reports from ATI users as well.

I have these overrides set, as have been required by EVE for a while:
msvcr100(builtin, native)
msvcr90(builtin, native)
msvcr80(native, builtin)
Comment 1 Christopher May-Townsend 2012-04-24 16:57:27 CDT
Can confirm problem as well. Only seen it on tech 3 ships and I explored the item database hoping to randomly catch one...

Of course the main difference is that with tech3 ships, you can select view model and then select what subsystems you can choose to change how the ship looks. CCP did some UI work recently and my crash focuses on python27.dll. Problem doesn't exist in windows either.

Clearing in game crash doesn't help either. This bug is quite a bad bug in terms of being able to use eve on wine, not sure you can avoid tech 3 ships anywhere really.
Comment 2 Vince 2012-04-24 16:58:22 CDT
Created attachment 39913 [details]
Crash when I boarded my Tengu

The first time I boarded my Tengu caused a crash, I've since been in and out of it several times without problems.
Comment 3 Francesco Munda 2012-04-24 17:57:17 CDT
Confirmed, same symptoms.

Additionally, an official E-O forum thread with further discussion of what's going on can be perused here:

https://forums.eveonline.com/default.aspx?g=posts&t=100279
Comment 4 Murph 2012-04-24 19:23:39 CDT
Created attachment 39915 [details]
A log of the crash with +seh

Confirmed on latest git.
Attached a log of a run with +seh. I could not take one with +mscvrt because the game would not load without crashing then.
Comment 5 Murph 2012-04-24 20:04:39 CDT
A workaround is to run something like this before EVE and leave it running:

while true; do rm -r ~/.wine/drive_c/users/murph/Local\ Settings/Application\ Data/CCP/EVE/c_program_files_ccp_eve_tranquility/cache/ships/*; done

Basically clears eve's generated ship cache continually. T3's will not render and will be invisible. Oh well.
Comment 6 Chris McIntyre 2012-04-24 22:56:43 CDT
Additionally, I get the error on any ATI driver from 12.1 to the most recent driver on Ubuntu 12.04. I run wine 1.5.2. I have no crash logs as it does not produce any other than the same things already attached here.
Comment 7 Anton Vorobyov 2012-04-25 05:54:39 CDT
Re-posting EVE's dev post in that thread, https://forums.eveonline.com/default.aspx?g=posts&m=1188606#post1188606 :
---
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.

The Python source code has a comment indicating that this is handled in a hacky way, using internal structures of the Microsoft CRT.

I'll see if I can achieve the same thing in a different way, but I don't have a way to test under Linux, nor should I technically be spending time on this, this being an unsupported platform and all. Still, I don't like seeing EVE crashing.

Hopefully this gives Wine developers a clue, nonetheless.
(c) CCP Snorlax
Comment 8 Murph 2012-04-25 07:29:37 CDT
I've sent that developer a message asking for some details to try to produce a test case, but I don't know if he's able to provide them.

I'm marking this component 'msvcrt' in light of his comments.
Comment 9 Murph 2012-04-25 08:08:56 CDT
Confirming that this is easily reproduced in python:

1) install python for windows

cd c:\Python27 (the default).
touch testfile

wine python.exe
import os;
a = s.open("testfile",os.O_RDWR)
os.close(a)
Comment 10 Murph 2012-04-25 08:21:02 CDT
(I typod that script, it should be a = os.open, not a = s.open)

It seems that the crash occurs in/around python's posixmodule.c in the "_PyVerify_fd(int fd)" function. Which is clearly using msvcrt internal stuff.
Comment 11 Murph 2012-04-25 08:46:54 CDT
Seems this bug has been encountered before, and is not too easy to fix.

Marking this bug a duplicate of the other.

*** This bug has been marked as a duplicate of bug 29764 ***
Comment 12 Frédéric Delanoy 2012-04-30 14:52:08 CDT
Closing DUPLICATE bugs.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to privacy@winehq.org

Hosted By CodeWeavers