[sr-dev] [tracker] Comment added: crash/segfault on shutdown since commit 7b3a6ec

sip-router admin at sip-router.org
Sun Oct 9 12:28:11 CEST 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#165 - crash/segfault on shutdown since commit 7b3a6ec
User who did this - Daniel-Constantin Mierla (miconda)

----------
In a syslog manual I found that it should be avoided using syslog() (function behind LOG define) in signal handlers. So I moved the exit message before killing the children that may jump context in another signal handler. Here is snippet from man page.

     syslog_r() and the other reentrant functions should only be used where
     reentrancy is required (for instance, in a signal handler).  syslog()
     being not reentrant, only syslog_r() should be used here.  For more
     information about reentrancy and signal handlers, see signal(3).

See if it works now.
----------

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=165#comment302

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list