Forums > MaxMSP

Javascript repeatedly crashes Max

June 29, 2010 | 8:41 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. myIP.txt

June 29, 2010 | 8:44 pm

Here is the javascript file

Attachments:
  1. tessTextDrawer.js

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