An SQL statement is already being executed in this thread for this database session.
Avoid calling SQLDBC methods from signal handlers, unless you are certain that no SQL statements will be executed in the application program when the signal is triggered.