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

Mac: Can't play certain movies in a sandboxed application

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 8
    • 7u9
    • javafx

      I cannot open certain movie files when my application is sandboxed. The movie files that don't play are files that have been converted, using QuickTime, from a .mp4 containing an mpeg encoded video to a .mp4 containing an H.264 encoded video. An example of which is attached (pre and post conversion).


      Here is the sandbox violation as reported on the console:

      JavaAppLauncher(1283) deny file-read-data /dev/fd

      Process: JavaAppLauncher [1283]
      Path: /Applications/Share.app/Contents/MacOS/JavaAppLauncher
      Load Address: 0x10ef77000
      Identifier: JavaAppLauncher
      Version: ??? (???)
      Code Type: X86-64 (Native)
      Parent Process: JavaAppLauncher [1261]

      Date/Time: 2012-11-14 08:58:06.526 -0700
      OS Version: Mac OS X 10.7.5 (11G63)
      Report Version: 7

      Backtrace:
      0 libsystem_kernel.dylib 0x00007fff8febdafa __open_nocancel + 10
      1 libsystem_c.dylib 0x00007fff85226033 __opendir2$INODE64 + 51
      2 libjava.dylib 0x000000010fe6c5f8 Java_java_lang_UNIXProcess_forkAndExec + 1369
      3 0x000000010feb3f90
      4 0x000000010fea82d4
      5 0x000000010fea8158
      6 0x000000010fea8333
      7 0x000000010fea8333
      8 0x000000010fea8333
      9 0x000000010fea8333
      10 0x000000010fea8158
      11 0x000000010fea8333
      12 0x000000010fea24f7
      13 libjvm.dylib 0x000000010f53255f JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 557
      14 libjvm.dylib 0x000000010f532a3c JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 256
      15 libjvm.dylib 0x000000010f532b76 JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74
      16 libjvm.dylib 0x000000010f5694f0 _ZL12thread_entryP10JavaThreadP6Thread + 169
      17 libjvm.dylib 0x000000010f7222b4 JavaThread::thread_main_inner() + 134
      18 libjvm.dylib 0x000000010f72379a JavaThread::run() + 440
      19 libjvm.dylib 0x000000010f65f1b5 _ZL10java_startP6Thread + 173
      20 libsystem_c.dylib 0x00007fff852198bf _pthread_start + 335
      21 libsystem_c.dylib 0x00007fff8521cb75 thread_start + 13

      Binary Images:
             0x10f2aa000 - 0x10f934fff +libjvm.dylib (??? - ???) <585C5CCA-C99C-346B-AA28-34B43EA65F79> /Applications/Share.app/Contents/PlugIns/1.7.0.jre/Contents/Home/jre/lib/server/libjvm.dylib
             0x10fe61000 - 0x10fe82fef +libjava.dylib (??? - ???) <B5207664-D660-38BD-810E-DB8F65D6827A> /Applications/Share.app/Contents/PlugIns/1.7.0.jre/Contents/Home/jre/lib/libjava.dylib
          0x7fff851cb000 - 0x7fff852a8fef libsystem_c.dylib (763.13.0 - compatibility 1.0.0) <41B43515-2806-3FBC-ACF1-A16F35B7E290> /usr/lib/system/libsystem_c.dylib
          0x7fff8fea7000 - 0x7fff8fec7fff libsystem_kernel.dylib (1699.32.7 - compatibility 1.0.0) <66C9F9BD-C7B3-30D4-B1A0-03C8A6392351> /usr/lib/system/libsystem_kernel.dylib

        1. pre-conversion.mp4
          448 kB
        2. test.mp4
          168 kB
        3. JavaFXApplication1.java
          0.9 kB

            almatvee Alexander Matveev
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: