Hi Ali,

Thanks! I believe we have enough information from what you have already shared here and in JI-9035391. You can track the progress of this issue with JI-9035391 when it is transferred to JBS.

- Chien

On 4/14/16, 10:58 PM, Ali Ebrahimi wrote:
Hi Chien,

I googled and found there are already similar crash reports in javafx8 timeframe for this problem:
https://bugs.openjdk.java.net/browse/JDK-8096072
https://bugs.openjdk.java.net/browse/JDK-8092559

Since I can't comment on this issues on jira to add my patch, should I report new bug report for FX9?
Note: This patch also works for javafx8.

On Fri, Apr 15, 2016 at 2:07 AM, Chien Yang <chien.y...@oracle.com <mailto:chien.y...@oracle.com>> wrote:

    Thanks reporting your finding and suggestion. Do you mind filing a
    bug report?  Please include the steps and your system
    configuration that we may reproduce  the crash on our end.

    https://wiki.openjdk.java.net/display/OpenJFX/Submitting+a+Bug+Report

    Thanks,
    - Chien


    On 4/14/2016 12:16 PM, Ali Ebrahimi wrote:

        When running javafx apps with es2 pipeline on macosx vm I get
        jvm crash.

        The following patch fixes this issue and I can run Ensemple8
        application
        with es2 pipeline successfully.
        The good news is that 3D support is works fine.

        diff -r 3f15f2e59063
        
modules/graphics/src/main/native-prism-es2/macosx/MacOSXWindowSystemInterface.m
        ---
        
a/modules/graphics/src/main/native-prism-es2/macosx/MacOSXWindowSystemInterface.m
        Wed
        Apr 13 12:36:43 2016 -0700
        +++
        
b/modules/graphics/src/main/native-prism-es2/macosx/MacOSXWindowSystemInterface.m
        Thu
        Apr 14 23:45:18 2016 +0430
        @@ -68,7 +68,12 @@
              NSOpenGLPixelFormat *fmt = [[NSOpenGLPixelFormat alloc]
        initWithAttributes : attribs];
              if (fmt == nil) {
                  // should we fallback to defaults or not?
        -        fmt = [NSOpenGLView defaultPixelFormat];
        +        //fmt = [NSOpenGLView defaultPixelFormat];
        +        NSOpenGLPixelFormatAttribute attributes[] = {
        +            NSOpenGLPFAAllowOfflineRenderers,
        +            0
        +        };
        +        fmt = [[NSOpenGLPixelFormat alloc] initWithAttributes :
        attributes];
              }

              [pool release];





--

Best Regards,
Ali Ebrahimi

Reply via email to