Hi Daniel,

> >> This prevents a deadlog while writing to syslog and then
> >> we receive a signal to write syslog.
> > 
> > how is this suppose to work. We get a segmentation fault and have to
> > return to the mainloop and you expect the code be still fully functional
> > at that point.
> 
> I suspected something like this. Recently, I have encountered several
> times when ConnMan crashes the daemon was stuck and no output
> whatsoever. Not even a "kill -9" did help.

I have not seen this. Could it be that I screwed up the backtrace symbol
resolving magic. Or do you happen to have some VPN open and we forgot to
close all file descriptors.

Potentially we have to add CLOEXEC to all our file descriptors.

> > Also the backtrace must be totally wrong in this case since it would
> > show the mainloop now and not where it really came from.
> 
> Right, didn't really think this through. So what can we do with the
> syslog deadlock then?

No idea.

Regards

Marcel


_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to