Summary: | ASTERISK-25462: pjsip show channels segfault: Address 0x2 out of bounds in res_sorcery_realtime.c | ||
Reporter: | Niklas Larsson (pnlarsson) | Labels: | |
Date Opened: | 2015-10-13 01:44:39 | Date Closed: | |
Priority: | Major | Regression? | No |
Status: | Open/New | Components: | Channels/chan_pjsip Core/Sorcery |
Versions: | 13.6.0 | Frequency of Occurrence | Occasional |
Related Issues: | |||
Environment: | Debian 7, realtime (mysql) | Attachments: | ( 0) backtrace.txt ( 1) backtrace.txt |
Description: | Got a segfault when issuing pjsip show channels, this is happens 1 out of 100000 times (doing it ones a minute from a script for stats). Backtrace attached, will recompile with DONT_OPTIMIZE for next backtrace. | ||
Comments: | By: Asterisk Team (asteriskteam) 2015-10-13 01:44:40.852-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: Richard Mudgett (rmudgett) 2015-10-13 10:48:01.373-0500 The crash happened while sorcery was processing data pulled out of a realtime back end. We'll need your configuration for sorcery and which realtime backend you are using. By: Rusty Newton (rnewton) 2015-10-14 17:36:55.958-0500 Additionally use DONT_OPTIMIZE and BETTER_BACKTRACES for the next backtrace. Thanks! By: Niklas Larsson (pnlarsson) 2015-10-15 01:30:06.818-0500 sorcery.conf {code} [res_pjsip] ; Realtime PJSIP configuration wizard endpoint=realtime,ps_endpoints endpoint=config,pjsip.conf,criteria=type=endpoint auth=realtime,ps_auths auth=config,pjsip.conf,criteria=type=auth aor=realtime,ps_aors aor=config,pjsip.conf,criteria=type=aor domain_alias=realtime,ps_domain_aliases [res_pjsip_endpoint_identifier_ip] identify=realtime,ps_endpoint_id_ips identify=config,pjsip.conf,criteria=type=identify {code} extconfig {code} ps_endpoints => mysql,ngpbx,ast_ps_endpoints ps_auths => mysql,ngpbx,ast_ps_auths ps_aors => mysql,ngpbx,ast_ps_aors ps_domain_aliases => mysql,ngpbx,ast_ps_domain_aliases ps_endpoint_id_ips => mysql,ngpbx,ast_ps_endpoint_id_ips {code} By: Asterisk Team (asteriskteam) 2015-10-31 12:00:19.890-0500 Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. 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 By: Niklas Larsson (pnlarsson) 2015-11-04 07:14:57.865-0600 Got another backtrace - now with DONT_OPTIMIZE (not BETTER_BACKTRACES since I missed to install libbfd-dev). By: Asterisk Team (asteriskteam) 2015-11-04 07:14:59.077-0600 This issue has been reopened as a result of your commenting on it as the reporter. It will be triaged once again as applicable. By: Niklas Larsson (pnlarsson) 2015-11-04 07:15:55.412-0600 with DONT_OPTIMIZE |