[Home]

Summary:ASTERISK-26222: res_xmpp: Crash in OpenSSL
Reporter:Slava Bendersky (volga629)Labels:
Date Opened:2016-07-20 11:10:40Date Closed:2017-12-20 06:09:53.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Resources/res_xmpp
Versions:13.9.1 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) backtrace_update.txt
( 1) backtrace.txt
Description: kernel: asterisk[12741]: segfault at 7f8960241000 ip 00007f89981887fb sp 00007f89399ec9d8 error 4 in libc-2.12.so[7f89980ff000+18a000]

[root@canlpbx01 tmp]# rpm -qa | grep asterisk13
asterisk13-13.9.1-1.shmz65.1.115.x86_64
Comments:By: Asterisk Team (asteriskteam) 2016-07-20 11:10:41.948-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Slava Bendersky (volga629) 2016-07-20 11:12:44.159-0500

backtrace.txt base on this guide https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

By: Slava Bendersky (volga629) 2016-07-20 11:22:04.144-0500

update backtrace include debug info

By: Slava Bendersky (volga629) 2016-07-20 11:26:58.352-0500

backtrace v2 with debug info

By: Joshua C. Colp (jcolp) 2016-07-20 12:15:56.365-0500

How often is this happening, what version of OpenSSL is installed, what is the console output before the crash?

By: Slava Bendersky (volga629) 2016-07-20 13:05:09.543-0500

Here are version of openssl

[root@canlpbx01 tmp]# rpm -qa | grep openssl
openssl-devel-1.0.1e-42.el6.x86_64
openssl-1.0.1e-42.el6.x86_64

It happening quite often.

[root@canlpbx01 tmp]# tail -200 /var/log/messages1]
Jul 17 16:33:01 canlpbx01 auditd[1144]: Audit daemon rotating log files
Jul 17 18:43:28 canlpbx01 kernel: asterisk[28981]: segfault at 7ffc30000078 ip 00007ffc30000078 sp 00007ffc35ead578 error 15
Jul 17 22:07:25 canlpbx01 kernel: asterisk[12522]: segfault at 7fbb0c034000 ip 00007fbb314cb7fb sp 00007fbae96a99d8 error 4 in libc-2.12.so[7fbb31442000+18a000]
Jul 18 06:44:01 canlpbx01 auditd[1144]: Audit daemon rotating log files
Jul 18 15:22:52 canlpbx01 kernel: asterisk[12741]: segfault at 7f8960241000 ip 00007f89981887fb sp 00007f89399ec9d8 error 4 in libc-2.12.so[7f89980ff000+18a000]
Jul 18 16:17:17 canlpbx01 kernel: asterisk[20528]: segfault at 7f8e1c02a000 ip 00007f8e4c2597fb sp 00007f8e044865e8 error 4 in libc-2.12.so[7f8e4c1d0000+18a000]


By: Joshua C. Colp (jcolp) 2016-07-20 13:11:49.999-0500

I was referring to the Asterisk console/full log, not the system log.

By: Slava Bendersky (volga629) 2016-07-20 13:30:09.125-0500

I don't see anything useful in log.


[2016-07-17 15:22:22] VERBOSE[16866] asterisk.c: Remote UNIX connection
[2016-07-17 15:22:22] VERBOSE[10401] asterisk.c: Remote UNIX connection disconnected
[2016-07-17 15:22:22] VERBOSE[10401] asterisk.c: Remote UNIX connection disconnected
[2016-07-17 15:22:26] VERBOSE[16866] asterisk.c: Remote UNIX connection
[2016-07-17 15:22:26] VERBOSE[16866] asterisk.c: Remote UNIX connection
[2016-07-17 15:22:26] VERBOSE[10408] asterisk.c: Remote UNIX connection disconnected
[2016-07-17 15:22:26] VERBOSE[10408] asterisk.c: Remote UNIX connection disconnected
[2016-07-17 15:22:30] VERBOSE[16866] asterisk.c: Remote UNIX connection
[2016-07-17 15:22:30] VERBOSE[16866] asterisk.c: Remote UNIX connection
[2016-07-17 15:22:30] VERBOSE[10415] asterisk.c: Remote UNIX connection disconnected
[2016-07-17 15:22:30] VERBOSE[10415] asterisk.c: Remote UNIX connection disconnected
[2016-07-17 15:22:34] VERBOSE[16866] asterisk.c: Remote UNIX connection
[2016-07-17 15:22:34] VERBOSE[16866] asterisk.c: Remote UNIX connection
[2016-07-17 15:22:34] VERBOSE[10442] asterisk.c: Remote UNIX connection disconnected
[2016-07-17 15:22:34] VERBOSE[10442] asterisk.c: Remote UNIX connection disconnected


By: Sean Bright (seanbright) 2017-04-06 14:42:37.066-0500

[~volga629], can you please try to reproduce this with the Asterisk 13 branch from Git? There have been some XMPP fixes made that will eventually make it into 13.16 when it was released and it would be great if we could resolve this issue in the process.

By: Joshua C. Colp (jcolp) 2017-12-20 06:09:33.584-0600

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines