Forums > Jitter

standalone crash

May 12, 2010 | 3:17 pm

hello jitter fellows,

i am working on a opengl based videoplayer with 5 videoplanes.
4 videoplayer and 1 feedbacklayer. each plane has also a slab chain.

after 30 minutes running, my standalone crashed with the error message attached. i seems to be a quicktime problem.

cant post a patch, because my actual project is to big ….
one month ago, i had a 3 channel player based on the same patches,
playing fine for hours.

i am on a MacBookPro2,2, Intel Core 2 Duo, 2.16 GHz
running mac os 10.5.8 with the latest max5 version
quicktime version is: 7.6.4 (518.35)

perhaps someone has solved the same problem …

tom

Process: player4_channel [221]
Path: /data/08_max/feedback/player4_channel.app/Contents/MacOS/player4_channel
Identifier: com.cycling74.com.Max.player4_channel.appRuntime
Version: 5.1.4 (42462) (5.1.4)
Code Type: X86 (Native)
Parent Process: launchd [161]

Interval Since Last Report: 2332144 sec
Crashes Since Last Report: 95
Per-App Interval Since Last Report: 1325 sec
Per-App Crashes Since Last Report: 1

Date/Time: 2010-05-12 16:57:38.452 +0200
OS Version: Mac OS X 10.5.8 (9L31a)
Report Version: 6
Anonymous UUID: 003D6813-49A2-4480-9D2C-165949A57B54

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000008b145da3
Crashed Thread: 9

Thread 0:
0 ??? 0xa0a7b7f6 dyld_stub_CallComponentDispatch + 0
1 …ickTimeComponents.component 0x951b222f STMediaSTDisplayTimeToSampleNum + 143
2 …ple.CoreServices.CarbonCore 0x97314fcf CallComponentFunctionCommon + 1403
3 …ickTimeComponents.component 0x951a97d3 STMediaComponentDispatch + 125
4 …ple.CoreServices.CarbonCore 0×97314935 CallComponentDispatch + 29
5 …ickTimeComponents.component 0x958f871c MediaSTDisplayTimeToSampleNum + 61
6 …ickTimeComponents.component 0x951aae36 STMediaMediaDisplayTimeToSampleNum + 52
7 …ple.CoreServices.CarbonCore 0x97314fcf CallComponentFunctionCommon + 1403
8 …ickTimeComponents.component 0x951a97d3 STMediaComponentDispatch + 125
9 …ple.CoreServices.CarbonCore 0×97314935 CallComponentDispatch + 29
10 …ickTimeComponents.component 0x958f763a MediaMediaDisplayTimeToSampleNum + 61
11 …ickTimeComponents.component 0x95192ecb mediaDisplayTimeToSampleNumHook + 71
12 …ickTimeComponents.component 0x95193ac9 mentorGetNextFrame + 588
13 …ickTimeComponents.component 0x95194c12 QTVideoMentorGetNextFrameToLoad + 50
14 …ickTimeComponents.component 0x9518d221 v2m_doWhatTheMentorTellsUs + 1552
15 …ickTimeComponents.component 0x9518edfd Video2MoviesTask + 2780
16 …ple.CoreServices.CarbonCore 0x97314fcf CallComponentFunctionCommon + 1403
17 …ickTimeComponents.component 0x9517df75 Video2ComponentDispatch + 210
18 …ple.CoreServices.CarbonCore 0×97314935 CallComponentDispatch + 29
19 com.apple.QuickTime 0x922eb71b MediaMoviesTask + 61
20 com.apple.QuickTime 0×92247483 TaskMovie_priv + 4811
21 com.apple.QuickTime 0x9232834e MoviesTask_priv + 100
22 com.cycling74.JitterAPI 0x0f1b795c jit_qt_movie_task + 96
23 com.cycling74.JitterAPI 0x0f1babc8 jit_qt_movie_fromgworld + 1352
24 com.cycling74.JitterAPI 0x0f1bce3d jit_qt_movie_matrix_calc + 815
25 ….player4_channel.appRuntime 0x000b3d35 object_method + 901
26 com.cycling74.MaxAPI 0x0963d30a object_method + 156
27 com.cycling74.JitterAPI 0x0f16aa7c jit_object_method + 136
28 com.cycling74.jit.qt.movie 0x10fc0227 max_jit_qt_movie_outputmatrix + 186
29 com.cycling74.JitterAPI 0x0f189b36 max_jit_usurp_qfn + 95
30 com.cycling74.JitterAPI 0x0f189dd0 max_jit_usurp_method + 157
31 ….player4_channel.appRuntime 0x0001b8f2 typedmess_fun + 782
32 ….player4_channel.appRuntime 0x0001be23 typedmess + 83
33 com.cycling74.MaxAPI 0x0963146a typedmess + 60
34 com.cycling74.JitterAPI 0x0f19e8f1 max_jit_mop_bang + 52
35 ….player4_channel.appRuntime 0x0005fb10 outlet_bang + 952
36 ….player4_channel.appRuntime 0x0005fb10 outlet_bang + 952
37 ….player4_channel.appRuntime 0x0004dadb through_scheduler_senditfun(through*, _sendargs*) + 59
38 ….player4_channel.appRuntime 0x0004db67 through_scheduler_sendit + 79
39 ….player4_channel.appRuntime 0x0004dc09 through_scheduler_bang + 71
40 ….player4_channel.appRuntime 0x00047b4c send_bang(send*) + 42
41 ….player4_channel.appRuntime 0x0005f9fa outlet_bang + 674
42 ….player4_channel.appRuntime 0x0004f8b4 trigger_iterate(unpack*, long, double, symbol*, symbol*, short, atom*, short) + 434
43 ….player4_channel.appRuntime 0x0004fae0 trigger_bang(unpack*) + 80
44 ….player4_channel.appRuntime 0x0005f9fa outlet_bang + 674
45 com.cycling74.MaxAPI 0x0962f5c9 outlet_bang + 31
46 com.cycling74.metro 0x100a1b37 metro_out + 77
47 ….player4_channel.appRuntime 0x00028c09 sched_dequeue + 119
48 ….player4_channel.appRuntime 0x00011dfd max_tick + 77
49 ….player4_channel.appRuntime 0x0018997a maxapplication_eventtimerproc(__EventLoopTimer*, void*) + 22
50 com.apple.CoreFoundation 0x96d7c8f5 CFRunLoopRunSpecific + 4469
51 com.apple.CoreFoundation 0x96d7caa8 CFRunLoopRunInMode + 88
52 com.apple.HIToolbox 0x9429e2ac RunCurrentEventLoopInMode + 283
53 com.apple.HIToolbox 0x9429e0c5 ReceiveNextEventCommon + 374
54 com.apple.HIToolbox 0x943e1377 ReceiveNextEvent + 58
55 ….player4_channel.appRuntime 0x002124ea juce::juce_dispatchNextMessageOnSystemQueue(bool, bool) + 554
56 ….player4_channel.appRuntime 0x0021c0bf juce::MessageManager::dispatchNextMessage(bool, bool*, bool) + 79
57 ….player4_channel.appRuntime 0x0021c17e juce::MessageManager::runDispatchLoop() + 42
58 ….player4_channel.appRuntime 0x0021aad9 juce::JUCEApplication::main(juce::String&, juce::JUCEApplication*) + 605
59 ….player4_channel.appRuntime 0x0021abb3 juce::JUCEApplication::main(int, char**, juce::JUCEApplication*) + 125
60 ….player4_channel.appRuntime 0x00189dbe main + 76
61 ….player4_channel.appRuntime 0×00005742 _start + 216
62 ….player4_channel.appRuntime 0×00005669 start + 41

Thread 1:
0 libSystem.B.dylib 0x93f25266 mach_msg_trap + 10
1 libSystem.B.dylib 0x93f2ca5c mach_msg + 72
2 com.apple.audio.midi.CoreMIDI 0x09aebf0f XServerMachPort::ReceiveMessage(int&, void*, int&) + 101
3 com.apple.audio.midi.CoreMIDI 0x09ade477 MIDIInPortThread::Run() + 111
4 com.apple.audio.midi.CoreMIDI 0x09ae207d XThread::RunHelper(void*) + 17
5 com.apple.audio.midi.CoreMIDI 0x09aec9ee CAPThread::Entry(CAPThread*) + 96
6 libSystem.B.dylib 0x93f56155 _pthread_start + 321
7 libSystem.B.dylib 0x93f56012 thread_start + 34


May 14, 2010 | 5:51 pm

you should check out your memory usage and see if that’s contributing to the crash, using something like activity monitor.


May 14, 2010 | 7:14 pm

i did this. memory usage is stable at 290MB. so there seem to be no memory leak. my patch does not use much ram. i am reading the movies with asyncread from the harddisk and mix them with shaders on the gpu.
i am using the application now since 2 days without a crash. i hope it will also run at my performance on monday :-)


May 15, 2010 | 8:12 pm

some users have reported problems with asyncread.
if you still get crashes, i would recommend removing asyncread and seeing if that helps.

not sure what your patch entails, but perhaps you can read each movie in a poly~ at initialization instead.


Viewing 4 posts - 1 through 4 (of 4 total)