I'm using a jit.buffer object for loading various wave files and displaying them, but it is not working very well. When I send a vizlength command for the length of a newly opened wave file, about 1 in 4 times it crashes Max (Max quits instantly), and the other 3 times it will run perfectly.
Is there any way to trace a stability problem like this out? I've narrowed it down to the single vizlength command, but can't find any way to get more specific information as to why that command would kill Max. I tried running a trace inside of Max, but Max still crashes and closes without giving me any information when that command is sent.
Any help is appreciated.