segfault nxagentd
-
-
-
-
А можете stack trace прислать (команда bt в отладчике после получения SIGSEGV)?
-
(gdb) bt #0 0x00232a7b in ?? () from /usr/lib/libcrypto.so.10 #1 0x0022f622 in BIO_ctrl () from /usr/lib/libcrypto.so.10 #2 0x0064aa59 in CheckHTTPS (szAddr=0x0, dwAddr=3280653827, nPort=80, szURI=0xb69f1a32 "/", szHost=0xb69f1a20 "mail.xxx.ru", szMatch=0xb69ef220 "^HTTP/1\\.[01] 200.*", dwTimeout=0) at http.cpp:175 #3 0x0064b170 in CommandHandler (dwCommand=115, pRequest=0x80630b0, pResponse=0xb69f4328, session=0xb7532918) at main.cpp:126 #4 0x08057599 in ProcessCmdBySubAgent (dwCommand=115, pRequest=0x80630b0, pResponse=0xb69f4328, session=0xb7532918) at subagent.cpp:326 #5 0x0805697f in CommSession::processingThread (this=0xb7532918) at session.cpp:539 #6 0x08056dd1 in CommSession::processingThreadStarter (pArg=0xb7532918) at session.cpp:77 #7 0x00334a49 in start_thread () from /lib/libpthread.so.0 #8 0x0055eaee in clone () from /lib/libc.so.6 -
Я не могу повторить на тестовой системе. В таком режиме держал больше часа:
while true; do nxget localhost 'ServiceCheck.HTTPS(alk.lv,443,/,www.alk.lv,)'; doneДайте больше деталей о системе – дистрибутив, версия, 32/64
-
Попробуйте наложить патч из аттачмента.
Накладывается так:
cd netxms-1.2.9 patch -p1 < /path/to/patch
-
Патч наложил, ничего не поменялось:
(gdb) bt #0 0x00232a7b in ?? () from /usr/lib/libcrypto.so.10 #1 0x0022f622 in BIO_ctrl () from /usr/lib/libcrypto.so.10 #2 0x0064aa59 in CheckHTTPS (szAddr=0x0, dwAddr=3280653827, nPort=80, szURI=0xb66eea32 "/", szHost=0xb66eea20 "mail.xxx.ru", szMatch=0xb66ec220 "^HTTP/1\\.[01] 200.*", dwTimeout=0) at http.cpp:175 #3 0x0064b170 in CommandHandler (dwCommand=115, pRequest=0xb7a004f0, pResponse=0xb66f1328, session=0xb7543578) at main.cpp:126 #4 0x08057599 in ProcessCmdBySubAgent (dwCommand=115, pRequest=0xb7a004f0, pResponse=0xb66f1328, session=0xb7543578) at subagent.cpp:326 #5 0x0805697f in CommSession::processingThread (this=0xb7543578) at session.cpp:539 #6 0x08056dd1 in CommSession::processingThreadStarter (pArg=0xb7543578) at session.cpp:77 #7 0x00334a49 in start_thread () from /lib/libpthread.so.0 #8 0x0055eaee in clone () from /lib/libc.so.6Система следующая:
CentOS release 6.4 (Final)[root@log1 bin]# uname -a Linux log1 2.6.32-358.6.2.el6.i686 #1 SMP Thu May 16 18:12:13 UTC 2013 i686 i686 i386 GNU/Linuxсписок установленного софта в аттаче
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login