[Bug 10914] New: jedit crashes on startup in ddraw

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 27 19:16:58 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=10914

           Summary: jedit crashes on startup in ddraw
           Product: Wine
           Version: CVS/GIT
          Platform: Other
               URL: http://jedit.org
        OS/Version: other
            Status: NEW
          Keywords: download
          Severity: normal
          Priority: P2
         Component: wine-directx-ddraw
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com


Running real Java apps under the latest Sun win32 JRE on Wine
seems like a fine stress test, even though in many
cases users should run with the Linux JRE instead.
The Sun JRE and jEdit install ok, but jedit has many startup problems.
The first one was bug 10913.

Here's the second one.  Start it up like jedit.bat would have,
but without using start:

$ wine 'c:\windows\system32\javaw.exe' -Xms64M -Xmx192M -jar 'C:\Program
Files\jEdit\jedit.jar' -reuseview

This fails with
 java.lang.IllegalArgumentException: Noncontiguous red mask (300a7
  at java.awt.image.PackedColorModel.createBitsArray(Unknown Source)
  at java.awt.image.PackedColorModel.<init>(Unknown Source)
  at java.awt.image.DirectColorModel.<init>(Unknown Source)
  at java.awt.image.DirectColorModel.<init>(Unknown Source)
  at sun.awt.Win32GraphicsDevice.makeColorModel(Native Method)
  at sun.awt.Win32GraphicsDevice.getDynamicColorModel(Unknown Source)
  at sun.awt.Win32GraphicsConfig.getDeviceColorModel(Unknown Source)
  at sun.awt.windows.WComponentPeer.getDeviceColorModel(Unknown Source)
  at sun.java2d.windows.Win32SurfaceData.createData(Unknown Source)

You can bypass this and get to the next problem (I think) by adding the flag
 -Dsun.java2d.noddraw=true 
After a few tries, Java gets smart and starts running with that flag
set by default, I think.  Removing ~/.wine and reinstalling them
lets you get the error back.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list