Discussion:
[pjsip] Assertion in sip_endpoint.c:170: pjsip_endpt_register_module
Marant, Jerome (External)
2017-07-24 14:45:13 UTC
Permalink
Hi,

I'm using pjsip 2.6.
I'm experiencing an abort call in sip_endpoint.c:170: pjsip_endpt_register_module when calling pjsua_init :

#0 0x00007fdde81191d7 in raise () from /lib64/libc.so.6
#1 0x00007fdde811a8c8 in abort () from /lib64/libc.so.6
#2 0x00007fdde8112146 in __assert_fail_base () from /lib64/libc.so.6
#3 0x00007fdde81121f2 in __assert_fail () from /lib64/libc.so.6
#4 0x00007fddc89c1e29 in pjsip_endpt_register_module () from /tmp/libpriv.so
#5 0x00007fddc8975f9e in pjsua_im_init () from /tmp/ libpriv.so
#6 0x00007fddc897325d in pjsua_init () from /tmp/libpriv.so

Here are traces of initialization:

14:21:27.968 os_core_unix.c !pjlib 2.6 for POSIX initialized
14:21:27.968 sip_endpoint.c .Creating endpoint instance...
14:21:27.968 pjlib .select() I/O Queue created (0x7fdd64007f40)
14:21:27.968 sip_endpoint.c .Module "mod-msg-print" registered
14:21:27.968 sip_transport. .Transport manager created.
14:21:27.968 pjsua_core.c .PJSUA state changed: NULL --> CREATED
14:21:57.376 sip_endpoint.c .Module "mod-pjsua-log" registered
14:21:57.376 sip_endpoint.c .Module "mod-tsx-layer" registered
14:21:57.376 sip_endpoint.c .Module "mod-stateful-util" registered
14:21:57.376 sip_endpoint.c .Module "mod-ua" registered
14:21:57.376 sip_endpoint.c .Module "mod-100rel" registered
14:21:57.376 sip_endpoint.c .Module "mod-pjsua" registered
14:21:57.376 sip_endpoint.c .Module "mod-invite" registered
14:21:57.376 pjlib ..select() I/O Queue created (0x7fdd6401bf48)
14:21:59.305 conference.c ..Creating conference bridge with 254 ports
14:21:59.306 Master/sound ..Using delay buffer with WSOLA.
WARNING: no real random source present!
14:21:59.307 sip_endpoint.c .Module "mod-evsub" registered
14:21:59.307 sip_endpoint.c .Module "mod-presence" registered
14:21:59.307 evsub.c .Event pkg "presence" registered by mod-presence
14:21:59.307 sip_endpoint.c .Module "mod-mwi" registered
14:21:59.307 evsub.c .Event pkg "message-summary" registered by mod-mwi
14:21:59.307 sip_endpoint.c .Module "mod-refer" registered
14:21:59.307 evsub.c .Event pkg "refer" registered by mod-refer
14:21:59.307 sip_endpoint.c .Module "mod-pjsua-pres" registered
14:21:59.307 sip_endpoint.c .Module "mod-pjsua-im" registered
14:21:59.307 sip_endpoint.c .Module "mod-pjsua-options" registered
../src/pjsip/sip_endpoint.c:170: pjsip_endpt_register_module: Assertion `pj_list_find_node(&endpt->module_list, mod) == ((void *)0)' failed.

What wrong is going on please? It seems a module is loaded more than once.

Best Regards,


<html><head></head><body><font color="black" face="arial" size="2">
The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
</font>
</body>
</html>

Loading...