jit.qt.movie "voc n" change crashing galore


    Apr 18 2006 | 5:51 pm
    hi,
    i am desperate with this issue, can't see where i got it wrong. an my patch is crashing on my like crazy but only on the latest versions of mac os x, max and jitter (older versions are brave). the below patch demonstrates my problem.
    it seams that the handling of the "voc n" message to jit.qt.movie has changed or at least has become very "sensible" as soon as multiple jit.qt.movie objects try to access a firewire video out component (canopus 110 in my case) directly. i also remember, that i used to get a "sucess" message for every instance of jit.qt.movie i initialized with "voc n" (n being number of "firewire" output) this is not the case anymore, even if they all output to the voc.
    could someone with a firewire out device successfull in use reproduce my crashing ? ... oh, and tell me why ? ... and how not to ;)
    cheers, and thanks in advance, tatsu.
    //sorry for the hefty patch?

    • Apr 23 2006 | 6:56 pm
      so i tried my patch on another system running jitter 1.2.3 without a crash. to me it's the latest jitter release that is causing a crash when the voc is changed and more than one jit.qt.movie instances are directly accessing the same output component. but i might be wrong, it would be great if someone who`s firewire video out is working well could test my patch in the original post "jit.qt.movie "voc n" change crashing galore".
      thanks in advance, tatsu.
    • Jul 13 2006 | 5:01 pm
      hi there,
      this is still a major issue to me and i wonder if noone else can reproduce my problem with the patch i provided at first.
      the bottomline is: as soon as multiple jit.qt.movie objects access video-out hardware (firewire canopus in my case) the system becomes extremly unstable up to sure to crash. this is only the case with jitter 1.5.x not 1.2.x ! so something must have been changed to cause this.
      any idea on what -i- might be able to do in order to have multiple jit.qt.movie objects directly output to my firewire interface is very apreciated.
      below is an example crashlog cheers, t.
      OS Version: 10.4.7 (Build 8J135) Report Version: 4
      Command: MaxMSP 4.5.app Path: /Applications/MaxMSP 4.5/MaxMSP 4.5.app Parent: WindowServer [69]
      Version: 4.5.7 (4.5.7 - 3 February 2006)
      PID: 653 Thread: 0
      Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0xf97821a1
      Thread 0 Crashed: 0 com.apple.QD 0x91763420 GetPixBaseAddr + 28 1 ...ickTimeComponents.component 0x98b005dc Video2GWorldChanged + 292 2 ...ple.CoreServices.CarbonCore 0x90bda1bc CallComponentFunctionCommon + 1076 3 ...ple.CoreServices.CarbonCore 0x90bd9d24 CallComponent + 260 4 com.apple.QuickTime 0x94776c08 MediaGWorldChanged + 44 5 com.apple.QuickTime 0x94776bb8 CallMediaGWorldChanged + 176 6 com.apple.QuickTime 0x9471e1c4 ForEachMedia_priv + 132 7 com.apple.QuickTime 0x9471ca0c SetMovieGWorldPriv + 276 8 com.apple.QuickTime 0x9473f0e8 SetMovieGWorld_priv + 488 9 jitlib 0x0604b9ac jit_qt_movie_movie_prep + 780 10 jitlib 0x0608e224 jit_qt_movie_prep_output + 356 11 jitlib 0x0608e5d0 jit_qt_movie_voc_open + 480 12 jitlib 0x0608e71c jit_qt_movie_voc + 204 13 MaxPPC3.1pwpc 0x00536af4 object_method + 924 14 jitlib 0x0607ada0 jit_object_method + 172 15 jitlib 0x06019c10 max_jit_attr_set + 60 16 jitlib 0x0601a530 max_jit_usurp_qfn + 112 17 jitlib 0x06019a98 jit_usurp_method + 848 18 jitlib 0x0601a47c max_jit_usurp_method + 116 19 MaxPPC3.1pwpc 0x00436fa8 typedmess_fun + 200 20 MaxPPC3.1pwpc 0x0050a164 outlet_anything + 320 21 MaxPPC3.1pwpc 0x00436fa8 typedmess_fun + 200 22 MaxPPC3.1pwpc 0x0050a164 outlet_anything + 320 23 MaxPPC3.1pwpc 0x004b7d28 send_anything__FP4sendP6symbolsP4atom + 56 24 MaxPPC3.1pwpc 0x00436fa8 typedmess_fun + 200 25 MaxPPC3.1pwpc 0x0050a164 outlet_anything + 320 26 MaxPPC3.1pwpc 0x00436fa8 typedmess_fun + 200 27 MaxPPC3.1pwpc 0x00436c60 typedmess + 92 28 MaxPPC3.1pwpc 0x00438200 aeval + 1264 29 MaxPPC3.1pwpc 0x0040bfc0 atombuf_eval + 124 30 MaxPPC3.1pwpc 0x004d32ec vmessage_int__FP9_vmessagel + 80 31 MaxPPC3.1pwpc 0x00509aa8 outlet_int + 356 32 MaxPPC3.1pwpc 0x005084a0 inlet_int + 212 33 MaxPPC3.1pwpc 0x00509a64 outlet_int + 288 34 ubumenu 0x217e5778 ubumenu_bang + 568 35 ubumenu 0x217e925c ubumenu_drag + 2336 36 MaxPPC3.1pwpc 0x00418adc max_dragguts + 244 37 MaxPPC3.1pwpc 0x004189a8 max_dodrag + 60 38 MaxPPC3.1pwpc 0x0042dc94 app_eventhandler + 1736 39 com.apple.HIToolbox 0x931e5554 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 692 40 com.apple.HIToolbox 0x931e4cac SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 372 41 com.apple.HIToolbox 0x931eba60 SendEventToEventTarget + 40 42 com.apple.HIToolbox 0x93277d48 HandleMouseEventForWindow(OpaqueWindowPtr*, OpaqueEventRef*, unsigned short) + 236 43 com.apple.HIToolbox 0x932772c0 HandleMouseEvent(OpaqueEventRef*) + 368 44 com.apple.HIToolbox 0x931ebdcc ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 496 45 com.apple.HIToolbox 0x931e57a4 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1284 46 com.apple.HIToolbox 0x931e4cac SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 372 47 com.apple.HIToolbox 0x931eba60 SendEventToEventTarget + 40 48 com.apple.HIToolbox 0x9322c7a0 ToolboxEventDispatcher + 92 49 com.apple.HIToolbox 0x9322c72c HLTBEventDispatcher + 16 50 com.apple.HIToolbox 0x9322ace4 RunApplicationEventLoop + 148 51 MaxPPC3.1pwpc 0x0042d534 app_run + 48 52 MaxPPC3.1pwpc 0x0042c314 main + 820
      Thread 1: 0 libSystem.B.dylib 0x900551a8 semaphore_timedwait_signal_trap + 8 1 libSystem.B.dylib 0x90071828 pthread_cond_timedwait_relative_np + 556 2 ...ple.CoreServices.CarbonCore 0x90bf4550 TSWaitOnSemaphoreCommon + 176 3 ...ple.CoreServices.CarbonCore 0x90bfc4ec TimerThread + 60 4 libSystem.B.dylib 0x9002bc28 _pthread_body + 96
      Thread 2: 0 libSystem.B.dylib 0x900551a8 semaphore_timedwait_signal_trap + 8 1 libSystem.B.dylib 0x90071828 pthread_cond_timedwait_relative_np + 556 2 ...ple.CoreServices.CarbonCore 0x90bf4550 TSWaitOnSemaphoreCommon + 176