Jvm crash: es2 pipeline crashs jvm on macosx vm

Chien Yang chien.yang at oracle.com
Thu Apr 14 21:37:23 UTC 2016


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];
>



More information about the openjfx-dev mailing list