[Mac] Opening MuseScore causes crash

• Sep 20, 2013 - 13:27
Type
Functional
Severity
S2 - Critical
Status
closed
Project
Tags

1. Open MuseScore.

Result: Crash.

Note: See attached log. This seems to be a Mac only bug. It is openable sometimes, but often only after a number of attempts. It has been occurring for months.

Using MuseScore 2.0 Nightly Build (7c7c601) - Mac 10.7.5.

Attachment Size
Opening MuseScore causes crash (Log).txt 50.56 KB

Comments

This particular crash seems to happen here https://github.com/musescore/MuseScore/blob/master/synthesizer/msynthes…
On Mac the size of the portaudio buffer can go over 4096 and then it crashes. Not sure what we can do...

- dynamically allocate the effectXbuffer?
- Increase their size? how much?
- fix the number of frames per buffer on mac by passing it to Pa_OpenStream?
- change the suggested latency in Pa_OpenStream? Smaller latency will cause smaller buffers? but how much?