[Wine] Problems running a Java program in Wine

David C. Kerber dkerber at warrenrogersassociates.com
Mon Apr 12 16:06:32 CDT 2010


Why not run the java app under the native Linux jvm, instead of adding an extra layer to slow it down under Wine?
 

> -----Original Message-----
> From: wine-users-bounces at winehq.org 
> [mailto:wine-users-bounces at winehq.org] On Behalf Of chamanx64
> Sent: Monday, April 12, 2010 12:35 PM
> To: wine-users at winehq.org
> Subject: [Wine] Problems running a Java program in Wine
> 
> Hello everyone, im runing a java program under Wine, but 
> sometimes when i try to get some report in the report viewer 
> which is an smaller DLL app, it Crash giving a message in the 
> console, On Windows XP, the same program and JVM version runs 
> perfectly. Here Is the the message:
> 
> #
> # An unexpected error has been detected by Java Runtime Environment:
> #
> #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x104f66b6, 
> pid=47, tid=42 # # Java VM: Java HotSpot(TM) Client VM 
> (1.6.0_01-b06 mixed mode) # Problematic frame:
> # C  [Rbuildj.dll+0x266b6]
> #
> # An error report file with more information is saved as 
> hs_err_pid47.log # # If you would like to submit a bug 
> report, please visit:
> #   http://java.sun.com/webapps/bugreport/crash.jsp
> #
> 
> 
> The file hs_err_pid47.log says:
> 
> 
> 
> #
> 
> # An unexpected error has been detected by Java Runtime Environment:
> 
> #
> 
> #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x104f66b6, 
> pid=47, tid=42
> 
> #
> 
> # Java VM: Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed mode)
> 
> # Problematic frame:
> 
> # C  [Rbuildj.dll+0x266b6]
> 
> #
> 
> # If you would like to submit a bug report, please visit:
> 
> #   http://java.sun.com/webapps/bugreport/crash.jsp
> 
> #
> 
> 
> 
> ---------------  T H R E A D  ---------------
> 
> 
> 
> Current thread (0x0fbd9400):  JavaThread "Report viewer 
> queue" [_thread_in_native, id=42]
> 
> 
> 
> siginfo: ExceptionCode=0xc0000005, reading address 0x00000002
> 
> 
> 
> Registers:
> 
> EAX=0x00000000, EBX=0x0740f550, ECX=0x0011005c, EDX=0x00000000
> 
> ESP=0x0fdce0a0, EBP=0x0fdce0a4, ESI=0x0740f550, EDI=0x0fbd9400
> 
> EIP=0x104f66b6, EFLAGS=0x00210212
> 
> 
> 
> Top of Stack: (sp=0x0fdce0a0)
> 
> 0x0fdce0a0:   00000000 0fdce0d0 104d8f28 0fdce0bc
> 
> 0x0fdce0b0:   104d6117 109b0001 109cceb0 0fbd9400
> 
> 0x0fdce0c0:   0e417410 0fdce194 10515d6e ffffffff
> 
> 0x0fdce0d0:   0fdce1a0 104dd3e8 0fdce0e8 109cceb0
> 
> 0x0fdce0e0:   0fdce230 7b88cc06 1051cfe4 00000001
> 
> 0x0fdce0f0:   00000000 00000000 00000000 00000001
> 
> 0x0fdce100:   00000000 00000000 00000000 00000000
> 
> 0x0fdce110:   00000000 00000000 00000000 00000000 
> 
> 
> 
> Instructions: (pc=0x104f66b6)
> 
> 0x104f66a6:   52 10 e8 b6 65 00 00 eb 16 50 ff 15 dc 81 51 10
> 
> 0x104f66b6:   0f b7 48 02 03 c8 51 8b 4d 08 e8 97 68 00 00 8b 
> 
> 
> 
> 
> 
> Stack: [0x0fcd0000,0x0fdd0000),  sp=0x0fdce0a0,  free space=1016k
> 
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM 
> code, C=native code)
> 
> C  [Rbuildj.dll+0x266b6]
> 
> C  [Rbuildj.dll+0x8f28]
> 
> C  [Rbuildj.dll+0xd3e8]
> 
> C  [Rbuildj.dll+0xd538]
> 
> C  [Rbuildj.dll+0xa0cb]
> 
> C  [Rbuildj.dll+0xc17c]
> 
> C  [Rbuildj.dll+0xc2db]
> 
> C  [Rbuildj.dll+0x67b7]
> 
> j  
> com.genexus.reports.SunGXReportViewer.GxPrInit([II[I[IILjava/l
> ang/String;Ljava/lang/String;Ljava/lang/String;IIIIIIIIIII)Z+0
> 
> j  
> com.genexus.reports.SunGXReportViewer.gxPrInit([II[I[IILjava/l
> ang/String;Ljava/lang/String;Ljava/lang/String;IIIIIIIIIII)Z+35
> 
> j  com.genexus.reports.GXReportViewerThreaded$GxPrintInit.run()V+89
> 
> J  
> com.genexus.util.ThreadedCommandQueue.consume(Lcom/genexus/uti
> l/RunnableFlag;)Z
> 
> J  com.genexus.util.ThreadedCommandQueue.run()V
> 
> j  java.lang.Thread.run()V+11
> 
> v  ~StubRoutines::call_stub
> 
> 
> 
> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
> 
> j  
> com.genexus.reports.SunGXReportViewer.GxPrInit([II[I[IILjava/l
> ang/String;Ljava/lang/String;Ljava/lang/String;IIIIIIIIIII)Z+0
> 
> j  
> com.genexus.reports.SunGXReportViewer.gxPrInit([II[I[IILjava/l
> ang/String;Ljava/lang/String;Ljava/lang/String;IIIIIIIIIII)Z+35
> 
> j  com.genexus.reports.GXReportViewerThreaded$GxPrintInit.run()V+89
> 
> J  
> com.genexus.util.ThreadedCommandQueue.consume(Lcom/genexus/uti
> l/RunnableFlag;)Z
> 
> J  com.genexus.util.ThreadedCommandQueue.run()V
> 
> j  java.lang.Thread.run()V+11
> 
> v  ~StubRoutines::call_stub
> 
> 
> 
> ---------------  P R O C E S S  ---------------
> 
> 
> 
> Java Threads: ( => current thread )
> 
> =>0x0fbd9400 JavaThread "Report viewer queue" 
> [_thread_in_native, id=42]
> 
>   0x0d406000 JavaThread "AWT-Windows" daemon 
> [_thread_in_native, id=60]
> 
>   0x0d404800 JavaThread "Java2D Disposer" daemon 
> [_thread_blocked, id=58]
> 
>   0x006e9800 JavaThread "Low Memory Detector" daemon 
> [_thread_blocked, id=56]
> 
>   0x006e4c00 JavaThread "CompilerThread0" daemon 
> [_thread_blocked, id=55]
> 
>   0x006e3800 JavaThread "Attach Listener" daemon 
> [_thread_blocked, id=54]
> 
>   0x006e2c00 JavaThread "Signal Dispatcher" daemon 
> [_thread_blocked, id=53]
> 
>   0x006d1c00 JavaThread "Finalizer" daemon [_thread_blocked, id=52]
> 
>   0x006d0c00 JavaThread "Reference Handler" daemon 
> [_thread_blocked, id=51]
> 
>   0x00653c00 JavaThread "main" [_thread_blocked, id=49]
> 
> 
> 
> Other Threads:
> 
>   0x006cdc00 VMThread [id=50]
> 
>   0x006eb000 WatcherThread [id=57]
> 
> 
> 
> VM state:not at safepoint (normal execution)
> 
> 
> 
> VM Mutex/Monitor currently owned by a thread: None
> 
> 
> 
> Heap
> 
>  def new generation   total 4544K, used 2208K [0x02970000, 
> 0x02e50000, 0x02e50000)
> 
>   eden space 4096K,  42% used [0x02970000, 0x02b28338, 0x02d70000)
> 
>   from space 448K,  99% used [0x02de0000, 0x02e4fff0, 0x02e50000)
> 
>   to   space 448K,   0% used [0x02d70000, 0x02d70000, 0x02de0000)
> 
>  tenured generation   total 60544K, used 49474K [0x02e50000, 
> 0x06970000, 0x06970000)
> 
>    the space 60544K,  81% used [0x02e50000, 0x05ea0a88, 
> 0x05ea0c00, 0x06970000)
> 
>  compacting perm gen  total 15616K, used 15536K [0x06970000, 
> 0x078b0000, 0x0a970000)
> 
>    the space 15616K,  99% used [0x06970000, 0x0789c340, 
> 0x0789c400, 0x078b0000)
> 
> No shared spaces configured.
> 
> 
> 
> Dynamic libraries:
> 
> 0x00400000 - 0x00423000 	C:\windows\system32\java.exe
> 
> 0x7bc10000 - 0x7bcb1000 	C:\windows\system32\ntdll.dll
> 
> 0x7b820000 - 0x7b971000 	C:\windows\system32\KERNEL32.dll
> 
> 0x68320000 - 0x68364000 	C:\windows\system32\advapi32.dll
> 
> 0x68370000 - 0x68379000 	C:\windows\system32\system.drv16
> 
> 0x7c340000 - 0x7c396000 	C:\Program 
> Files\Java\jre1.6.0_01\bin\msvcr71.dll
> 
> 0x6d7c0000 - 0x6da07000 	C:\Program 
> Files\Java\jre1.6.0_01\bin\client\jvm.dll
> 
> 0x5b610000 - 0x5b744000 	C:\windows\system32\user32.dll
> 
> 0x50e30000 - 0x50ec4000 	C:\windows\system32\gdi32.dll
> 
> 0x36850000 - 0x368de000 	C:\windows\system32\winmm.dll
> 
> 0x71fe0000 - 0x72074000 	C:\windows\system32\winex11.drv
> 
> 0x7c310000 - 0x7c328000 	C:\windows\system32\imm32.dll
> 
> 0x200b0000 - 0x200d4000 	C:\windows\system32\winealsa.drv
> 
> 0x4c6f0000 - 0x4c702000 	C:\windows\system32\msacm32.drv
> 
> 0x2ffc0000 - 0x2ffe2000 	C:\windows\system32\msacm32.dll
> 
> 0x20130000 - 0x20140000 	C:\windows\system32\midimap.dll
> 
> 0x6d310000 - 0x6d318000 	C:\Program 
> Files\Java\jre1.6.0_01\bin\hpi.dll
> 
> 0x4a120000 - 0x4a12f000 	C:\windows\system32\psapi.dll
> 
> 0x6d770000 - 0x6d77c000 	C:\Program 
> Files\Java\jre1.6.0_01\bin\verify.dll
> 
> 0x6d3b0000 - 0x6d3cf000 	C:\Program 
> Files\Java\jre1.6.0_01\bin\java.dll
> 
> 0x6d7b0000 - 0x6d7bf000 	C:\Program 
> Files\Java\jre1.6.0_01\bin\zip.dll
> 
> 0x10000000 - 0x10014000 	C:\users\Public\Application 
> Data\Genexus Web Start\H._Asistencial\winjutil.dll
> 
> 0x20150000 - 0x202d0000 	C:\windows\system32\shell32.dll
> 
> 0x6a740000 - 0x6a785000 	C:\windows\system32\shlwapi.dll
> 
> 0x3e1a0000 - 0x3e255000 	C:\windows\system32\comctl32.dll
> 
> 0x383f0000 - 0x384d2000 	C:\windows\system32\ole32.dll
> 
> 0x5f8f0000 - 0x5f950000 	C:\windows\system32\rpcrt4.dll
> 
> 0x72ce0000 - 0x72d02000 	C:\windows\system32\uxtheme.dll
> 
> 0x0d070000 - 0x0d0be000 	C:\users\Public\Application 
> Data\Genexus Web Start\H._Asistencial\swt-win32-3064.dll
> 
> 0x609a0000 - 0x60a4d000 	C:\windows\system32\comdlg32.dll
> 
> 0x202e0000 - 0x20304000 	C:\windows\system32\winspool.drv
> 
> 0x33f60000 - 0x34021000 	C:\windows\system32\oleaut32.dll
> 
> 0x61eb0000 - 0x61ec4000 	C:\windows\system32\usp10.dll
> 
> 0x3e3b0000 - 0x3e3c8000 	C:\windows\system32\localspl.dll
> 
> 0x20570000 - 0x20583000 	C:\windows\system32\spoolss.dll
> 
> 0x6d000000 - 0x6d1c3000 	C:\Program 
> Files\Java\jre1.6.0_01\bin\awt.dll
> 
> 0x35110000 - 0x35157000 	C:\windows\system32\ddraw.dll
> 
> 0x20400000 - 0x20525000 	C:\windows\system32\wined3d.dll
> 
> 0x6d570000 - 0x6d583000 	C:\Program 
> Files\Java\jre1.6.0_01\bin\net.dll
> 
> 0x20530000 - 0x20552000 	C:\windows\system32\ws2_32.dll
> 
> 0x0d6a0000 - 0x0d6ce000 	C:\users\Public\Application 
> Data\Genexus Web Start\H._Asistencial\Gxdib32.dll
> 
> 0x104d0000 - 0x10546000 	C:\users\Public\Application 
> Data\Genexus Web Start\H._Asistencial\Rbuildj.dll
> 
> 0x6d2b0000 - 0x6d303000 	C:\Program 
> Files\Java\jre1.6.0_01\bin\fontmanager.dll
> 
> 0x6d590000 - 0x6d599000 	C:\Program 
> Files\Java\jre1.6.0_01\bin\nio.dll
> 
> 0x5beb0000 - 0x5bf0a000 	C:\windows\system32\wineps.drv
> 
> 
> 
> VM Arguments:
> 
> java_command: uhosvital
> 
> Launcher Type: SUN_STANDARD
> 
> 
> 
> Environment Variables:
> 
> PATH=C:\windows\system32;C:\windows
> 
> USERNAME=germanr
> 
> SHELL=/bin/bash
> 
> DISPLAY=:0.0
> 
> OS=Windows_NT
> 
> PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel
> 
> 
> 
> 
> 
> 
> 
> ---------------  S Y S T E M  ---------------
> 
> 
> 
> OS: Windows XP Build 2600 Service Pack 3
> 
> 
> 
> CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2
> 
> 
> 
> Memory: 4k page, physical 2029412k(399508k free), swap 
> 4194303k(4194303k free)
> 
> 
> 
> vm_info: Java HotSpot(TM) Client VM (1.6.0_01-b06) for 
> windows-x86, built on Mar 14 2007 00:24:02 by "java_re" with 
> unknown MS VC++:1310
> 
> 
> 
> 
> 
> Please somebody help! Thanks in advance!
> 
> JVM 1.6.0_01
> Wine 1.2 1.1.31-0Ubuntu3
> Linux Ubuntu 9.10 Karmic Koala
> 2GB ran ddr1
> 4GB Swap space
> Ext4 Disk partition
> 
> 
> 
> 
> 
> 


More information about the wine-users mailing list