[fpc-pascal] Strange error with Pa_IsFormatSupported from portaudio when used with Pascal headers AND Mac OS X.

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Mar 7 19:59:53 CET 2010

On 07 Mar 2010, at 19:18, Schindler Karl-Michael wrote:

> If I use Pa_IsFormatSupported from portaudio with a different sample rate than the default, I get a division by zero error or other arithmetic error.
> gdb backtrace shows that it is deep down in Apple libs (probably the reason, why it does not happen in linux).

Have you tried disabling all FPU exceptions? Many Apple frameworks indeed perform invalid FPU operations. See e.g. http://community.freepascal.org:10000/bboards/message?message_id=276227&forum_id=24094 for more details.


More information about the fpc-pascal mailing list