RE: Syslog fixes a bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



had similar problem it can be one of the following:

1) extra timing so you can obtain a resource
2) stack overflow somewhere and that extra call is
pushing the bad value

--- Michael Wieher <michael.wieher@xxxxxxxxx>
escribió:

> Hey,
> 
> I have a program that dies mysteriously.
> 
> If I use syslog() to attempt to write data and see
> where it dies, it
> lives and works perfectly.
> 
> If I comment out the syslog() function call, the
> program crashes every time.
> 
> This is entirely reliable, have tested it 10 times
> commented +
> uncommented.  It is a line of static text, ie:
> syslog(LOG_INFO,"hello");
> 
> Why / how would this affect my program's execution?
> 



      ______________________________________________ 
Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux