Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6548757

Crash in fontmanager.dll on windows-amd64

XMLWordPrintable

    • 2d
    • b08
    • 7
    • b14
    • x86
    • windows_2003, windows_xp
    • Verified

        Following testcase crashes on windows-amd64 with jdk7(b10,b11), jdk6u2 but doesn't with jdk6b98:

        import javax.swing.JFrame;
        import javax.swing.UIManager;

        public class Test {

            public static void main(String[] args) {
                try {
                    UIManager.setLookAndFeel(
                            UIManager.getSystemLookAndFeelClassName());
                } catch (Exception ex) {
                    System.out.println("Unable to load native look and feel");
                }
                (new JFrame()).setVisible(true);
            }
        }

        Here is the stack trace from crash dump:

        ntdll!ZwWaitForSingleObject+0xa
        kernel32!WaitForSingleObjectEx+0x130
        faultrep!InternalGenerateMinidumpEx+0x722
        faultrep!InternalGenerateMinidump+0x10a
        faultrep!InternalGenFullAndTriageMinidumps+0xfb
        faultrep!ReportFaultDWM+0x731
        faultrep!StartManifestReportImmediate+0x2c0
        faultrep!ReportFault+0x3ca
        kernel32!UnhandledExceptionFilter+0x629
        fontmanager!__report_gsfailure+0xec [d:\srvrtm\base\tools\gs_support\umode\gs_report.c @136]
        fontmanager!DifferentFamily+0xb9 [d:\export\java2d\j2se\src\windows\native\sun\font\fontpath.c @ 195]
        fontmanager!EnumFontFacesInFamilyProcW+0x60 [d:\export\java2d\j2se\src\windows\native\sun\font\fontpath.c @ 217]
        gdi32!EnumFontsInternalW+0x1e6
        gdi32!EnumFontFamiliesExW+0x48
        fontmanager!EnumFamilyNamesW+0x239 [d:\export\java2d\j2se\src\windows\native\sun\font\fontpath.c @ 341]
        gdi32!EnumFontsInternalW+0x1e6
        gdi32!EnumFontFamiliesExW+0x48
        fontmanager!Java_sun_font_FontManager_populateFontFileNameMap+0x383 [d:\export\java2d\j2se\src\windows\native\sun\font\fontpath.c @ 604]
        0x209fcc4
        0x1fde7a8

              prr Philip Race
              avu Alexey Ushakov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: