Re: [syslog-ng] Syslog-ng 3.0.1 seg fault with TLS support
Yeah I enable the debug mode and open the core file with gdb. I can see a huge backtrace with a lot of "index out of range" error inside. If you I can attach the backtrace on this mailing list. -----Message d'origine----- De : Xavier Lapie [mailto:bana@docisland.org] Envoyé : jeudi 5 mars 2009 10:30 À : Hahusseau, Thomas Objet : Re: [syslog-ng] Syslog-ng 3.0.1 seg fault with TLS support On Thu, Mar 05, 2009 at 09:39:46AM +0100, Hahusseau, Thomas wrote:
The seg fault is on the client side and occurred only when I enable the
TLS
encryption (it works well with clean transmission). Anyone could help me to fix that problem? If you need some additional information just let me know.
Hi, Did you enable debugging code and what does gdb tell you about the crash ? -- Xavier
On Thu, Mar 05, 2009 at 10:44:03AM +0100, Hahusseau, Thomas wrote:
Yeah I enable the debug mode and open the core file with gdb. I can see a huge backtrace with a lot of "index out of range" error inside. If you I can attach the backtrace on this mailing list.
I think it could help. -- Xavier
On Thu, Mar 05, 2009 at 10:50:29AM +0100, Xavier Lapie wrote:
On Thu, Mar 05, 2009 at 10:44:03AM +0100, Hahusseau, Thomas wrote:
Yeah I enable the debug mode and open the core file with gdb. I can see a huge backtrace with a lot of "index out of range" error inside. If you I can attach the backtrace on this mailing list.
I found something which could solve your problem. The tls context is not initialized when used in client mode, there is a typo in the cfg-grammar.y file. Just go to the line 899 and replace ENABLE_TLS by ENABLE_SSL. -- Xavier
participants (2)
-
bana@docisland.org
-
Hahusseau, Thomas