[Openmcl-devel] signal(SIGFPE, SIG_IGN) problem?

Park SungMin byulparan_eng at icloud.com
Mon Aug 26 22:26:46 UTC 2013


dear, ccl-devs.

I'm now working with libpd(https://github.com/libpd/libpd) …
libpd is C library for multimedia programming…
libpd have this line….(in "libpd_init" function….)

void libpd_init(void) {
  signal(SIGFPE, SIG_IGN);
 
 ….
…
}

after execute that function……
DIVISION-BY-ZERO code is not return.(C,Lisp both…)

void sched_set_using_audio(int flag) {
….
return  44100*64/0;
}

before that function return INF(call in CCL use external-call)
but after …not return…that function. and (/ 10 0) is not return…
(and servaral cocoa-api code not return...)

maybe…this is not bug,just signal(SIGFPE, SIG_IGN) is crash in ccl….right?
in SBCL, LispWorks not problem(before/after execute signal function..)

I find solution, avoid that problem….






More information about the Openmcl-devel mailing list