Wine+Java+Nvidia crashes

Rick Jones rick at activeservice.co.uk
Fri Mar 13 16:06:40 CDT 2009


I'm running a Java app built for Windows (therefore needs Wine), and on a 
machine with Nvidia graphics it crashes when it tries to draw the main 
window. The exact same application and OS configuration on a different 
machine with Intel graphics works fine.

It crashes in wined3d, although the application is only drawing plain 
windows and dialogs - it looks like Java awt always calls d3d9 which call 
wined3d :(.

Relevant console output from wine is shown below, plus the stack from the 
app's error log.

OS is Ubuntu 8.10, Wine ver. 1.1.16 on both machines. On the faiing machine 
the graphics is Nvidia GPU 5200 series, screen size 1280x1024. I have tried 
both with the accelerated Nvidia driver v.173, and with the standard Linux 
driver, it makes no difference.

The machine that works is an Asus Eee 901 netbook, Intel graphics on 
1024x600 screen. Both machines have 2GB RAM.


Wine console output:

fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support 
to SetDepthStencilSurface
fixme:heap:RtlCompactHeap (0x110000, 0x0) stub
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support 
to SetDepthStencilSurface
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support 
to SetDepthStencilSurface
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7d9c25c2, pid=8, tid=37
#
# Java VM: Java HotSpot(TM) Client VM (11.2-b01 mixed mode, sharing 
windows-x86)
# Problematic frame:
# C  [wined3d.dll+0x725c2]


Stack trace:

Stack: [0x03890000,0x03990000],  sp=0x0398de48,  free space=1015k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native 
code)
C  [wined3d.dll+0x725c2]
C  [wined3d.dll+0xaf2a0]
C  [d3d9.dll+0x12957]
C  [awt.dll+0xad577]
C  [awt.dll+0x9c60c]
C  [user32.dll+0xb06aa]
C  [user32.dll+0xb0afa]
...


I've heard that wined3d and Nvidia don't play well together, but I don't 
know why this problem only shows up when running a Java app. Everything 
else I use works fine.

If anyone would like more info let me know.

-- 
Thanks
Rick Jones 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20090313/dd9465c1/attachment-0001.htm>


More information about the wine-devel mailing list