Bug#921266: linphone: Segfault and crash with "error 4 in libc-2.28.so" on password entry

Alf alf.debianfan at gmx.de
Sun Apr 14 19:20:05 BST 2019


Am 13.04.19 um 14:30 schrieb Bernhard Übelacker:
> Hello Alf,
>
> Am 12.04.19 um 22:10 schrieb Alf:
>> I am prepared to test your patch as soon as I get a binary of the
>> patched lib.
>
> please find attached some commands to build the package
> with the patches in question by yourself.
>

Hello Bernhard,

!! Success !!

It works as expected - no more crashes, dialing out and accepting
incoming calls, all works fine.

I think, the problem was that Telekon/t-online does not supply a nonce
after initial registering. At the beginning a nonce is sent once or
twice to stay compatible with the old procedure (before transition to
BNG). I found some figures indicating that some 15% of Users are still
not converted, while 85% are on "BNG", which uses authentication by
hardware (the port on the DSLAM).

Here part of the debug output as logged by linphone with your patches,
see the line with
>>> "error: ... [nonce]not found.. <<<<
which I suppose caused to the crash.
....
message: 2019-04-14 19:01:54:880 channel [0x55e37bc52800]: keep alive
sent to [UDP://tel.t-online.de:5060]
message: 2019-04-14 19:02:04:909 channel [0x55e37bc52800]: keep alive
sent to [UDP://tel.t-online.de:5060]
message: 2019-04-14 19:02:08:614 linphone_core_find_auth_info():
returning auth info username=061234567818, realm=tel.t-online.de
message: 2019-04-14 19:02:08:614 Auth info found for [061234567818]
realm [tel.t-online.de]
error: 2019-04-14 19:02:08:614 parameter [nonce]not found for header
[authorization]
message: 2019-04-14 19:02:08:614 Transaction [0x55e37bb11cb0] deleted
message: 2019-04-14 19:02:08:615 Changing [client] [REGISTER]
transaction [0x55e37bd3ec00], from state [INIT] to [TRYING]
message: 2019-04-14 19:02:08:615 channel [0x55e37bc52800]: message sent
to [UDP://tel.t-online.de:5060], size: [571] bytes
REGISTER sip:tel.t-online.de SIP/2.0
Via: SIP/2.0/UDP 192.168.33.12:5060;branch=z9hG4bK.GfqS~Yviw;rport
From: <sip:061234567818 at tel.t-online.de>;tag=PdBaldvNc
To: sip:061234567818 at tel.t-online.de
CSeq: 22 REGISTER
Call-ID: kNvTHMUU1E
Max-Forwards: 70
Supported: replaces, outbound
.....

If you need more information, please let me know, I can generate a debug
log over a longer time period including incoming and outgoing calls.

Again myany thanks for your great help and patience.
Kind regards,
Alf



More information about the Pkg-voip-maintainers mailing list