Could it be that the C code of the Oracle database binding is resetting some of our signal handling? Especially the SIGWINCH signal? By default we ignore it, but if they enable it, then we would catch that signal.