APE caused a crash

I know Unsanity’s Application Enhancer is often unjustly blamed for crashes, but in this case it definitely caused one of my applications to crash, as shown in this stack frame from the crash report.

Thread 1 Crashed:
0   com.absolute.ctmweb      	0x0002b9a9 CheckForListen() + 253
1   com.absolute.ctmweb      	0x0002bba0 MyNot(int) + 28
2   libSystem.B.dylib        	0x9011108c _sigtramp + 49
3   libSystem.B.dylib        	0x9000a5c7 mach_msg_trap + 7
4   com.unsanity.ape         	0xc0001d12 __ape_agent + 307
5   libSystem.B.dylib        	0x90024b07 _pthread_body + 84

UPDATE: I realized that it’s my signal handler code being executed in APE’s thread.