Forums > Javascript

Javascript Crashes Max/MSP

June 29, 2010 | 10:35 pm

Hello,

I have a patch that use an OCR program (tesseract) to analyze images culled from video. It is part of a larger patch that does all sorts of things with that data. It crashes fairly regularly (usually with 10 15 minutes of start but sometimes as long as an hour). I believe I have the crash isolated to the javascript that draws the text to the matrix "werds". If I disconnect this script the program runs for at least 24 hours. But I can’t figure out what in the script (if anything) is making it crash. I have modified it (so you can use the text file I am attaching) rather than needing all the other third party stuff. I am including the other parts of the patch in case they may be causing or contributing to the problem.

Any help with this would be fantastic.

– Pasted Max Patch, click to expand. –

Model Name: MacBook Pro
Model Identifier: MacBookPro5,3
Processor Name: Intel Core 2 Duo
Processor Speed: 3.06 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 6 MB
Memory: 8 GB
Bus Speed: 1.07 GHz
Boot ROM Version: MBP53.00AC.B03
SMC Version (system): 1.48f2
Serial Number (system): W89431W564C
Hardware UUID: DAF02393-093B-5B19-A64B-B994A730BCD8
Sudden Motion Sensor:
State: Enabled

Attachments:
  1. crashReport.rtf

June 30, 2010 | 10:51 pm

Did you try prioritizing the function with immediate attribute? See if this makes a difference. I’ve had issues with this, .immediate=1 will put the process in the overdrive queue. Possibly jitter is looking for values that are defered, and therefore not ready when its called by the matrix? Just a thought.


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