<?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>865</bug_id>
          
          <creation_ts>2013-10-23 06:31:44 +0200</creation_ts>
          <short_desc>Applets on Safari &gt;= 6.1 [OSX]: IOUtil.getTempDir(..) Cannot determine executable temp directory</short_desc>
          <delta_ts>2014-10-08 13:29:58 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Gluegen</product>
          <component>core</component>
          <version>2</version>
          <rep_platform>All</rep_platform>
          <op_sys>macosx</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>1015</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>karelknoest</cc>
    
    <cc>tarioh</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs>fec9712b151ad31b053fe700cb0f809b9715407c</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3154</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-10-23 06:31:44 +0200</bug_when>
    <thetext>IOUtil.getTempDir(..) cannot determine executable temp directory on OSX 10.9 / Safari 7.0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3155</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-10-23 06:32:09 +0200</bug_when>
    <thetext>OSX 10.9 / FF works though ..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3156</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-10-23 06:33:03 +0200</bug_when>
    <thetext>IOUtil.testDirExec: &lt;/var/folders/w5/mf8cm5c56ws6c2glx_m0q8c80000gp/T/WebKitPlugin-zY6yWp/jogamp_exe_tst7572851605035216314.sh&gt;: Cannot run program &quot;/private/var/folders/w5/mf8cm5c56ws6c2glx_m0q8c80000gp/T/WebKitPlugin-zY6yWp/jogamp_exe_tst7572851605035216314.sh&quot;: error=1, Operation not permitted
IOUtil.testFile: &lt;/Users/jogamp&gt;: is not writable


.. this might be an issue w/ new version of WebKit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3157</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-10-23 08:22:07 +0200</bug_when>
    <thetext>The &apos;exetst&apos; File created via &apos;File.createTempFile(&quot;jogamp_exe_tst&quot;, getShellSuffix(), dir)&apos;
exposed the following extended attributes on OSX 10.9 w/ Safari 7.0:

(08:13:56 AM) sgothel: charelle:log jogamp$ xattr -l ~/test/a.sh 
(08:13:56 AM) sgothel: com.apple.quarantine: 0006;52675f00;PluginProcess.app;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3162</commentid>
    <comment_count>4</comment_count>
    <who name="Karel Knoest">karelknoest</who>
    <bug_when>2013-10-23 15:27:43 +0200</bug_when>
    <thetext>Same problem occurs for Safari 6.1 on OSX 10.8. 

Trace log:
Warning: Catched Exception while retrieving temp base directory:
java.lang.RuntimeException: Could not determine a temporary directory
        at com.jogamp.common.util.IOUtil.getTempDir(IOUtil.java:1222)
        at com.jogamp.common.util.cache.TempFileCache.&lt;clinit&gt;(TempFileCache.java:80)
        at com.jogamp.common.util.cache.TempJarCache.initSingleton(TempJarCache.java:90)
        at com.jogamp.common.os.Platform$1.run(Platform.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.jogamp.common.os.Platform.&lt;clinit&gt;(Platform.java:173)
        at javax.media.opengl.GLProfile.&lt;clinit&gt;(GLProfile.java:82)
        at jogamp.opengl.awt.VersionApplet.my_init(VersionApplet.java:73)
        at jogamp.opengl.awt.VersionApplet.init(VersionApplet.java:136)
        at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
        at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:744)
java.lang.UnsatisfiedLinkError: Can&apos;t load library: /System/Library/Frameworks/gluegen-rt.Framework/gluegen-rt
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
        at java.lang.Runtime.load0(Runtime.java:795)
        at java.lang.System.load(System.java:1062)
        at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:551)
        at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:64)
        at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:96)
        at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:414)
        at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:388)
        at com.jogamp.common.os.Platform$1.run(Platform.java:203)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.jogamp.common.os.Platform.&lt;clinit&gt;(Platform.java:173)
        at javax.media.opengl.GLProfile.&lt;clinit&gt;(GLProfile.java:82)
        at jogamp.opengl.awt.VersionApplet.my_init(VersionApplet.java:73)
        at jogamp.opengl.awt.VersionApplet.init(VersionApplet.java:136)
        at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
        at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:744)
Ignored exception: java.lang.UnsatisfiedLinkError: Can&apos;t load library: /System/Library/Frameworks/gluegen-rt.Framework/gluegen-rt
basic: Dialog type is not candidate for embedding</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3163</commentid>
    <comment_count>5</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-10-23 16:49:29 +0200</bug_when>
    <thetext>    - IOUtil.getTempDir(..): Don&apos;t test executable caps on OSX for java_io_tmpdir
    
    - JarUtil.extract(..): Issue native fixNativeLibAttribs(..) on OSX for native library files,
                           i.e. remove xattr &apos;com.apple.quarantine&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3193</commentid>
    <comment_count>6</comment_count>
    <who name="Karel Knoest">karelknoest</who>
    <bug_when>2013-10-25 16:14:23 +0200</bug_when>
    <thetext>Hi Sven,

Thank you for looking into this bug this quickly. 

For fixing this issue on our side, I&apos;m curious how to interpret your last post.

Looking forward to your feedback!

Best,
Knoest</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3194</commentid>
    <comment_count>7</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-10-25 16:56:36 +0200</bug_when>
    <thetext>(In reply to comment #6)
&gt; Hi Sven,
&gt; 
&gt; Thank you for looking into this bug this quickly. 
&gt; 
&gt; For fixing this issue on our side, I&apos;m curious how to interpret your last
&gt; post.
&gt; 
&gt; Looking forward to your feedback!
&gt; 
&gt; Best,
&gt; Knoest

Sorry, my comment 5 is a summary (git commit message)
of JOGL commit fec9712b151ad31b053fe700cb0f809b9715407c

so it&apos;s not a recipe for you ..  :)

Read the JOGL git commit for details (source).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3204</commentid>
    <comment_count>8</comment_count>
    <who name="Karel Knoest">karelknoest</who>
    <bug_when>2013-10-28 09:12:45 +0100</bug_when>
    <thetext>Ah, thanks... by bad, I was keeping an eye on the wrong project.

(In reply to comment #7)
&gt; (In reply to comment #6)
&gt; &gt; Hi Sven,
&gt; &gt; 
&gt; &gt; Thank you for looking into this bug this quickly. 
&gt; &gt; 
&gt; &gt; For fixing this issue on our side, I&apos;m curious how to interpret your last
&gt; &gt; post.
&gt; &gt; 
&gt; &gt; Looking forward to your feedback!
&gt; &gt; 
&gt; &gt; Best,
&gt; &gt; Knoest
&gt; 
&gt; Sorry, my comment 5 is a summary (git commit message)
&gt; of JOGL commit fec9712b151ad31b053fe700cb0f809b9715407c
&gt; 
&gt; so it&apos;s not a recipe for you ..  :)
&gt; 
&gt; Read the JOGL git commit for details (source).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4360</commentid>
    <comment_count>9</comment_count>
    <who name="arioh">tarioh</who>
    <bug_when>2014-10-08 13:29:58 +0200</bug_when>
    <thetext>It is broken again in 2.2.1. Tested on Windows XP + IE8
2.1.5 works fine</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>