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. Jonas_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal