segfault in belle-sip/src/provider.c

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

segfault in belle-sip/src/provider.c

Andrey Kovalev
Hello Developers

I got segfault in belle-sip/src/provider.c, function
authorization_context_fill_from_auth.

belle_sip_header_www_authenticate_get_nonce(authenticate) return NULL,
and strcmp(NULL,auth_context->nonce) stops with segfault.

Log:


2018-02-02 21:15:31:104 liblinphone-message-Using (r/w) config
information from /.linphonerc
2018-02-02 21:15:31:105 liblinphone-message-Initializing LinphoneCore
3.12.0-306-gb340abdc0
2018-02-02 21:15:31:105 liblinphone-message-Core callbacks [0x2239540]
registered on core [0x2239210]
2018-02-02 21:15:31:105 liblinphone-message-Core callbacks [0x2239080]
registered on core [0x2239210]
2018-02-02 21:15:31:105 ortp-message-oRTP-1.0.2 initialized.
2018-02-02 21:15:31:105 mediastreamer-message-Mediastreamer2 factory
2.16.1 (git: 2.16.1-125-gccf9f4d7) initialized.
2018-02-02 21:15:31:105 mediastreamer-message-CPU count set to 2
2018-02-02 21:15:31:105 mediastreamer-message-ms_factory_init() done:
platform_tags=linux,x86,desktop
2018-02-02 21:15:31:105 mediastreamer-message-srtp init
2018-02-02 21:15:31:108 mediastreamer-message-Registering all soundcard
handlers
2018-02-02 21:15:31:115 mediastreamer-message-Card 'ALSA: default
device' added with capabilities [capture, playback]
2018-02-02 21:15:31:387 mediastreamer-message-Card 'ALSA: Ensoniq
AudioPCI' added with capabilities [capture, playback]
2018-02-02 21:15:31:387 mediastreamer-message-ms_factory_init_voip() done
2018-02-02 21:15:31:387 mediastreamer-message-Loading ms plugins from
[/usr/local/lib/mediastreamer/plugins]
2018-02-02 21:15:31:387 mediastreamer-message-Loading plugin
/usr/local/lib/mediastreamer/plugins/libmsilbc.so.0...
2018-02-02 21:15:31:387 mediastreamer-warning-Fail to load plugin
/usr/local/lib/mediastreamer/plugins/libmsilbc.so.0 :
libilbcrfc3951.so.0: cannot open shared object file: No such file or
directory
2018-02-02 21:15:31:387 mediastreamer-message-Loading plugin
/usr/local/lib/mediastreamer/plugins/libmssilk.so...
2018-02-02 21:15:31:388 bctbx-message- libmssilk 1.1.1 plugin loaded
2018-02-02 21:15:31:388 mediastreamer-message-Plugin loaded
(/usr/local/lib/mediastreamer/plugins/libmssilk.so)
2018-02-02 21:15:31:388 liblinphone-message-Codec opus/48000
fmtp=[useinbandfec=1] number=-1, default enablement: 1) added to the
list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec SILK/16000 fmtp=[]
number=-1, default enablement: 1) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec speex/16000
fmtp=[vbr=on] number=-1, default enablement: 1) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec speex/8000
fmtp=[vbr=on] number=-1, default enablement: 1) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec PCMU/8000 fmtp=[]
number=0, default enablement: 1) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec PCMA/8000 fmtp=[]
number=8, default enablement: 1) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec red/1000 fmtp=[]
number=-1, default enablement: 1) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec t140/1000 fmtp=[]
number=-1, default enablement: 1) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec GSM/8000 fmtp=[]
number=3, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec G722/8000 fmtp=[]
number=9, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec iLBC/8000
fmtp=[mode=30] number=-1, default enablement: 0) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec AMR/8000
fmtp=[octet-align=1] number=-1, default enablement: 0) added to the list
of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec AMR-WB/16000
fmtp=[octet-align=1] number=-1, default enablement: 0) added to the list
of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec G729/8000
fmtp=[annexb=yes] number=18, default enablement: 1) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec mpeg4-generic/16000
fmtp=[config=F8EE2000; constantDuration=512; indexDeltaLength=3;
indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13;
streamType=5] number=-1, default enablement: 0) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec mpeg4-generic/22050
fmtp=[config=F8EE2000; constantDuration=512; indexDeltaLength=3;
indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13;
streamType=5] number=-1, default enablement: 0) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec mpeg4-generic/32000
fmtp=[config=F8E82000; constantDuration=512; indexDeltaLength=3;
indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13;
streamType=5] number=-1, default enablement: 0) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec mpeg4-generic/44100
fmtp=[config=F8E82000; constantDuration=512; indexDeltaLength=3;
indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13;
streamType=5] number=-1, default enablement: 0) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec mpeg4-generic/48000
fmtp=[config=F8EE2000; constantDuration=512; indexDeltaLength=3;
indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13;
streamType=5] number=-1, default enablement: 0) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec iSAC/16000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec speex/32000
fmtp=[vbr=on] number=-1, default enablement: 0) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec SILK/8000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec SILK/12000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec SILK/24000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec G726-16/8000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec G726-24/8000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec G726-32/8000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec G726-40/8000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec AAL2-G726-16/8000
fmtp=[] number=-1, default enablement: 0) added to the list of possible
codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec AAL2-G726-24/8000
fmtp=[] number=-1, default enablement: 0) added to the list of possible
codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec AAL2-G726-32/8000
fmtp=[] number=-1, default enablement: 0) added to the list of possible
codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec AAL2-G726-40/8000
fmtp=[] number=-1, default enablement: 0) added to the list of possible
codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec CODEC2/8000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec BV16/8000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec 1016/8000 fmtp=[]
number=1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec G723/8000 fmtp=[]
number=4, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec LPC/8000 fmtp=[]
number=7, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec L16/44100 fmtp=[]
number=10, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec L16/44100 fmtp=[]
number=11, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec CN/8000 fmtp=[]
number=13, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Sal nat helper [enabled]
2018-02-02 21:15:31:389 belle-sip-message-Root ca path set to /etc/ssl/certs
2018-02-02 21:15:31:389 belle-sip-message-Root ca path set to /etc/ssl/certs
2018-02-02 21:15:31:389 belle-sip-message-Root ca path set to
/usr/local/share/linphone/rootca.pem
2018-02-02 21:15:31:390
liblinphone-message-linphone_core_set_playback_gain_db(): no active call.
2018-02-02 21:15:31:390
liblinphone-message-linphone_core_set_mic_gain_db(): no active call.
2018-02-02 21:15:31:390 liblinphone-message-Sal nat helper [enabled]
2018-02-02 21:15:31:390 liblinphone-message-Sal use rport [enabled]
2018-02-02 21:15:31:390 liblinphone-message-MTU is supposed to be 1500,
rtp payload max size will be 1440
2018-02-02 21:15:31:390 liblinphone-warning-Codec opus/48000/1 read from
conf is not in the default list.
2018-02-02 21:15:31:390 liblinphone-message-Supported codec opus/48000
fmtp=useinbandfec=1 automatically added to codec list.
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
iLBC
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
iLBC
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for AMR
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for AMR
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
AMR-WB
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
AMR-WB
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
iSAC
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
iSAC
2018-02-02 21:15:31:390 liblinphone-message-Supported codec speex/32000
fmtp=vbr=on automatically added to codec list.
2018-02-02 21:15:31:390 liblinphone-message-Supported codec SILK/8000
fmtp= automatically added to codec list.
2018-02-02 21:15:31:390 liblinphone-message-Supported codec SILK/12000
fmtp= automatically added to codec list.
2018-02-02 21:15:31:390 liblinphone-message-Supported codec SILK/24000
fmtp= automatically added to codec list.
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
G726-16
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
G726-16
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
G726-24
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
G726-24
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
G726-32
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
G726-32
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
G726-40
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
G726-40
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
AAL2-G726-16
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
AAL2-G726-16
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
AAL2-G726-24
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
AAL2-G726-24
2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for
AAL2-G726-32
2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for
AAL2-G726-32
2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for
AAL2-G726-40
2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for
AAL2-G726-40
2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for
CODEC2
2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for
CODEC2
2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for
1016
2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for
1016
2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for
G723
2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for
G723
2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for LPC
2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for LPC
2018-02-02 21:15:31:391 liblinphone-message-Supported codec L16/44100
fmtp= automatically added to codec list.
2018-02-02 21:15:31:391 liblinphone-message-Supported codec L16/44100
fmtp= automatically added to codec list.
2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for CN
2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for CN
2018-02-02 21:15:31:391 liblinphone-message-Supported codec red/1000
fmtp= automatically added to codec list.
2018-02-02 21:15:31:391 liblinphone-message-Supported codec t140/1000
fmtp= automatically added to codec list.
2018-02-02 21:15:31:391 liblinphone-message-Sal use rport [enabled]
2018-02-02 21:15:31:391 belle-sip-message-Root ca path set to
/usr/local/share/linphone/rootca.pem
2018-02-02 21:15:31:391 liblinphone-message-sal_unlisten_ports done
2018-02-02 21:15:31:391 belle-sip-message-Creating listening point
[0x223b9b0] on [sip:0.0.0.0:5060;transport=UDP]
2018-02-02 21:15:31:391 belle-sip-message-Creating listening point
[0x223ba50] on [sip:0.0.0.0:5060;transport=TCP]
2018-02-02 21:15:31:391 belle-sip-message-Creating listening point
[0x223bba0] on [sip:0.0.0.0:-1;transport=TLS]
2018-02-02 21:15:31:391 belle-sip-message-Random TCP port is 45961
2018-02-02 21:15:31:391 belle-sip-message-Root ca path set to /etc/ssl/certs
2018-02-02 21:15:31:391 belle-sip-message-Root ca path set to /etc/ssl/certs
2018-02-02 21:15:31:391 belle-sip-message-Root ca path set to
/usr/local/share/linphone/rootca.pem
Ready
2018-02-02 21:15:31:393 liblinphone-message-Linphone core [0x2239210]
notified [display_status]
Warning: video is disabled in linphonec, use -V or -C or -D to enable.
linphonec> 2018-02-02 21:15:31:395 liblinphone-message-New local ip
address is 10.1.1.76
2018-02-02 21:15:31:395 liblinphone-message-SIP network reachability
state is now [UP]
2018-02-02 21:15:31:395 liblinphone-message-Media network reachability
state is now [UP]
Receiving command 'register sip:[hidden email]
mpbx.sip.beeline.ru HIDEPASSWORD'
2018-02-02 21:15:32:109
liblinphone-message-linphone_proxy_config_is_server_config_changed : 0
2018-02-02 21:15:32:109 liblinphone-message-Publish params have changed
on proxy config [0x224a330]
linphonec> 2018-02-02 21:15:32:109
liblinphone-message-LinphoneProxyConfig [0x224a330] about to register
(LinphoneCore version: 3.12.0-306-gb340abdc0)
2018-02-02 21:15:32:111
belle-sip-message-belle_sip_client_transaction_send_request(): waiting
channel to be ready
2018-02-02 21:15:32:111 belle-sip-message-channel [0x2269ee0]: starting
resolution of mpbx.sip.beeline.ru
2018-02-02 21:15:32:111 belle-sip-message-channel 0x2269ee0: state
RES_IN_PROGRESS
2018-02-02 21:15:32:111 belle-sip-message-transaction [0x22490b0]
channel state changed to [RES_IN_PROGRESS]
2018-02-02 21:15:32:112 belle-sip-message-Resolver is using DNS server(s):
2018-02-02 21:15:32:112 belle-sip-message- 8.8.8.8
2018-02-02 21:15:32:112 belle-sip-message-resolver_process_data
dns_res_check() in progress
2018-02-02 21:15:32:112 belle-sip-message-DNS resolution awaiting
response, queued to main loop
2018-02-02 21:15:32:112 belle-sip-message-Neither Expires header nor
corresponding Contact header found, checking from original request
2018-02-02 21:15:32:112 belle-sip-message-Refresher [0x224ad70] takes
ownership of transaction [0x22490b0]
Refreshing on sip:[hidden email]...
linphonec> 2018-02-02 21:15:32:112 liblinphone-message-Linphone core
[0x2239210] notified [display_status]
2018-02-02 21:15:32:112 liblinphone-message-Proxy config [0x224a330] for
identity [sip:[hidden email]] moving from state
[LinphoneRegistrationNone] to [LinphoneRegistrationProgress] on core
[0x2239210]
2018-02-02 21:15:32:159 belle-sip-message-No SRV result for
[_sip._udp.mpbx.sip.beeline.ru], trying A/AAAA.
2018-02-02 21:15:32:159 belle-sip-message-Resolver is using DNS server(s):
2018-02-02 21:15:32:159 belle-sip-message- 8.8.8.8
2018-02-02 21:15:32:159 belle-sip-message-resolver_process_data
dns_res_check() in progress
2018-02-02 21:15:32:159 belle-sip-message-DNS resolution awaiting
response, queued to main loop
2018-02-02 21:15:32:181 belle-sip-message-mpbx.sip.beeline.ru resolved
to 195.239.174.100
2018-02-02 21:15:32:181 belle-sip-message-channel 0x2269ee0: state RES_DONE
2018-02-02 21:15:32:181 belle-sip-message-transaction [0x22490b0]
channel state changed to [RES_DONE]
2018-02-02 21:15:32:181 belle-sip-message-channel 0x2269ee0: state
CONNECTING
2018-02-02 21:15:32:181 belle-sip-message-transaction [0x22490b0]
channel state changed to [CONNECTING]
2018-02-02 21:15:32:181 belle-sip-message-Trying to connect to
[UDP://195.239.174.100:5060]
2018-02-02 21:15:32:181 belle-sip-message-Channel has local address
10.1.1.76:5060
2018-02-02 21:15:32:181 belle-sip-message-channel 0x2269ee0: state READY
2018-02-02 21:15:32:181 belle-sip-message-transaction [0x22490b0]
channel state changed to [READY]
2018-02-02 21:15:32:181 belle-sip-message-Changing [client] [REGISTER]
transaction [0x22490b0], from state [INIT] to [TRYING]
2018-02-02 21:15:32:181 belle-sip-message-channel [0x2269ee0]: message
sent to [UDP://mpbx.sip.beeline.ru:5060], size: [564] bytes
REGISTER sip:mpbx.sip.beeline.ru SIP/2.0
Via: SIP/2.0/UDP 10.1.1.76:5060;branch=z9hG4bK.L5DDBQtn8;rport
From: <sip:[hidden email]>;tag=fXOFq8lR0
To: sip:[hidden email]
CSeq: 20 REGISTER
Call-ID: ~ZXdrlKV5y
Max-Forwards: 70
Supported: replaces, outbound
Accept: application/sdp
Accept: text/plain
Accept: application/vnd.gsma.rcs-ft-http+xml
Contact:
<sip:HIDEPHONE@10.1.1.76;transport=udp>;+sip.instance="<urn:uuid:95e9806e-55a7-4e9e-9a02-edd53df05bd5>"
Expires: 3600
User-Agent: Linphonec/3.12.0 (belle-sip/1.6.3)

2018-02-02 21:15:32:228 belle-sip-message-channel [0x2269ee0]: received
[513] new bytes from [UDP://mpbx.sip.beeline.ru:5060]:
SIP/2.0 401 Unauthorized 11030230330
Via: SIP/2.0/UDP
10.1.1.76:5060;received=178.163.104.69;rport=5060;branch=z9hG4bK.L5DDBQtn8
To:
<sip:[hidden email]>;tag=h7g4Esbg_ce94ecea0521e691f0ce64c8b295f2f8
From: <sip:[hidden email]>;tag=fXOFq8lR0
Call-ID: ~ZXdrlKV5y
CSeq: 20 REGISTER
Service-Route: <sip:195.239.174.100:5060;transport=udp;lr>
WWW-Authenticate: Digest
realm="sip.beeline.ru",nonce="DE35D073F9D4745A0000000033A85B79",algorithm=MD5,qop="auth"
Content-Length: 0

2018-02-02 21:15:32:231 belle-sip-message-channel [0x2269ee0] [513]
bytes parsed
2018-02-02 21:15:32:231 belle-sip-message-channel [0x2269ee0]:
discovered public ip and port are [178.163.104.69:5060]
2018-02-02 21:15:32:231 belle-sip-message-Found transaction matching
response.
2018-02-02 21:15:32:231 belle-sip-message-Changing [client] [REGISTER]
transaction [0x22490b0], from state [TRYING] to [COMPLETED]
2018-02-02 21:15:32:231
liblinphone-message-linphone_core_find_auth_info(): returning auth info
username=HIDEPHONE, realm=
2018-02-02 21:15:32:232 belle-sip-message-Auth info found for
[HIDEPHONE] realm [sip.beeline.ru]
2018-02-02 21:15:32:232 belle-sip-message-Changing [client] [REGISTER]
transaction [0x22ce150], from state [INIT] to [TRYING]
2018-02-02 21:15:32:232 belle-sip-message-channel [0x2269ee0]: message
sent to [UDP://mpbx.sip.beeline.ru:5060], size: [818] bytes
REGISTER sip:mpbx.sip.beeline.ru SIP/2.0
Via: SIP/2.0/UDP 10.1.1.76:5060;branch=z9hG4bK.LrZWhRO97;rport
From: <sip:[hidden email]>;tag=fXOFq8lR0
To: sip:[hidden email]
CSeq: 21 REGISTER
Call-ID: ~ZXdrlKV5y
Max-Forwards: 70
Supported: replaces, outbound
Accept: application/sdp
Accept: text/plain
Accept: application/vnd.gsma.rcs-ft-http+xml
Contact:
<sip:HIDEPHONE@10.1.1.76;transport=udp>;+sip.instance="<urn:uuid:95e9806e-55a7-4e9e-9a02-edd53df05bd5>"
Expires: 3600
User-Agent: Linphonec/3.12.0 (belle-sip/1.6.3)
Authorization:  Digest realm="sip.beeline.ru",
nonce="DE35D073F9D4745A0000000033A85B79", algorithm=MD5,
username="HIDEPHONE",  uri="sip:mpbx.sip.beeline.ru",
response="72da8e26eded6a161abcce5bd29dd873", cnonce="gew1odPKW2RmjPzS",
nc=00000001, qop=auth

2018-02-02 21:15:32:280 belle-sip-message-channel [0x2269ee0]: received
[672] new bytes from [UDP://mpbx.sip.beeline.ru:5060]:
SIP/2.0 200 OK
Via: SIP/2.0/UDP
10.1.1.76:5060;received=178.163.104.69;rport=5060;branch=z9hG4bK.LrZWhRO97
To:
<sip:[hidden email]>;tag=h7g4Esbg_ce94ecea05221a51c0ce64c8b2c80c77
From: <sip:[hidden email]>;tag=fXOFq8lR0
Call-ID: ~ZXdrlKV5y
CSeq: 21 REGISTER
Contact:
<sip:HIDEPHONE@10.1.1.76;transport=udp>;expires=1200;+sip.instance="<urn:uuid:95e9806e-55a7-4e9e-9a02-edd53df05bd5>"
P-Associated-Uri: <sip:[hidden email]>
Service-Route: <sip:195.239.174.100:5060;transport=udp;lr>
Content-Length: 0
Authentication-Info:
qop=auth,rspauth="dc3dc2803cd81990429f1b84450eb79d",cnonce="gew1odPKW2RmjPzS",nc=00000001

2018-02-02 21:15:32:284 belle-sip-message-channel [0x2269ee0] [672]
bytes parsed
2018-02-02 21:15:32:284 belle-sip-message-Found transaction matching
response.
2018-02-02 21:15:32:284 belle-sip-message-Updating auth context for ream
[sip.beeline.ru] next nonce is going to be [(null)]
linphonec[1423]: segfault at 0 ip b72039eb sp bfec529c error 4 in
libc-2.26.so[b70bb000+1cd000]




--
Andrey Kovalev

_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers
Reply | Threaded
Open this post in threaded view
|

Re: segfault in belle-sip/src/provider.c

Sebastian Gunreben-2
Hello Andrey,

I believe your segfault has the same root cause, which I experienced:
http://lists.nongnu.org/archive/html/linphone-developers/2018-01/msg00019.html

I hope that linphone gets fixed, otherwise version 4 will not work in
Deutsche Telekom fixed line networks.

BR,
Sebastian


On Sat, Feb 03, 2018 at 03:07:19AM +0400, Andrey Kovalev wrote:

> Hello Developers
>
> I got segfault in belle-sip/src/provider.c, function
> authorization_context_fill_from_auth.
>
> belle_sip_header_www_authenticate_get_nonce(authenticate) return NULL, and
> strcmp(NULL,auth_context->nonce) stops with segfault.
>
> Log:
>
>
> 2018-02-02 21:15:31:104 liblinphone-message-Using (r/w) config information
> from /.linphonerc
> 2018-02-02 21:15:31:105 liblinphone-message-Initializing LinphoneCore
> 3.12.0-306-gb340abdc0
> 2018-02-02 21:15:31:105 liblinphone-message-Core callbacks [0x2239540]
> registered on core [0x2239210]
> 2018-02-02 21:15:31:105 liblinphone-message-Core callbacks [0x2239080]
> registered on core [0x2239210]
> 2018-02-02 21:15:31:105 ortp-message-oRTP-1.0.2 initialized.
> 2018-02-02 21:15:31:105 mediastreamer-message-Mediastreamer2 factory 2.16.1
> (git: 2.16.1-125-gccf9f4d7) initialized.
> 2018-02-02 21:15:31:105 mediastreamer-message-CPU count set to 2
> 2018-02-02 21:15:31:105 mediastreamer-message-ms_factory_init() done:
> platform_tags=linux,x86,desktop
> 2018-02-02 21:15:31:105 mediastreamer-message-srtp init
> 2018-02-02 21:15:31:108 mediastreamer-message-Registering all soundcard
> handlers
> 2018-02-02 21:15:31:115 mediastreamer-message-Card 'ALSA: default device'
> added with capabilities [capture, playback]
> 2018-02-02 21:15:31:387 mediastreamer-message-Card 'ALSA: Ensoniq AudioPCI'
> added with capabilities [capture, playback]
> 2018-02-02 21:15:31:387 mediastreamer-message-ms_factory_init_voip() done
> 2018-02-02 21:15:31:387 mediastreamer-message-Loading ms plugins from
> [/usr/local/lib/mediastreamer/plugins]
> 2018-02-02 21:15:31:387 mediastreamer-message-Loading plugin
> /usr/local/lib/mediastreamer/plugins/libmsilbc.so.0...
> 2018-02-02 21:15:31:387 mediastreamer-warning-Fail to load plugin
> /usr/local/lib/mediastreamer/plugins/libmsilbc.so.0 : libilbcrfc3951.so.0:
> cannot open shared object file: No such file or directory
> 2018-02-02 21:15:31:387 mediastreamer-message-Loading plugin
> /usr/local/lib/mediastreamer/plugins/libmssilk.so...
> 2018-02-02 21:15:31:388 bctbx-message- libmssilk 1.1.1 plugin loaded
> 2018-02-02 21:15:31:388 mediastreamer-message-Plugin loaded
> (/usr/local/lib/mediastreamer/plugins/libmssilk.so)
> 2018-02-02 21:15:31:388 liblinphone-message-Codec opus/48000
> fmtp=[useinbandfec=1] number=-1, default enablement: 1) added to the list of
> possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec SILK/16000 fmtp=[]
> number=-1, default enablement: 1) added to the list of possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec speex/16000 fmtp=[vbr=on]
> number=-1, default enablement: 1) added to the list of possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec speex/8000 fmtp=[vbr=on]
> number=-1, default enablement: 1) added to the list of possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec PCMU/8000 fmtp=[]
> number=0, default enablement: 1) added to the list of possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec PCMA/8000 fmtp=[]
> number=8, default enablement: 1) added to the list of possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec red/1000 fmtp=[]
> number=-1, default enablement: 1) added to the list of possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec t140/1000 fmtp=[]
> number=-1, default enablement: 1) added to the list of possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec GSM/8000 fmtp=[] number=3,
> default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec G722/8000 fmtp=[]
> number=9, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec iLBC/8000 fmtp=[mode=30]
> number=-1, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec AMR/8000
> fmtp=[octet-align=1] number=-1, default enablement: 0) added to the list of
> possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec AMR-WB/16000
> fmtp=[octet-align=1] number=-1, default enablement: 0) added to the list of
> possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec G729/8000
> fmtp=[annexb=yes] number=18, default enablement: 1) added to the list of
> possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec mpeg4-generic/16000
> fmtp=[config=F8EE2000; constantDuration=512; indexDeltaLength=3;
> indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13;
> streamType=5] number=-1, default enablement: 0) added to the list of
> possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec mpeg4-generic/22050
> fmtp=[config=F8EE2000; constantDuration=512; indexDeltaLength=3;
> indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13;
> streamType=5] number=-1, default enablement: 0) added to the list of
> possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec mpeg4-generic/32000
> fmtp=[config=F8E82000; constantDuration=512; indexDeltaLength=3;
> indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13;
> streamType=5] number=-1, default enablement: 0) added to the list of
> possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec mpeg4-generic/44100
> fmtp=[config=F8E82000; constantDuration=512; indexDeltaLength=3;
> indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13;
> streamType=5] number=-1, default enablement: 0) added to the list of
> possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec mpeg4-generic/48000
> fmtp=[config=F8EE2000; constantDuration=512; indexDeltaLength=3;
> indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13;
> streamType=5] number=-1, default enablement: 0) added to the list of
> possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec iSAC/16000 fmtp=[]
> number=-1, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec speex/32000 fmtp=[vbr=on]
> number=-1, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec SILK/8000 fmtp=[]
> number=-1, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec SILK/12000 fmtp=[]
> number=-1, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:388 liblinphone-message-Codec SILK/24000 fmtp=[]
> number=-1, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:389 liblinphone-message-Codec G726-16/8000 fmtp=[]
> number=-1, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:389 liblinphone-message-Codec G726-24/8000 fmtp=[]
> number=-1, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:389 liblinphone-message-Codec G726-32/8000 fmtp=[]
> number=-1, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:389 liblinphone-message-Codec G726-40/8000 fmtp=[]
> number=-1, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:389 liblinphone-message-Codec AAL2-G726-16/8000 fmtp=[]
> number=-1, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:389 liblinphone-message-Codec AAL2-G726-24/8000 fmtp=[]
> number=-1, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:389 liblinphone-message-Codec AAL2-G726-32/8000 fmtp=[]
> number=-1, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:389 liblinphone-message-Codec AAL2-G726-40/8000 fmtp=[]
> number=-1, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:389 liblinphone-message-Codec CODEC2/8000 fmtp=[]
> number=-1, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:389 liblinphone-message-Codec BV16/8000 fmtp=[]
> number=-1, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:389 liblinphone-message-Codec 1016/8000 fmtp=[]
> number=1, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:389 liblinphone-message-Codec G723/8000 fmtp=[]
> number=4, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:389 liblinphone-message-Codec LPC/8000 fmtp=[] number=7,
> default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:389 liblinphone-message-Codec L16/44100 fmtp=[]
> number=10, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:389 liblinphone-message-Codec L16/44100 fmtp=[]
> number=11, default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:389 liblinphone-message-Codec CN/8000 fmtp=[] number=13,
> default enablement: 0) added to the list of possible codecs.
> 2018-02-02 21:15:31:389 liblinphone-message-Sal nat helper [enabled]
> 2018-02-02 21:15:31:389 belle-sip-message-Root ca path set to /etc/ssl/certs
> 2018-02-02 21:15:31:389 belle-sip-message-Root ca path set to /etc/ssl/certs
> 2018-02-02 21:15:31:389 belle-sip-message-Root ca path set to
> /usr/local/share/linphone/rootca.pem
> 2018-02-02 21:15:31:390
> liblinphone-message-linphone_core_set_playback_gain_db(): no active call.
> 2018-02-02 21:15:31:390 liblinphone-message-linphone_core_set_mic_gain_db():
> no active call.
> 2018-02-02 21:15:31:390 liblinphone-message-Sal nat helper [enabled]
> 2018-02-02 21:15:31:390 liblinphone-message-Sal use rport [enabled]
> 2018-02-02 21:15:31:390 liblinphone-message-MTU is supposed to be 1500, rtp
> payload max size will be 1440
> 2018-02-02 21:15:31:390 liblinphone-warning-Codec opus/48000/1 read from
> conf is not in the default list.
> 2018-02-02 21:15:31:390 liblinphone-message-Supported codec opus/48000
> fmtp=useinbandfec=1 automatically added to codec list.
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
> iLBC
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
> iLBC
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for AMR
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for AMR
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
> AMR-WB
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
> AMR-WB
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
> mpeg4-generic
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
> mpeg4-generic
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
> mpeg4-generic
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
> mpeg4-generic
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
> mpeg4-generic
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
> mpeg4-generic
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
> mpeg4-generic
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
> mpeg4-generic
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
> mpeg4-generic
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
> mpeg4-generic
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
> iSAC
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
> iSAC
> 2018-02-02 21:15:31:390 liblinphone-message-Supported codec speex/32000
> fmtp=vbr=on automatically added to codec list.
> 2018-02-02 21:15:31:390 liblinphone-message-Supported codec SILK/8000 fmtp=
> automatically added to codec list.
> 2018-02-02 21:15:31:390 liblinphone-message-Supported codec SILK/12000 fmtp=
> automatically added to codec list.
> 2018-02-02 21:15:31:390 liblinphone-message-Supported codec SILK/24000 fmtp=
> automatically added to codec list.
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
> G726-16
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
> G726-16
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
> G726-24
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
> G726-24
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
> G726-32
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
> G726-32
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
> G726-40
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
> G726-40
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
> AAL2-G726-16
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
> AAL2-G726-16
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
> AAL2-G726-24
> 2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
> AAL2-G726-24
> 2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for
> AAL2-G726-32
> 2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for
> AAL2-G726-32
> 2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for
> AAL2-G726-40
> 2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for
> AAL2-G726-40
> 2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for
> CODEC2
> 2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for
> CODEC2
> 2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for
> 1016
> 2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for
> 1016
> 2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for
> G723
> 2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for
> G723
> 2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for LPC
> 2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for LPC
> 2018-02-02 21:15:31:391 liblinphone-message-Supported codec L16/44100 fmtp=
> automatically added to codec list.
> 2018-02-02 21:15:31:391 liblinphone-message-Supported codec L16/44100 fmtp=
> automatically added to codec list.
> 2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for CN
> 2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for CN
> 2018-02-02 21:15:31:391 liblinphone-message-Supported codec red/1000 fmtp=
> automatically added to codec list.
> 2018-02-02 21:15:31:391 liblinphone-message-Supported codec t140/1000 fmtp=
> automatically added to codec list.
> 2018-02-02 21:15:31:391 liblinphone-message-Sal use rport [enabled]
> 2018-02-02 21:15:31:391 belle-sip-message-Root ca path set to
> /usr/local/share/linphone/rootca.pem
> 2018-02-02 21:15:31:391 liblinphone-message-sal_unlisten_ports done
> 2018-02-02 21:15:31:391 belle-sip-message-Creating listening point
> [0x223b9b0] on [sip:0.0.0.0:5060;transport=UDP]
> 2018-02-02 21:15:31:391 belle-sip-message-Creating listening point
> [0x223ba50] on [sip:0.0.0.0:5060;transport=TCP]
> 2018-02-02 21:15:31:391 belle-sip-message-Creating listening point
> [0x223bba0] on [sip:0.0.0.0:-1;transport=TLS]
> 2018-02-02 21:15:31:391 belle-sip-message-Random TCP port is 45961
> 2018-02-02 21:15:31:391 belle-sip-message-Root ca path set to /etc/ssl/certs
> 2018-02-02 21:15:31:391 belle-sip-message-Root ca path set to /etc/ssl/certs
> 2018-02-02 21:15:31:391 belle-sip-message-Root ca path set to
> /usr/local/share/linphone/rootca.pem
> Ready
> 2018-02-02 21:15:31:393 liblinphone-message-Linphone core [0x2239210]
> notified [display_status]
> Warning: video is disabled in linphonec, use -V or -C or -D to enable.
> linphonec> 2018-02-02 21:15:31:395 liblinphone-message-New local ip address
> is 10.1.1.76
> 2018-02-02 21:15:31:395 liblinphone-message-SIP network reachability state
> is now [UP]
> 2018-02-02 21:15:31:395 liblinphone-message-Media network reachability state
> is now [UP]
> Receiving command 'register sip:[hidden email]
> mpbx.sip.beeline.ru HIDEPASSWORD'
> 2018-02-02 21:15:32:109
> liblinphone-message-linphone_proxy_config_is_server_config_changed : 0
> 2018-02-02 21:15:32:109 liblinphone-message-Publish params have changed on
> proxy config [0x224a330]
> linphonec> 2018-02-02 21:15:32:109 liblinphone-message-LinphoneProxyConfig
> [0x224a330] about to register (LinphoneCore version: 3.12.0-306-gb340abdc0)
> 2018-02-02 21:15:32:111
> belle-sip-message-belle_sip_client_transaction_send_request(): waiting
> channel to be ready
> 2018-02-02 21:15:32:111 belle-sip-message-channel [0x2269ee0]: starting
> resolution of mpbx.sip.beeline.ru
> 2018-02-02 21:15:32:111 belle-sip-message-channel 0x2269ee0: state
> RES_IN_PROGRESS
> 2018-02-02 21:15:32:111 belle-sip-message-transaction [0x22490b0] channel
> state changed to [RES_IN_PROGRESS]
> 2018-02-02 21:15:32:112 belle-sip-message-Resolver is using DNS server(s):
> 2018-02-02 21:15:32:112 belle-sip-message- 8.8.8.8
> 2018-02-02 21:15:32:112 belle-sip-message-resolver_process_data
> dns_res_check() in progress
> 2018-02-02 21:15:32:112 belle-sip-message-DNS resolution awaiting response,
> queued to main loop
> 2018-02-02 21:15:32:112 belle-sip-message-Neither Expires header nor
> corresponding Contact header found, checking from original request
> 2018-02-02 21:15:32:112 belle-sip-message-Refresher [0x224ad70] takes
> ownership of transaction [0x22490b0]
> Refreshing on sip:[hidden email]...
> linphonec> 2018-02-02 21:15:32:112 liblinphone-message-Linphone core
> [0x2239210] notified [display_status]
> 2018-02-02 21:15:32:112 liblinphone-message-Proxy config [0x224a330] for
> identity [sip:[hidden email]] moving from state
> [LinphoneRegistrationNone] to [LinphoneRegistrationProgress] on core
> [0x2239210]
> 2018-02-02 21:15:32:159 belle-sip-message-No SRV result for
> [_sip._udp.mpbx.sip.beeline.ru], trying A/AAAA.
> 2018-02-02 21:15:32:159 belle-sip-message-Resolver is using DNS server(s):
> 2018-02-02 21:15:32:159 belle-sip-message- 8.8.8.8
> 2018-02-02 21:15:32:159 belle-sip-message-resolver_process_data
> dns_res_check() in progress
> 2018-02-02 21:15:32:159 belle-sip-message-DNS resolution awaiting response,
> queued to main loop
> 2018-02-02 21:15:32:181 belle-sip-message-mpbx.sip.beeline.ru resolved to
> 195.239.174.100
> 2018-02-02 21:15:32:181 belle-sip-message-channel 0x2269ee0: state RES_DONE
> 2018-02-02 21:15:32:181 belle-sip-message-transaction [0x22490b0] channel
> state changed to [RES_DONE]
> 2018-02-02 21:15:32:181 belle-sip-message-channel 0x2269ee0: state
> CONNECTING
> 2018-02-02 21:15:32:181 belle-sip-message-transaction [0x22490b0] channel
> state changed to [CONNECTING]
> 2018-02-02 21:15:32:181 belle-sip-message-Trying to connect to
> [UDP://195.239.174.100:5060]
> 2018-02-02 21:15:32:181 belle-sip-message-Channel has local address
> 10.1.1.76:5060
> 2018-02-02 21:15:32:181 belle-sip-message-channel 0x2269ee0: state READY
> 2018-02-02 21:15:32:181 belle-sip-message-transaction [0x22490b0] channel
> state changed to [READY]
> 2018-02-02 21:15:32:181 belle-sip-message-Changing [client] [REGISTER]
> transaction [0x22490b0], from state [INIT] to [TRYING]
> 2018-02-02 21:15:32:181 belle-sip-message-channel [0x2269ee0]: message sent
> to [UDP://mpbx.sip.beeline.ru:5060], size: [564] bytes
> REGISTER sip:mpbx.sip.beeline.ru SIP/2.0
> Via: SIP/2.0/UDP 10.1.1.76:5060;branch=z9hG4bK.L5DDBQtn8;rport
> From: <sip:[hidden email]>;tag=fXOFq8lR0
> To: sip:[hidden email]
> CSeq: 20 REGISTER
> Call-ID: ~ZXdrlKV5y
> Max-Forwards: 70
> Supported: replaces, outbound
> Accept: application/sdp
> Accept: text/plain
> Accept: application/vnd.gsma.rcs-ft-http+xml
> Contact: <sip:HIDEPHONE@10.1.1.76;transport=udp>;+sip.instance="<urn:uuid:95e9806e-55a7-4e9e-9a02-edd53df05bd5>"
> Expires: 3600
> User-Agent: Linphonec/3.12.0 (belle-sip/1.6.3)
>
> 2018-02-02 21:15:32:228 belle-sip-message-channel [0x2269ee0]: received
> [513] new bytes from [UDP://mpbx.sip.beeline.ru:5060]:
> SIP/2.0 401 Unauthorized 11030230330
> Via: SIP/2.0/UDP
> 10.1.1.76:5060;received=178.163.104.69;rport=5060;branch=z9hG4bK.L5DDBQtn8
> To: <sip:[hidden email]>;tag=h7g4Esbg_ce94ecea0521e691f0ce64c8b295f2f8
> From: <sip:[hidden email]>;tag=fXOFq8lR0
> Call-ID: ~ZXdrlKV5y
> CSeq: 20 REGISTER
> Service-Route: <sip:195.239.174.100:5060;transport=udp;lr>
> WWW-Authenticate: Digest realm="sip.beeline.ru",nonce="DE35D073F9D4745A0000000033A85B79",algorithm=MD5,qop="auth"
> Content-Length: 0
>
> 2018-02-02 21:15:32:231 belle-sip-message-channel [0x2269ee0] [513] bytes
> parsed
> 2018-02-02 21:15:32:231 belle-sip-message-channel [0x2269ee0]: discovered
> public ip and port are [178.163.104.69:5060]
> 2018-02-02 21:15:32:231 belle-sip-message-Found transaction matching
> response.
> 2018-02-02 21:15:32:231 belle-sip-message-Changing [client] [REGISTER]
> transaction [0x22490b0], from state [TRYING] to [COMPLETED]
> 2018-02-02 21:15:32:231 liblinphone-message-linphone_core_find_auth_info():
> returning auth info username=HIDEPHONE, realm=
> 2018-02-02 21:15:32:232 belle-sip-message-Auth info found for [HIDEPHONE]
> realm [sip.beeline.ru]
> 2018-02-02 21:15:32:232 belle-sip-message-Changing [client] [REGISTER]
> transaction [0x22ce150], from state [INIT] to [TRYING]
> 2018-02-02 21:15:32:232 belle-sip-message-channel [0x2269ee0]: message sent
> to [UDP://mpbx.sip.beeline.ru:5060], size: [818] bytes
> REGISTER sip:mpbx.sip.beeline.ru SIP/2.0
> Via: SIP/2.0/UDP 10.1.1.76:5060;branch=z9hG4bK.LrZWhRO97;rport
> From: <sip:[hidden email]>;tag=fXOFq8lR0
> To: sip:[hidden email]
> CSeq: 21 REGISTER
> Call-ID: ~ZXdrlKV5y
> Max-Forwards: 70
> Supported: replaces, outbound
> Accept: application/sdp
> Accept: text/plain
> Accept: application/vnd.gsma.rcs-ft-http+xml
> Contact: <sip:HIDEPHONE@10.1.1.76;transport=udp>;+sip.instance="<urn:uuid:95e9806e-55a7-4e9e-9a02-edd53df05bd5>"
> Expires: 3600
> User-Agent: Linphonec/3.12.0 (belle-sip/1.6.3)
> Authorization:  Digest realm="sip.beeline.ru",
> nonce="DE35D073F9D4745A0000000033A85B79", algorithm=MD5,
> username="HIDEPHONE",  uri="sip:mpbx.sip.beeline.ru",
> response="72da8e26eded6a161abcce5bd29dd873", cnonce="gew1odPKW2RmjPzS",
> nc=00000001, qop=auth
>
> 2018-02-02 21:15:32:280 belle-sip-message-channel [0x2269ee0]: received
> [672] new bytes from [UDP://mpbx.sip.beeline.ru:5060]:
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP
> 10.1.1.76:5060;received=178.163.104.69;rport=5060;branch=z9hG4bK.LrZWhRO97
> To: <sip:[hidden email]>;tag=h7g4Esbg_ce94ecea05221a51c0ce64c8b2c80c77
> From: <sip:[hidden email]>;tag=fXOFq8lR0
> Call-ID: ~ZXdrlKV5y
> CSeq: 21 REGISTER
> Contact: <sip:HIDEPHONE@10.1.1.76;transport=udp>;expires=1200;+sip.instance="<urn:uuid:95e9806e-55a7-4e9e-9a02-edd53df05bd5>"
> P-Associated-Uri: <sip:[hidden email]>
> Service-Route: <sip:195.239.174.100:5060;transport=udp;lr>
> Content-Length: 0
> Authentication-Info: qop=auth,rspauth="dc3dc2803cd81990429f1b84450eb79d",cnonce="gew1odPKW2RmjPzS",nc=00000001
>
> 2018-02-02 21:15:32:284 belle-sip-message-channel [0x2269ee0] [672] bytes
> parsed
> 2018-02-02 21:15:32:284 belle-sip-message-Found transaction matching
> response.
> 2018-02-02 21:15:32:284 belle-sip-message-Updating auth context for ream
> [sip.beeline.ru] next nonce is going to be [(null)]
> linphonec[1423]: segfault at 0 ip b72039eb sp bfec529c error 4 in
> libc-2.26.so[b70bb000+1cd000]
>
>
>
>
> --
> Andrey Kovalev
>
> _______________________________________________
> Linphone-developers mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/linphone-developers
>

--
Dr. Sebastian Gunreben
Gronewaldstr. 50, 53639 Königswinter
[hidden email]
mob: 0160-99585126
tel: 02244-9185672
gpg: 0xC2DF4FDD

_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers
Reply | Threaded
Open this post in threaded view
|

Re: segfault in belle-sip/src/provider.c

jehan.monnier
Hi,

Thanks for this interesting finding.
I’ll double check before next Linphone release.

Best regards



Le 3 févr. 2018 à 00:32, Sebastian Gunreben <[hidden email]> a écrit :

Hello Andrey,

I believe your segfault has the same root cause, which I experienced:
http://lists.nongnu.org/archive/html/linphone-developers/2018-01/msg00019.html

I hope that linphone gets fixed, otherwise version 4 will not work in
Deutsche Telekom fixed line networks.

BR,
Sebastian


On Sat, Feb 03, 2018 at 03:07:19AM +0400, Andrey Kovalev wrote:
Hello Developers

I got segfault in belle-sip/src/provider.c, function
authorization_context_fill_from_auth.

belle_sip_header_www_authenticate_get_nonce(authenticate) return NULL, and
strcmp(NULL,auth_context->nonce) stops with segfault.

Log:


2018-02-02 21:15:31:104 liblinphone-message-Using (r/w) config information
from /.linphonerc
2018-02-02 21:15:31:105 liblinphone-message-Initializing LinphoneCore
3.12.0-306-gb340abdc0
2018-02-02 21:15:31:105 liblinphone-message-Core callbacks [0x2239540]
registered on core [0x2239210]
2018-02-02 21:15:31:105 liblinphone-message-Core callbacks [0x2239080]
registered on core [0x2239210]
2018-02-02 21:15:31:105 ortp-message-oRTP-1.0.2 initialized.
2018-02-02 21:15:31:105 mediastreamer-message-Mediastreamer2 factory 2.16.1
(git: 2.16.1-125-gccf9f4d7) initialized.
2018-02-02 21:15:31:105 mediastreamer-message-CPU count set to 2
2018-02-02 21:15:31:105 mediastreamer-message-ms_factory_init() done:
platform_tags=linux,x86,desktop
2018-02-02 21:15:31:105 mediastreamer-message-srtp init
2018-02-02 21:15:31:108 mediastreamer-message-Registering all soundcard
handlers
2018-02-02 21:15:31:115 mediastreamer-message-Card 'ALSA: default device'
added with capabilities [capture, playback]
2018-02-02 21:15:31:387 mediastreamer-message-Card 'ALSA: Ensoniq AudioPCI'
added with capabilities [capture, playback]
2018-02-02 21:15:31:387 mediastreamer-message-ms_factory_init_voip() done
2018-02-02 21:15:31:387 mediastreamer-message-Loading ms plugins from
[/usr/local/lib/mediastreamer/plugins]
2018-02-02 21:15:31:387 mediastreamer-message-Loading plugin
/usr/local/lib/mediastreamer/plugins/libmsilbc.so.0...
2018-02-02 21:15:31:387 mediastreamer-warning-Fail to load plugin
/usr/local/lib/mediastreamer/plugins/libmsilbc.so.0 : libilbcrfc3951.so.0:
cannot open shared object file: No such file or directory
2018-02-02 21:15:31:387 mediastreamer-message-Loading plugin
/usr/local/lib/mediastreamer/plugins/libmssilk.so...
2018-02-02 21:15:31:388 bctbx-message- libmssilk 1.1.1 plugin loaded
2018-02-02 21:15:31:388 mediastreamer-message-Plugin loaded
(/usr/local/lib/mediastreamer/plugins/libmssilk.so)
2018-02-02 21:15:31:388 liblinphone-message-Codec opus/48000
fmtp=[useinbandfec=1] number=-1, default enablement: 1) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec SILK/16000 fmtp=[]
number=-1, default enablement: 1) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec speex/16000 fmtp=[vbr=on]
number=-1, default enablement: 1) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec speex/8000 fmtp=[vbr=on]
number=-1, default enablement: 1) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec PCMU/8000 fmtp=[]
number=0, default enablement: 1) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec PCMA/8000 fmtp=[]
number=8, default enablement: 1) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec red/1000 fmtp=[]
number=-1, default enablement: 1) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec t140/1000 fmtp=[]
number=-1, default enablement: 1) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec GSM/8000 fmtp=[] number=3,
default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec G722/8000 fmtp=[]
number=9, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec iLBC/8000 fmtp=[mode=30]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec AMR/8000
fmtp=[octet-align=1] number=-1, default enablement: 0) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec AMR-WB/16000
fmtp=[octet-align=1] number=-1, default enablement: 0) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec G729/8000
fmtp=[annexb=yes] number=18, default enablement: 1) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec mpeg4-generic/16000
fmtp=[config=F8EE2000; constantDuration=512; indexDeltaLength=3;
indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13;
streamType=5] number=-1, default enablement: 0) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec mpeg4-generic/22050
fmtp=[config=F8EE2000; constantDuration=512; indexDeltaLength=3;
indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13;
streamType=5] number=-1, default enablement: 0) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec mpeg4-generic/32000
fmtp=[config=F8E82000; constantDuration=512; indexDeltaLength=3;
indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13;
streamType=5] number=-1, default enablement: 0) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec mpeg4-generic/44100
fmtp=[config=F8E82000; constantDuration=512; indexDeltaLength=3;
indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13;
streamType=5] number=-1, default enablement: 0) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec mpeg4-generic/48000
fmtp=[config=F8EE2000; constantDuration=512; indexDeltaLength=3;
indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13;
streamType=5] number=-1, default enablement: 0) added to the list of
possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec iSAC/16000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec speex/32000 fmtp=[vbr=on]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec SILK/8000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec SILK/12000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:388 liblinphone-message-Codec SILK/24000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec G726-16/8000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec G726-24/8000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec G726-32/8000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec G726-40/8000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec AAL2-G726-16/8000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec AAL2-G726-24/8000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec AAL2-G726-32/8000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec AAL2-G726-40/8000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec CODEC2/8000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec BV16/8000 fmtp=[]
number=-1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec 1016/8000 fmtp=[]
number=1, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec G723/8000 fmtp=[]
number=4, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec LPC/8000 fmtp=[] number=7,
default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec L16/44100 fmtp=[]
number=10, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec L16/44100 fmtp=[]
number=11, default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Codec CN/8000 fmtp=[] number=13,
default enablement: 0) added to the list of possible codecs.
2018-02-02 21:15:31:389 liblinphone-message-Sal nat helper [enabled]
2018-02-02 21:15:31:389 belle-sip-message-Root ca path set to /etc/ssl/certs
2018-02-02 21:15:31:389 belle-sip-message-Root ca path set to /etc/ssl/certs
2018-02-02 21:15:31:389 belle-sip-message-Root ca path set to
/usr/local/share/linphone/rootca.pem
2018-02-02 21:15:31:390
liblinphone-message-linphone_core_set_playback_gain_db(): no active call.
2018-02-02 21:15:31:390 liblinphone-message-linphone_core_set_mic_gain_db():
no active call.
2018-02-02 21:15:31:390 liblinphone-message-Sal nat helper [enabled]
2018-02-02 21:15:31:390 liblinphone-message-Sal use rport [enabled]
2018-02-02 21:15:31:390 liblinphone-message-MTU is supposed to be 1500, rtp
payload max size will be 1440
2018-02-02 21:15:31:390 liblinphone-warning-Codec opus/48000/1 read from
conf is not in the default list.
2018-02-02 21:15:31:390 liblinphone-message-Supported codec opus/48000
fmtp=useinbandfec=1 automatically added to codec list.
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
iLBC
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
iLBC
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for AMR
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for AMR
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
AMR-WB
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
AMR-WB
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
mpeg4-generic
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
iSAC
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
iSAC
2018-02-02 21:15:31:390 liblinphone-message-Supported codec speex/32000
fmtp=vbr=on automatically added to codec list.
2018-02-02 21:15:31:390 liblinphone-message-Supported codec SILK/8000 fmtp=
automatically added to codec list.
2018-02-02 21:15:31:390 liblinphone-message-Supported codec SILK/12000 fmtp=
automatically added to codec list.
2018-02-02 21:15:31:390 liblinphone-message-Supported codec SILK/24000 fmtp=
automatically added to codec list.
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
G726-16
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
G726-16
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
G726-24
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
G726-24
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
G726-32
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
G726-32
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
G726-40
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
G726-40
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
AAL2-G726-16
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
AAL2-G726-16
2018-02-02 21:15:31:390 mediastreamer-message-Could not find encoder for
AAL2-G726-24
2018-02-02 21:15:31:390 mediastreamer-message-Could not find decoder for
AAL2-G726-24
2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for
AAL2-G726-32
2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for
AAL2-G726-32
2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for
AAL2-G726-40
2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for
AAL2-G726-40
2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for
CODEC2
2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for
CODEC2
2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for
1016
2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for
1016
2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for
G723
2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for
G723
2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for LPC
2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for LPC
2018-02-02 21:15:31:391 liblinphone-message-Supported codec L16/44100 fmtp=
automatically added to codec list.
2018-02-02 21:15:31:391 liblinphone-message-Supported codec L16/44100 fmtp=
automatically added to codec list.
2018-02-02 21:15:31:391 mediastreamer-message-Could not find encoder for CN
2018-02-02 21:15:31:391 mediastreamer-message-Could not find decoder for CN
2018-02-02 21:15:31:391 liblinphone-message-Supported codec red/1000 fmtp=
automatically added to codec list.
2018-02-02 21:15:31:391 liblinphone-message-Supported codec t140/1000 fmtp=
automatically added to codec list.
2018-02-02 21:15:31:391 liblinphone-message-Sal use rport [enabled]
2018-02-02 21:15:31:391 belle-sip-message-Root ca path set to
/usr/local/share/linphone/rootca.pem
2018-02-02 21:15:31:391 liblinphone-message-sal_unlisten_ports done
2018-02-02 21:15:31:391 belle-sip-message-Creating listening point
[0x223b9b0] on [sip:0.0.0.0:5060;transport=UDP]
2018-02-02 21:15:31:391 belle-sip-message-Creating listening point
[0x223ba50] on [sip:0.0.0.0:5060;transport=TCP]
2018-02-02 21:15:31:391 belle-sip-message-Creating listening point
[0x223bba0] on [sip:0.0.0.0:-1;transport=TLS]
2018-02-02 21:15:31:391 belle-sip-message-Random TCP port is 45961
2018-02-02 21:15:31:391 belle-sip-message-Root ca path set to /etc/ssl/certs
2018-02-02 21:15:31:391 belle-sip-message-Root ca path set to /etc/ssl/certs
2018-02-02 21:15:31:391 belle-sip-message-Root ca path set to
/usr/local/share/linphone/rootca.pem
Ready
2018-02-02 21:15:31:393 liblinphone-message-Linphone core [0x2239210]
notified [display_status]
Warning: video is disabled in linphonec, use -V or -C or -D to enable.
linphonec> 2018-02-02 21:15:31:395 liblinphone-message-New local ip address
is 10.1.1.76
2018-02-02 21:15:31:395 liblinphone-message-SIP network reachability state
is now [UP]
2018-02-02 21:15:31:395 liblinphone-message-Media network reachability state
is now [UP]
Receiving command 'register sip:[hidden email]
mpbx.sip.beeline.ru HIDEPASSWORD'
2018-02-02 21:15:32:109
liblinphone-message-linphone_proxy_config_is_server_config_changed : 0
2018-02-02 21:15:32:109 liblinphone-message-Publish params have changed on
proxy config [0x224a330]
linphonec> 2018-02-02 21:15:32:109 liblinphone-message-LinphoneProxyConfig
[0x224a330] about to register (LinphoneCore version: 3.12.0-306-gb340abdc0)
2018-02-02 21:15:32:111
belle-sip-message-belle_sip_client_transaction_send_request(): waiting
channel to be ready
2018-02-02 21:15:32:111 belle-sip-message-channel [0x2269ee0]: starting
resolution of mpbx.sip.beeline.ru
2018-02-02 21:15:32:111 belle-sip-message-channel 0x2269ee0: state
RES_IN_PROGRESS
2018-02-02 21:15:32:111 belle-sip-message-transaction [0x22490b0] channel
state changed to [RES_IN_PROGRESS]
2018-02-02 21:15:32:112 belle-sip-message-Resolver is using DNS server(s):
2018-02-02 21:15:32:112 belle-sip-message- 8.8.8.8
2018-02-02 21:15:32:112 belle-sip-message-resolver_process_data
dns_res_check() in progress
2018-02-02 21:15:32:112 belle-sip-message-DNS resolution awaiting response,
queued to main loop
2018-02-02 21:15:32:112 belle-sip-message-Neither Expires header nor
corresponding Contact header found, checking from original request
2018-02-02 21:15:32:112 belle-sip-message-Refresher [0x224ad70] takes
ownership of transaction [0x22490b0]
Refreshing on sip:[hidden email]...
linphonec> 2018-02-02 21:15:32:112 liblinphone-message-Linphone core
[0x2239210] notified [display_status]
2018-02-02 21:15:32:112 liblinphone-message-Proxy config [0x224a330] for
identity [sip:[hidden email]] moving from state
[LinphoneRegistrationNone] to [LinphoneRegistrationProgress] on core
[0x2239210]
2018-02-02 21:15:32:159 belle-sip-message-No SRV result for
[_sip._udp.mpbx.sip.beeline.ru], trying A/AAAA.
2018-02-02 21:15:32:159 belle-sip-message-Resolver is using DNS server(s):
2018-02-02 21:15:32:159 belle-sip-message- 8.8.8.8
2018-02-02 21:15:32:159 belle-sip-message-resolver_process_data
dns_res_check() in progress
2018-02-02 21:15:32:159 belle-sip-message-DNS resolution awaiting response,
queued to main loop
2018-02-02 21:15:32:181 belle-sip-message-mpbx.sip.beeline.ru resolved to
195.239.174.100
2018-02-02 21:15:32:181 belle-sip-message-channel 0x2269ee0: state RES_DONE
2018-02-02 21:15:32:181 belle-sip-message-transaction [0x22490b0] channel
state changed to [RES_DONE]
2018-02-02 21:15:32:181 belle-sip-message-channel 0x2269ee0: state
CONNECTING
2018-02-02 21:15:32:181 belle-sip-message-transaction [0x22490b0] channel
state changed to [CONNECTING]
2018-02-02 21:15:32:181 belle-sip-message-Trying to connect to
[UDP://195.239.174.100:5060]
2018-02-02 21:15:32:181 belle-sip-message-Channel has local address
10.1.1.76:5060
2018-02-02 21:15:32:181 belle-sip-message-channel 0x2269ee0: state READY
2018-02-02 21:15:32:181 belle-sip-message-transaction [0x22490b0] channel
state changed to [READY]
2018-02-02 21:15:32:181 belle-sip-message-Changing [client] [REGISTER]
transaction [0x22490b0], from state [INIT] to [TRYING]
2018-02-02 21:15:32:181 belle-sip-message-channel [0x2269ee0]: message sent
to [UDP://mpbx.sip.beeline.ru:5060], size: [564] bytes
REGISTER sip:mpbx.sip.beeline.ru SIP/2.0
Via: SIP/2.0/UDP 10.1.1.76:5060;branch=z9hG4bK.L5DDBQtn8;rport
From: <sip:[hidden email]>;tag=fXOFq8lR0
To: sip:[hidden email]
CSeq: 20 REGISTER
Call-ID: ~ZXdrlKV5y
Max-Forwards: 70
Supported: replaces, outbound
Accept: application/sdp
Accept: text/plain
Accept: application/vnd.gsma.rcs-ft-http+xml
Contact: <sip:HIDEPHONE@10.1.1.76;transport=udp>;+sip.instance="<urn:uuid:95e9806e-55a7-4e9e-9a02-edd53df05bd5>"
Expires: 3600
User-Agent: Linphonec/3.12.0 (belle-sip/1.6.3)

2018-02-02 21:15:32:228 belle-sip-message-channel [0x2269ee0]: received
[513] new bytes from [UDP://mpbx.sip.beeline.ru:5060]:
SIP/2.0 401 Unauthorized 11030230330
Via: SIP/2.0/UDP
10.1.1.76:5060;received=178.163.104.69;rport=5060;branch=z9hG4bK.L5DDBQtn8
To: <sip:[hidden email]>;tag=h7g4Esbg_ce94ecea0521e691f0ce64c8b295f2f8
From: <sip:[hidden email]>;tag=fXOFq8lR0
Call-ID: ~ZXdrlKV5y
CSeq: 20 REGISTER
Service-Route: <sip:195.239.174.100:5060;transport=udp;lr>
WWW-Authenticate: Digest realm="sip.beeline.ru",nonce="DE35D073F9D4745A0000000033A85B79",algorithm=MD5,qop="auth"
Content-Length: 0

2018-02-02 21:15:32:231 belle-sip-message-channel [0x2269ee0] [513] bytes
parsed
2018-02-02 21:15:32:231 belle-sip-message-channel [0x2269ee0]: discovered
public ip and port are [178.163.104.69:5060]
2018-02-02 21:15:32:231 belle-sip-message-Found transaction matching
response.
2018-02-02 21:15:32:231 belle-sip-message-Changing [client] [REGISTER]
transaction [0x22490b0], from state [TRYING] to [COMPLETED]
2018-02-02 21:15:32:231 liblinphone-message-linphone_core_find_auth_info():
returning auth info username=HIDEPHONE, realm=
2018-02-02 21:15:32:232 belle-sip-message-Auth info found for [HIDEPHONE]
realm [sip.beeline.ru]
2018-02-02 21:15:32:232 belle-sip-message-Changing [client] [REGISTER]
transaction [0x22ce150], from state [INIT] to [TRYING]
2018-02-02 21:15:32:232 belle-sip-message-channel [0x2269ee0]: message sent
to [UDP://mpbx.sip.beeline.ru:5060], size: [818] bytes
REGISTER sip:mpbx.sip.beeline.ru SIP/2.0
Via: SIP/2.0/UDP 10.1.1.76:5060;branch=z9hG4bK.LrZWhRO97;rport
From: <sip:[hidden email]>;tag=fXOFq8lR0
To: sip:[hidden email]
CSeq: 21 REGISTER
Call-ID: ~ZXdrlKV5y
Max-Forwards: 70
Supported: replaces, outbound
Accept: application/sdp
Accept: text/plain
Accept: application/vnd.gsma.rcs-ft-http+xml
Contact: <sip:HIDEPHONE@10.1.1.76;transport=udp>;+sip.instance="<urn:uuid:95e9806e-55a7-4e9e-9a02-edd53df05bd5>"
Expires: 3600
User-Agent: Linphonec/3.12.0 (belle-sip/1.6.3)
Authorization:  Digest realm="sip.beeline.ru",
nonce="DE35D073F9D4745A0000000033A85B79", algorithm=MD5,
username="HIDEPHONE",  uri="sip:mpbx.sip.beeline.ru",
response="72da8e26eded6a161abcce5bd29dd873", cnonce="gew1odPKW2RmjPzS",
nc=00000001, qop=auth

2018-02-02 21:15:32:280 belle-sip-message-channel [0x2269ee0]: received
[672] new bytes from [UDP://mpbx.sip.beeline.ru:5060]:
SIP/2.0 200 OK
Via: SIP/2.0/UDP
10.1.1.76:5060;received=178.163.104.69;rport=5060;branch=z9hG4bK.LrZWhRO97
To: <sip:[hidden email]>;tag=h7g4Esbg_ce94ecea05221a51c0ce64c8b2c80c77
From: <sip:[hidden email]>;tag=fXOFq8lR0
Call-ID: ~ZXdrlKV5y
CSeq: 21 REGISTER
Contact: <sip:HIDEPHONE@10.1.1.76;transport=udp>;expires=1200;+sip.instance="<urn:uuid:95e9806e-55a7-4e9e-9a02-edd53df05bd5>"
P-Associated-Uri: <sip:[hidden email]>
Service-Route: <sip:195.239.174.100:5060;transport=udp;lr>
Content-Length: 0
Authentication-Info: qop=auth,rspauth="dc3dc2803cd81990429f1b84450eb79d",cnonce="gew1odPKW2RmjPzS",nc=00000001

2018-02-02 21:15:32:284 belle-sip-message-channel [0x2269ee0] [672] bytes
parsed
2018-02-02 21:15:32:284 belle-sip-message-Found transaction matching
response.
2018-02-02 21:15:32:284 belle-sip-message-Updating auth context for ream
[sip.beeline.ru] next nonce is going to be [(null)]
linphonec[1423]: segfault at 0 ip b72039eb sp bfec529c error 4 in
libc-2.26.so[b70bb000+1cd000]




--
Andrey Kovalev

_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers


--
Dr. Sebastian Gunreben
Gronewaldstr. 50, 53639 Königswinter
[hidden email]
mob: 0160-99585126
tel: 02244-9185672
gpg: 0xC2DF4FDD

_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers

signature.asc (465 bytes) Download Attachment