Hello All, By the way, I found the source of the User Defined Signal 1. It was in my application. Just in case anyone is interested, I will explain how I debugged this:
First, using our in-circuit-debugger, I discovered which process was running at the time the signal was raised, which was one of my application processes. Then I wrote the following code snippet to catch the signal in that process: #include <signal.h> ... void ouch(int sig); void ouch(int sig) { printf(OUCH! - I got signal %d\n", sig); (void) signal(SIGUSR1, SIG_DFL); } ... int main() { (void) signal(SIGUSR1, ouch); ... } NOTE: The above can be done for any unhandled signal type that is killing the process. Best Regards, Jerry -----Original Message----- From: Pekka Pessi [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 21, 2007 7:03 AM To: Jerry Richards Subject: Re: [Sofia-sip-devel] User defined signal 1 2007/8/3, Jerry Richards <[EMAIL PROTECTED]>: > I am using version 1.12.4. Upon receipt of a BYE for a currently active > call, my application encounters a "User defined signal 1" failure and the > entire application crashes with no indication about what the problem is. > > Any hints/suggestions that might help me isolate this problem? There was some problems in session cleanup code in 1.12.4. Could you try to upgrade to 1.12.6 and see if that helps to your problems? 1.12.6 is suppoed to be rather stable and I think you should be able to compile it on your cross-compilation environment without any modifications... > Does the sofia-sip raise any signals toward the application that requires > the application to have logic to handle them? I'm running with several NUAs > all set for root-threading. Nope. I guess there is a heap corruption or similar problem cousing the signal. -- Pekka.Pessi mail at nokia.com
<<attachment: winmail.dat>>
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel