[asterisk-bugs] [JIRA] (ASTERISK-28440) Runtime Error: res_pjsip.so: undefined symbol: pj_ssl_cipher_name

Asterisk Team (JIRA) noreply at issues.asterisk.org
Sun Jun 9 01:55:47 CDT 2019


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=247332#comment-247332 ] 

Asterisk Team commented on ASTERISK-28440:
------------------------------------------

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].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

> Runtime Error:  res_pjsip.so: undefined symbol: pj_ssl_cipher_name
> ------------------------------------------------------------------
>
>                 Key: ASTERISK-28440
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28440
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 16.4.0
>         Environment: Gentoo Linux (updated daily), x86-64 VM
>            Reporter: Reuben Farrelly
>              Labels: pjsip
>
> There seems to be a new regression in pjsip in Asterisk 16.x.  The build runs successfully to completion, but there is an issue at runtime which is preventing pjsip from starting.
> Here's the startup log:
> [Jun  9 16:10:03] Asterisk 16.4.0 built by portage @ supercell on a x86_64 running Linux on 2019-06-09 06:07:01 UTC
> [Jun  9 16:10:03] NOTICE[28908] loader.c: 295 modules will be loaded.
> [Jun  9 16:10:03] NOTICE[28908] cdr.c: CDR simple logging enabled.
> [Jun  9 16:10:03] WARNING[28908] res_phoneprov.c: Unable to find a valid server address or name.
> [Jun  9 16:10:03] NOTICE[28908] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
> [Jun  9 16:10:03] NOTICE[28908] chan_skinny.c: Configuring skinny from skinny.conf
> [Jun  9 16:10:03] ERROR[28908] ari/config.c: No configured users for ARI
> [Jun  9 16:10:03] NOTICE[28908] confbridge/conf_config_parser.c: Adding default_menu menu to app_confbridge
> [Jun  9 16:10:03] NOTICE[28908] cel_custom.c: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
> [Jun  9 16:10:03] WARNING[28908] loader.c: Some non-required modules failed to load.
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_refer.so', missing dependencies: res_pjsip, res_pjsip_session, res_pjsip_pubsub
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_empty_info.so', missing dependencies: res_pjsip, res_pjsip_session
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_pubsub.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_transport_websocket.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_one_touch_record_info.so', missing dependencies: res_pjsip, res_pjsip_session
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_sdp_rtp.so', missing dependencies: res_pjsip, res_pjsip_session
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_session.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_sips_contact.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_pidf_body_generator.so', missing dependencies: res_pjsip, res_pjsip_pubsub
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_header_funcs.so', missing dependencies: res_pjsip, res_pjsip_session
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_endpoint_identifier_ip.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_diversion.so', missing dependencies: res_pjsip, res_pjsip_session
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_path.so', missing dependencies: res_pjsip, res_pjsip_session
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_messaging.so', missing dependencies: res_pjsip, res_pjsip_session
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_pidf_eyebeam_body_supplement.so', missing dependencies: res_pjsip, res_pjsip_pubsub
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_xpidf_body_generator.so', missing dependencies: res_pjsip, res_pjsip_pubsub
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_outbound_publish.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_outbound_authenticator_digest.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_endpoint_identifier_anonymous.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_mwi.so', missing dependencies: res_pjsip, res_pjsip_pubsub
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip.so': /usr/lib64/asterisk/modules/res_pjsip.so: undefined symbol: pj_ssl_cipher_name
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_acl.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'func_pjsip_endpoint.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_pidf_digium_body_supplement.so', missing dependencies: res_pjsip, res_pjsip_pubsub
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_logger.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_rfc3326.so', missing dependencies: res_pjsip, res_pjsip_session
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_authenticator_digest.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_phoneprov_provider.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_mwi_body_generator.so', missing dependencies: res_pjsip, res_pjsip_pubsub
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_dialog_info_body_generator.so', missing dependencies: res_pjsip, res_pjsip_pubsub
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'func_pjsip_aor.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_publish_asterisk.so', missing dependencies: res_pjsip, res_pjsip_outbound_publish, res_pjsip_pubsub
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_registrar.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_t38.so', missing dependencies: res_pjsip, res_pjsip_session
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_send_to_voicemail.so', missing dependencies: res_pjsip, res_pjsip_session
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_dlg_options.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'chan_pjsip.so': /usr/lib64/asterisk/modules/chan_pjsip.so: undefined symbol: ast_sip_cli_traverse_objects
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'func_pjsip_contact.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_dtmf_info.so', missing dependencies: res_pjsip, res_pjsip_session
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_exten_state.so', missing dependencies: res_pjsip, res_pjsip_pubsub, res_pjsip_outbound_publish
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_notify.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_history.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_config_wizard.so': /usr/lib64/asterisk/modules/res_pjsip_config_wizard.so: undefined symbol: ast_sip_get_sorcery
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_outbound_registration.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_caller_id.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_nat.so', missing dependencies: res_pjsip, res_pjsip_session
> [Jun  9 16:10:03] ERROR[28908] loader.c: Error loading module 'res_pjsip_endpoint_identifier_user.so', missing dependency: res_pjsip
> [Jun  9 16:10:03] ERROR[28908] loader.c: cel_sqlite3_custom declined to load.
> [Jun  9 16:10:03] ERROR[28908] loader.c: cdr_syslog declined to load.
> [Jun  9 16:10:03] ERROR[28908] loader.c: cdr_sqlite3_custom declined to load.
> Further investigation suggests that it is the res_pjsip.so which is failing to load.
> If I manually attempt to load it there is a more interesting error:
> supercell*CLI> module load res_pjsip.so
> Unable to load module res_pjsip.so
> Command 'module load res_pjsip.so' failed.
> [Jun  9 16:11:25] ERROR[28997]: loader.c:281 module_load_error: Error loading module 'res_pjsip.so': /usr/lib64/asterisk/modules/res_pjsip.so: undefined symbol: pj_ssl_cipher_name
> supercell*CLI> 
> This error does not occur with Asterisk 15.7.2 (and earlier versions) but so far occurs with 16.3.0 and 16.4.0.  I haven't tested earlier 16.x releases.  In my testing I have compiled with identical configure options, and on the exact same system for both.  The problem is 100% reproducible.
> The system has LibreSSL-2.9.2 as the SSL provider (with all versions, including those that work).
> I posted this on the Asterisk Community Forum about 2 weeks ago but didn't receive a response:
> https://community.asterisk.org/t/pjsip-module-error-undefined-symbol-pj-ssl-cipher-name/79365
> A full and verbose startup log is posted at https://drive.google.com/file/d/14A4gXC8WRxFE7Zig2PVa-BulzvGY5IEw/view
> This bug is currently preventing me from migration from Asterisk 15.7.2 to version 16.



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



More information about the asterisk-bugs mailing list