<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>931</bug_id>
          
          <creation_ts>2013-12-24 00:04:38 +0100</creation_ts>
          <short_desc>OSX: v2.0.2-rc12 causes a SIGABRT with Applets (Safari, Firefox, .. and JVM 7u45)</short_desc>
          <delta_ts>2014-01-22 09:37:33 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>macosx</component>
          <version>2</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>packet0ack+bug</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3520</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-12-24 00:04:38 +0100</bug_when>
    <thetext>Reported here:
  &lt;http://forum.jogamp.org/applets-fail-to-start-on-Mac-tp4031027.html&gt;

I tested Java applets on Mac OS X 10.8.5 with Java 7.
When I use JOGL v2.0-rc11 or earlier, applets using JOGL start successfully.
However, if I use JOGL from v2.0.2-rc12 to the latest v2.1.3, applets fail to start
with message &apos;jogamp.org quit unexpectedly while using the libjvm.dylib plug-in.&apos;
The problem details is as below.

I updated my Mac to OS 10.9.1, but the problem is not solved.
Any help will be appreciated.

Model: MacBook5,2, BootROM MB52.0088.B06, 2 processors, Intel Core 2 Duo, 2.13 GHz, 2 GB, SMC 1.38f5
Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB 

Browsers I used are safari 7.0.1 and firefox 26.0.

+++

Tested on JVM 7u45 on a NVidia GT 650M (retina) and GT 320M (mini).

I reproduced a sporadic crash like yours
after testing many times on GT 320M (mini) ..

Me using:
  &lt;http://jogamp.org/deployment/archive/master/gluegen_757-joal_507-jogl_1182-jocl_895-signed/jogl-applet-runner-newt-gears-normal-napplet.html&gt;

I get a different crash trace @ main-Animator:
  - gldUpdateDispatch
  - gleDoDrawDispatchCoreGL3
  - glDrawArrays

.. same exception type and code.

This never occurred on the GT 650M (retina).

Sporadic:
  - Only at Firefox/Safari startup and 1st applet, very rare.
  - After Applet launched successfully all subsequent tests work fine
  - Relaunching firefox after shutdown the same and java/applet
    it also launches properly.

+++

----------
Process:         java [247]
Path:            /usr/bin/java
Identifier:      net.java.openjdk.cmd
Version:         1.0 (1.0)
Code Type:       X86-64 (Native)
Parent Process:  ??? [1]
User ID:         501

PlugIn Path:       /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/server/libjvm.dylib
PlugIn Identifier: libjvm.dylib
PlugIn Version:    ??? (1)

Date/Time:       2013-12-22 17:04:14.035 +0900
OS Version:      Mac OS X 10.8.5 (12F45)
Report Version:  10

Interval Since Last Report:          4458 sec
Crashes Since Last Report:           6
Per-App Interval Since Last Report:  682 sec
Per-App Crashes Since Last Report:   6
Anonymous UUID:                      CE4836F5-865F-1C9B-CB97-DCBDF1BBDCA5

Crashed Thread:  33  Java: thread applet-com.jogamp.newt.awt.applet.JOGLNewtApplet1R

Exception Type:  EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
--&gt;
    __TEXT                 000000010d472000-000000010d483000 [   68K] r-x/rwx SM=COW  /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java

Application Specific Information:
abort() called

Thread 33 Crashed:: Java: thread applet-com.jogamp.newt.awt.applet.JOGLNewtApplet1R
0   libsystem_kernel.dylib         0x00007fff84914212 __pthread_kill + 10
1   libsystem_c.dylib             0x00007fff8be70b24 pthread_kill + 90
2   libsystem_c.dylib             0x00007fff8beb4f61 abort + 143
3   libjvm.dylib                   0x000000010d9b9b93 os::abort(bool) + 25
4   libjvm.dylib                   0x000000010dac4220 VMError::report_and_die() + 2316
5   libjvm.dylib                   0x000000010d9bb52d JVM_handle_bsd_signal + 1083
6   libsystem_c.dylib             0x00007fff8be5d90a _sigtramp + 26
7   com.apple.CoreFoundation       0x00007fff8a5f1eaa CFDataGetBytePtr + 10
8   libnewt.jnilib                 0x000000013de7f946 0x13de76000 + 39238
9   libnewt.jnilib                 0x000000013de7f8ca 0x13de76000 + 39114
10  libnewt.jnilib                 0x000000013de7c440 0x13de76000 + 25664
11  libnewt.jnilib                 0x000000013de77f18 Java_jogamp_newt_driver_macosx_WindowDriver_initIDs0 + 488</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3594</commentid>
    <comment_count>1</comment_count>
    <who name="pack">packet0ack+bug</who>
    <bug_when>2014-01-16 13:57:45 +0100</bug_when>
    <thetext>Hi, I&apos;m the guy who posted &lt;http://forum.jogamp.org/JVM-crash-with-GLWindow-create-caps-on-OSX-10-9-1-td4031108.html&gt;

I seem to get similar problem on my mac as well, although I&apos;m not running the applet but directly compiling .java and executing .class file.
In my case JVM crashed 100% with GLWindow.create() on versions &gt;2.0.2-rc12.

It seems like a general bug in Newt after rc11, since GLCanvas and stuff works.

Macbook Air Mid 2012 (Intel HD Graphics 4000 1024 MB); OSX10.9.1 (13B42); JVM 1.7.0_45 (Oracle)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3607</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-01-22 09:37:33 +0100</bug_when>
    <thetext>Seems like an issue w/ Oracle&apos;s 7u45 plugin, 
didn&apos;t occur on 7u51 anymore.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>