[asterisk-bugs] [JIRA] (ASTERISK-27030) Asterisk crashes with Segfault in res_ari

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Fri Jun 2 10:25:57 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Mudgett updated ASTERISK-27030:
---------------------------------------

    Description: 
After installing 14.5.0, Asterisk crashes with the following messages in the logs:
{noformat}
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_device_states.so': /usr/lib64/asterisk/modules/res_ari_device_states.so: undefined symbol: ast_ari_response_alloc_failed
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_device_states.so' could not be loaded.
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_channels.so': /usr/lib64/asterisk/modules/res_ari_channels.so: undefined symbol: ast_ari_response_created
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_channels.so' could not be loaded.
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_bridges.so': /usr/lib64/asterisk/modules/res_ari_bridges.so: undefined symbol: ast_ari_response_created
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_bridges.so' could not be loaded.
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_applications.so': /usr/lib64/asterisk/modules/res_ari_applications.so: undefined symbol: ast_ari_response_alloc_failed
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_applications.so' could not be loaded.
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_recordings.so': /usr/lib64/asterisk/modules/res_ari_recordings.so: undefined symbol: ast_ari_response_alloc_failed
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_recordings.so' could not be loaded.
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_asterisk.so': /usr/lib64/asterisk/modules/res_ari_asterisk.so: undefined symbol: ast_ari_response_alloc_failed
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_asterisk.so' could not be loaded.
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_playbacks.so': /usr/lib64/asterisk/modules/res_ari_playbacks.so: undefined symbol: ast_ari_response_alloc_failed
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_playbacks.so' could not be loaded.
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_endpoints.so': /usr/lib64/asterisk/modules/res_ari_endpoints.so: undefined symbol: ast_ari_response_alloc_failed
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_endpoints.so' could not be loaded.
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_sounds.so': /usr/lib64/asterisk/modules/res_ari_sounds.so: undefined symbol: ast_ari_response_alloc_failed
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_sounds.so' could not be loaded.
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_events.so': /usr/lib64/asterisk/modules/res_ari_events.so: undefined symbol: ast_ari_websocket_session_create
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_events.so' could not be loaded.
{noformat}
And:
{noformat}
kernel: asterisk[43936]: segfault at 48 ip 00007f9042af7af2 sp 00007ffeb24c1e60 error 4 in res_ari.so[7f9042af2000+e000]
{noformat}
Adding noload = res_ari to modules.conf allows Asterisk to run.

After uninstalling 14.5.0 & installing 14.4.1 all is good again.


  was:
After installing 14.5.0, Asterisk crashes with the following messages in the logs:

[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_device_states.so': /usr/lib64/asterisk/modules/res_ari_device_states.so: undefined symbol: ast_ari_response_alloc_failed
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_device_states.so' could not be loaded.
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_channels.so': /usr/lib64/asterisk/modules/res_ari_channels.so: undefined symbol: ast_ari_response_created
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_channels.so' could not be loaded.
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_bridges.so': /usr/lib64/asterisk/modules/res_ari_bridges.so: undefined symbol: ast_ari_response_created
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_bridges.so' could not be loaded.
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_applications.so': /usr/lib64/asterisk/modules/res_ari_applications.so: undefined symbol: ast_ari_response_alloc_failed
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_applications.so' could not be loaded.
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_recordings.so': /usr/lib64/asterisk/modules/res_ari_recordings.so: undefined symbol: ast_ari_response_alloc_failed
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_recordings.so' could not be loaded.
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_asterisk.so': /usr/lib64/asterisk/modules/res_ari_asterisk.so: undefined symbol: ast_ari_response_alloc_failed
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_asterisk.so' could not be loaded.
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_playbacks.so': /usr/lib64/asterisk/modules/res_ari_playbacks.so: undefined symbol: ast_ari_response_alloc_failed
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_playbacks.so' could not be loaded.
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_endpoints.so': /usr/lib64/asterisk/modules/res_ari_endpoints.so: undefined symbol: ast_ari_response_alloc_failed
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_endpoints.so' could not be loaded.
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_sounds.so': /usr/lib64/asterisk/modules/res_ari_sounds.so: undefined symbol: ast_ari_response_alloc_failed
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_sounds.so' could not be loaded.
[2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_events.so': /usr/lib64/asterisk/modules/res_ari_events.so: undefined symbol: ast_ari_websocket_session_create
[2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_events.so' could not be loaded.

And:

kernel: asterisk[43936]: segfault at 48 ip 00007f9042af7af2 sp 00007ffeb24c1e60 error 4 in res_ari.so[7f9042af2000+e000]

Adding noload = res_ari to modules.conf allows Asterisk to run.

After uninstalling 14.5.0 & installing 14.4.1 all is good again.



> Asterisk crashes with Segfault in res_ari
> -----------------------------------------
>
>                 Key: ASTERISK-27030
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27030
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari
>    Affects Versions: 14.5.0
>         Environment: CentOS Linux release 7.3.1611
>            Reporter: Mark Farmer
>            Assignee: Mark Farmer
>
> After installing 14.5.0, Asterisk crashes with the following messages in the logs:
> {noformat}
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_device_states.so': /usr/lib64/asterisk/modules/res_ari_device_states.so: undefined symbol: ast_ari_response_alloc_failed
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_device_states.so' could not be loaded.
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_channels.so': /usr/lib64/asterisk/modules/res_ari_channels.so: undefined symbol: ast_ari_response_created
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_channels.so' could not be loaded.
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_bridges.so': /usr/lib64/asterisk/modules/res_ari_bridges.so: undefined symbol: ast_ari_response_created
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_bridges.so' could not be loaded.
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_applications.so': /usr/lib64/asterisk/modules/res_ari_applications.so: undefined symbol: ast_ari_response_alloc_failed
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_applications.so' could not be loaded.
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_recordings.so': /usr/lib64/asterisk/modules/res_ari_recordings.so: undefined symbol: ast_ari_response_alloc_failed
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_recordings.so' could not be loaded.
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_asterisk.so': /usr/lib64/asterisk/modules/res_ari_asterisk.so: undefined symbol: ast_ari_response_alloc_failed
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_asterisk.so' could not be loaded.
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_playbacks.so': /usr/lib64/asterisk/modules/res_ari_playbacks.so: undefined symbol: ast_ari_response_alloc_failed
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_playbacks.so' could not be loaded.
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_endpoints.so': /usr/lib64/asterisk/modules/res_ari_endpoints.so: undefined symbol: ast_ari_response_alloc_failed
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_endpoints.so' could not be loaded.
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_sounds.so': /usr/lib64/asterisk/modules/res_ari_sounds.so: undefined symbol: ast_ari_response_alloc_failed
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_sounds.so' could not be loaded.
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Error loading module 'res_ari_events.so': /usr/lib64/asterisk/modules/res_ari_events.so: undefined symbol: ast_ari_websocket_session_create
> [2017-06-01 12:50:05] WARNING[63897] loader.c: Module 'res_ari_events.so' could not be loaded.
> {noformat}
> And:
> {noformat}
> kernel: asterisk[43936]: segfault at 48 ip 00007f9042af7af2 sp 00007ffeb24c1e60 error 4 in res_ari.so[7f9042af2000+e000]
> {noformat}
> Adding noload = res_ari to modules.conf allows Asterisk to run.
> After uninstalling 14.5.0 & installing 14.4.1 all is good again.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list