GNU bug report logs - #47641
linphone segfaults when receiving messages from a Linphone account

Previous Next

Package: guix;

Reported by: Christopher Howard <christopher <at> librehacker.com>

Date: Wed, 7 Apr 2021 17:18:02 UTC

Severity: normal

To reply to this bug, email your comments to 47641 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#47641; Package guix. (Wed, 07 Apr 2021 17:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Howard <christopher <at> librehacker.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 07 Apr 2021 17:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: Ongoing difficulities after linphoneqt -> linphone-desktop transition
Date: Wed, 07 Apr 2021 09:16:58 -0800
[Message part 1 (text/plain, inline)]
Hi, I've been having difficulties since the the recent linphone
updates. I know some work has been done on the package in recent
commits, so just a few minutes ago I ran

guix time-machine -- environment --ad-hoc linphone-desktop

christopher <at> theoden ~ [env]$ guix describe
Generation 14	Apr 01 2021 13:21:37	(current)
  guix 079a7f2
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 079a7f2c65c51da7b53b0e5ef44c516dc8eaab6e

The two problems I get running the program are:

(1) I get non-descript error icons when I send messages to contacts
(though the messages seem to get through)

(2) old messages do not appear when I start the application

(3) messages from others appear in notifications window but not in the
app screen

(4) sometimes get a segfault upon replying to a message

Ideally I should test with a clean linphone profile but haven't gotten
to it yet due to being busy.

For now I am using an inferior to run linphoneqt from commit
3f1b2bd322b6cdba99a43d08e5e8464f7424cbc5, which still works great.

--
Christopher Howard
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#47641; Package guix. (Wed, 07 Apr 2021 17:21:01 GMT) Full text and rfc822 format available.

Message #8 received at 47641 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: 47641 <at> debbugs.gnu.org
Subject: Ongoing difficulities after linphoneqt -> linphone-desktop transition
Date: Wed, 07 Apr 2021 09:20:16 -0800
[Message part 1 (text/plain, inline)]
My system information:

christopher <at> theoden ~$ neofetch --stdout
christopher <at> theoden 
------------------- 
OS: Guix System 079a7f2c65c51da7b53b0e5ef44c516dc8eaab6e x86_64 
Host: OptiPlex 9020 00 
Kernel: 5.11.11-gnu 
Uptime: 1 day, 20 hours, 39 mins 
Packages: 92 (guix-system), 102 (guix-user) 
Shell: bash 5.0.16 
Resolution: 1920x1080 
DE: GNOME 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: kitty 
CPU: Intel i5-4570 (4) @ 3.600GHz 
GPU: Intel HD Graphics 
GPU: AMD ATI Radeon HD 8490 / R5 235X OEM 
Memory: 3393MiB / 7871MiB

--
Christopher Howard
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#47641; Package guix. (Mon, 19 Apr 2021 02:44:01 GMT) Full text and rfc822 format available.

Message #11 received at 47641 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Christopher Howard <christopher <at> librehacker.com>
Cc: rg <at> raghavgururajan.name, 47641 <at> debbugs.gnu.org
Subject: Re: bug#47641: Ongoing difficulities after linphoneqt ->
 linphone-desktop transition
Date: Sun, 18 Apr 2021 22:43:10 -0400
Hi Christopher!

Christopher Howard <christopher <at> librehacker.com> writes:

> Hi, I've been having difficulties since the the recent linphone
> updates. I know some work has been done on the package in recent
> commits, so just a few minutes ago I ran
>
> guix time-machine -- environment --ad-hoc linphone-desktop
>
> christopher <at> theoden ~ [env]$ guix describe
> Generation 14	Apr 01 2021 13:21:37	(current)
>   guix 079a7f2
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: 079a7f2c65c51da7b53b0e5ef44c516dc8eaab6e
>
> The two problems I get running the program are:
>
> (1) I get non-descript error icons when I send messages to contacts
> (though the messages seem to get through)
>
> (2) old messages do not appear when I start the application
>
> (3) messages from others appear in notifications window but not in the
> app screen
>
> (4) sometimes get a segfault upon replying to a message

Hmm, it seems the problem strictly has to do with messaging?  That would
explain how my testing of the application failed to reveal it as I don't
currently used that feature (I use it for SIP calls only).

Is someone else equipped and able to reproduce it?  Perhaps Raghav
(CC'd)?

Sorry for the breakage!

Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#47641; Package guix. (Thu, 22 Apr 2021 05:44:02 GMT) Full text and rfc822 format available.

Message #14 received at 47641 <at> debbugs.gnu.org (full text, mbox):

From: Raghav Gururajan <rg <at> raghavgururajan.name>
To: 47641 <at> debbugs.gnu.org
Cc: Christopher Howard <christopher <at> librehacker.com>,
 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: Re: bug#47641: Ongoing difficulities after linphoneqt ->
 linphone-desktop transition
Date: Thu, 22 Apr 2021 01:43:37 -0400
[Message part 1 (text/plain, inline)]
Hi Christopher and Maxim,

>> Hi, I've been having difficulties since the the recent linphone
>> updates. I know some work has been done on the package in recent
>> commits, so just a few minutes ago I ran
>>
>> guix time-machine -- environment --ad-hoc linphone-desktop
>>
>> christopher <at> theoden ~ [env]$ guix describe
>> Generation 14	Apr 01 2021 13:21:37	(current)
>>    guix 079a7f2
>>      repository URL: https://git.savannah.gnu.org/git/guix.git
>>      branch: master
>>      commit: 079a7f2c65c51da7b53b0e5ef44c516dc8eaab6e
>>
>> The two problems I get running the program are:
>>
>> (1) I get non-descript error icons when I send messages to contacts
>> (though the messages seem to get through)
>>
>> (2) old messages do not appear when I start the application
>>
>> (3) messages from others appear in notifications window but not in the
>> app screen
>>
>> (4) sometimes get a segfault upon replying to a message

Thanks for the report.

Would you be able to help me with the testing, by test-messaging me over 
linphone, so that I can try some fixes? My address is raghavgururajan at 
sip.linphone.org

> Hmm, it seems the problem strictly has to do with messaging?  That would
> explain how my testing of the application failed to reveal it as I don't
> currently used that feature (I use it for SIP calls only).

Same here.

> Is someone else equipped and able to reproduce it?  Perhaps Raghav
> (CC'd)?

I'll try to fix it.

Regards,
RG.

[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#47641; Package guix. (Thu, 22 Apr 2021 17:32:02 GMT) Full text and rfc822 format available.

Message #17 received at 47641 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: Raghav Gururajan <rg <at> raghavgururajan.name>, 47641 <at> debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: Re: bug#47641: Ongoing difficulities after linphoneqt ->
 linphone-desktop transition
Date: Thu, 22 Apr 2021 09:31:38 -0800
[Message part 1 (text/plain, inline)]
Raghav, I have sent you an instant message from my account. I am
currently still using the old version of linphone.

Christopher

-----Original Message-----
From: Raghav Gururajan <rg <at> raghavgururajan.name>
To: 47641 <at> debbugs.gnu.org
Cc: Christopher Howard <christopher <at> librehacker.com>, Maxim Cournoyer <
maxim.cournoyer <at> gmail.com>
Subject: Re: bug#47641: Ongoing difficulities after linphoneqt ->
linphone-desktop transition
Date: Thu, 22 Apr 2021 01:43:37 -0400

Hi Christopher and Maxim,
> > Hi, I've been having difficulties since the the recent
> > linphoneupdates. I know some work has been done on the package in
> > recentcommits, so just a few minutes ago I ran
> > guix time-machine -- environment --ad-hoc linphone-desktop
> > christopher <at> theoden ~ [env]$ guix describeGeneration 14	Apr 01
> > 2021 13:21:37	(current)   guix 079a7f2     repository URL: 
> > https://git.savannah.gnu.org/git/guix.git
> >      branch: master     commit:
> > 079a7f2c65c51da7b53b0e5ef44c516dc8eaab6e
> > The two problems I get running the program are:
> > (1) I get non-descript error icons when I send messages to
> > contacts(though the messages seem to get through)
> > (2) old messages do not appear when I start the application
> > (3) messages from others appear in notifications window but not in
> > theapp screen
> > (4) sometimes get a segfault upon replying to a message

Thanks for the report.
Would you be able to help me with the testing, by test-messaging me
over linphone, so that I can try some fixes? My address is
raghavgururajan at sip.linphone.org
> Hmm, it seems the problem strictly has to do with messaging?  That
> wouldexplain how my testing of the application failed to reveal it as
> I don'tcurrently used that feature (I use it for SIP calls only).

Same here.
> Is someone else equipped and able to reproduce it?  Perhaps
> Raghav(CC'd)?

I'll try to fix it.
Regards,RG.

[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#47641; Package guix. (Fri, 23 Apr 2021 04:24:01 GMT) Full text and rfc822 format available.

Message #20 received at 47641 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Raghav Gururajan <rg <at> raghavgururajan.name>
Cc: Christopher Howard <christopher <at> librehacker.com>, 47641 <at> debbugs.gnu.org
Subject: Re: bug#47641: Ongoing difficulities after linphoneqt ->
 linphone-desktop transition
Date: Fri, 23 Apr 2021 00:22:54 -0400
Hello,

Raghav Gururajan <rg <at> raghavgururajan.name> writes:

[...]

>> Hmm, it seems the problem strictly has to do with messaging?  That would
>> explain how my testing of the application failed to reveal it as I don't
>> currently used that feature (I use it for SIP calls only).
>
> Same here.
>
>> Is someone else equipped and able to reproduce it?  Perhaps Raghav
>> (CC'd)?
>
> I'll try to fix it.

Thank you!

Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#47641; Package guix. (Wed, 05 May 2021 15:49:01 GMT) Full text and rfc822 format available.

Message #23 received at 47641 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Raghav Gururajan <rg <at> raghavgururajan.name>
Cc: Christopher Howard <christopher <at> librehacker.com>, 47641 <at> debbugs.gnu.org
Subject: Re: bug#47641: Ongoing difficulities after linphoneqt ->
 linphone-desktop transition
Date: Wed, 05 May 2021 11:48:15 -0400
retitle 47641 linphone-qt has problems with text messaging using linphone accounts
thanks

Hello,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> Hello,
>
> Raghav Gururajan <rg <at> raghavgururajan.name> writes:
>
> [...]
>
>>> Hmm, it seems the problem strictly has to do with messaging?  That would
>>> explain how my testing of the application failed to reveal it as I don't
>>> currently used that feature (I use it for SIP calls only).
>>
>> Same here.
>>
>>> Is someone else equipped and able to reproduce it?  Perhaps Raghav
>>> (CC'd)?
>>
>> I'll try to fix it.

I could test sending text messages via a SIP account, and it seemed to
work fine.  I'm retitling this issue to reflect that it apparently
affects only Linphone accounts.

Thanks,

Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#47641; Package guix. (Fri, 14 May 2021 16:05:01 GMT) Full text and rfc822 format available.

Message #26 received at 47641 <at> debbugs.gnu.org (full text, mbox):

From: Raghav Gururajan <rg <at> raghavgururajan.name>
To: Christopher Howard <christopher <at> librehacker.com>,
 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 47641 <at> debbugs.gnu.org
Subject: Re: bug#47641: Ongoing difficulities after linphoneqt ->
 linphone-desktop transition
Date: Fri, 14 May 2021 12:04:38 -0400
[Message part 1 (text/plain, inline)]
Hi Christopher,

> Raghav, I have sent you an instant message from my account. I am 
> currently still using the old version of linphone.

I didn't receive it. Could you please retry?

Linphone Account: raghavgururajan <at> sip.linphone.org

Regards,
RG.
[OpenPGP_0x5F5816647F8BE551.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#47641; Package guix. (Fri, 14 May 2021 17:56:02 GMT) Full text and rfc822 format available.

Message #29 received at 47641 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Raghav Gururajan <rg <at> raghavgururajan.name>
Cc: Christopher Howard <christopher <at> librehacker.com>, 47641 <at> debbugs.gnu.org
Subject: Re: bug#47641: Ongoing difficulities after linphoneqt ->
 linphone-desktop transition
Date: Fri, 14 May 2021 13:55:31 -0400
Hello Raghav,

Raghav Gururajan <rg <at> raghavgururajan.name> writes:

> Hi Christopher,
>
>> Raghav, I have sent you an instant message from my account. I am
>> currently still using the old version of linphone.
>
> I didn't receive it. Could you please retry?
>
> Linphone Account: raghavgururajan <at> sip.linphone.org
>
> Regards,
> RG.

I've also sent some messages to you, using a freshly created
apteryx@@sip.linphone.org.  The logs seem to suggest it's happening:

--8<---------------cut here---------------start------------->8---
[13:53:20:103][Info]Core:linphone: channel [0x37c5440] [332] bytes parsed
[13:53:20:103][Info]Core:linphone: Found transaction matching response.
[13:53:20:103][Info]Core:linphone: Changing [client] [MESSAGE] transaction [0x4a410f0], from state [TRYING] to [PROCEEDING]
[13:53:25:319][Warning]Core:linphone: Unable to get event from invalid key.
[13:53:25:319][Info]Core:linphone: Linphone core [0x2e3af50] notified [message_sent]
[13:53:25:319][Info]Core:linphone: MainDb::addEvent() of type 5
[13:53:25:539][Info]Core:linphone: Skipping top route of initial route-set because same as request-uri
[13:53:25:539][Info]Core:linphone: linphone_core_find_auth_info(): returning auth info username=apteryx, realm=sip.linphone.org
[13:53:25:539][Info]Core:linphone: AuthStack::authFound() for Username[apteryx];Userid[];Realm[sip.linphone.org];Domain[sip.linphone.org];Algorithm[];
[13:53:25:539][Info]Core:linphone: Auth info found for [apteryx] realm [sip.linphone.org]
[13:53:25:539][Info]Core:linphone: Changing [client] [MESSAGE] transaction [0x446bd50], from state [INIT] to [TRYING]
[13:53:25:539][Info]Core:linphone: channel [0x37c5440]: message sent to [TLS://sip.linphone.org:5223], size: [821] bytes
MESSAGE sip:raghavgururajan <at> sip.linphone.org SIP/2.0
Via: SIP/2.0/TLS 192.168.10.15:36146;branch=z9hG4bK.nvSrPVAQ-;rport
From: <sip:apteryx <at> sip.linphone.org>;tag=sNabHMonG
To: sip:raghavgururajan <at> sip.linphone.org
CSeq: 20 MESSAGE
Call-ID: FmJ5VPXB0Z
Max-Forwards: 70
Supported: replaces, outbound, gruu
Date: Fri, 14 May 2021 17:53:25 GMT
Content-Type: text/plain
Content-Length: 12
User-Agent: Linphone Desktop/4.2.5 (Linux 5.11.15-gnu, Qt 5.15.2) LinphoneCore/4.4.0
Proxy-Authorization:  Digest realm="sip.linphone.org", nonce="ODZJ5AAAAAD+5i4ZAAAmBjdV5PQAAAAA", algorithm=SHA-256, opaque="+GNywA==", username="apteryx",  uri="sip:raghavgururajan <at> sip.linphone.org", response="ac0ce24d9d9c3785afa9a60395dc5b968b64527b2e4ff85c95b8cf3324849f65", cnonce="8kDLLCPfecEsYnUM", nc=0000000b, qop=auth

another test
[13:53:25:716][Info]Core:linphone: Chat message 0x4b85670: moving from Idle to InProgress
[13:53:25:716][0x2946a00][Info]components/sip-addresses/SipAddressesModel.cpp:427: Handle message sent.
[13:53:25:716][Info]Core:linphone: QT: components/sip-addresses/SipAddressesModel.cpp:427: Handle message sent.
[13:53:25:716][0x2946a00][Info]components/sip-addresses/SipAddressesModel.cpp:485: "Update (`sip:raghavgururajan <at> sip.linphone.org`, `sip:apteryx <at> sip.linphone.org`) from chat message."
[13:53:25:716][Info]Core:linphone: QT: components/sip-addresses/SipAddressesModel.cpp:485: "Update (`sip:raghavgururajan <at> sip.linphone.org`, `sip:apteryx <at> sip.linphone.org`) from chat message."
[13:53:25:725][Info]Core:linphone: channel [0x37c5440]: received [332] new bytes from [TLS://sip.linphone.org:5223]:
SIP/2.0 100 Trying
Via: SIP/2.0/TLS 192.168.10.15:36146;branch=z9hG4bK.nvSrPVAQ-;rport=36146;received=205.236.230.44
From: <sip:apteryx <at> sip.linphone.org>;tag=sNabHMonG
To: <sip:raghavgururajan <at> sip.linphone.org>
Call-ID: FmJ5VPXB0Z
CSeq: 20 MESSAGE
Server: Flexisip/2.0.4-14-ga52de420 (sofia-sip-nta/2.0)
Content-Length: 0


[13:53:25:727][Info]Core:linphone: channel [0x37c5440] [332] bytes parsed
[13:53:25:727][Info]Core:linphone: Found transaction matching response.
[13:53:25:727][Info]Core:linphone: Changing [client] [MESSAGE] transaction [0x446bd50], from state [TRYING] to [PROCEEDING]
[13:53:30:657][Info]Core:linphone: channel [0x37c5440]: received [277] new bytes from [TLS://sip.linphone.org:5223]:
SIP/2.0 202 Accepted
Via: SIP/2.0/TLS 192.168.10.15:36146;branch=z9hG4bK.nvSrPVAQ-;rport=36146;received=205.236.230.44
From: <sip:apteryx <at> sip.linphone.org>;tag=sNabHMonG
To: <sip:raghavgururajan <at> sip.linphone.org>
Call-ID: FmJ5VPXB0Z
CSeq: 20 MESSAGE
Content-Length: 0


[13:53:30:659][Info]Core:linphone: channel [0x37c5440] [277] bytes parsed
[13:53:30:659][Info]Core:linphone: Found transaction matching response.
[13:53:30:659][Info]Core:linphone: Changing [client] [MESSAGE] transaction [0x446bd50], from state [PROCEEDING] to [COMPLETED]
[13:53:30:659][Info]Core:linphone: Chat message 0x4b85670: moving from InProgress to Delivered
[13:53:30:866][Info]Core:linphone: Changing [client] [MESSAGE] transaction [0x446bd50], from state [COMPLETED] to [TERMINATED]
[13:53:30:866][Info]Core:linphone: Client MESSAGE transaction [0x446bd50] terminated
[13:53:30:866][Info]Core:linphone: Unhandled transaction terminated [0x446bd50]
--8<---------------cut here---------------end--------------->8---

Did you receive anything?

I can't seem to reproduce the crash seen by Christopher.

Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#47641; Package guix. (Thu, 20 May 2021 18:21:02 GMT) Full text and rfc822 format available.

Message #32 received at 47641 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: Raghav Gururajan <rg <at> raghavgururajan.name>, Maxim Cournoyer
 <maxim.cournoyer <at> gmail.com>
Cc: 47641 <at> debbugs.gnu.org
Subject: Re: bug#47641: Ongoing difficulities after linphoneqt ->
 linphone-desktop transition
Date: Thu, 20 May 2021 10:20:14 -0800
[Message part 1 (text/plain, inline)]
Just sent another message a few minutes ago. Clients shows all messages
are sent, but have not been seen by recipient.

-----Original Message-----
From: Raghav Gururajan <rg <at> raghavgururajan.name>
To: Christopher Howard <christopher <at> librehacker.com>, Maxim Cournoyer <
maxim.cournoyer <at> gmail.com>
Cc: 47641 <at> debbugs.gnu.org
Subject: Re: bug#47641: Ongoing difficulities after linphoneqt ->
linphone-desktop transition
Date: Fri, 14 May 2021 12:04:38 -0400

Hi Christopher,
> Raghav, I have sent you an instant message from my account. I am
> currently still using the old version of linphone.

I didn't receive it. Could you please retry?
Linphone Account: raghavgururajan <at> sip.linphone.org

Regards,RG.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#47641; Package guix. (Mon, 30 Aug 2021 00:38:01 GMT) Full text and rfc822 format available.

Message #35 received at 47641 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Christopher Howard <christopher <at> librehacker.com>
Cc: Raghav Gururajan <rg <at> raghavgururajan.name>, 47641 <at> debbugs.gnu.org
Subject: Re: bug#47641: Ongoing difficulities after linphoneqt ->
 linphone-desktop transition
Date: Sun, 29 Aug 2021 20:36:47 -0400
Hi Christopher,

Christopher Howard <christopher <at> librehacker.com> writes:

> Just sent another message a few minutes ago. Clients shows all messages
> are sent, but have not been seen by recipient.
>
> -----Original Message-----
> From: Raghav Gururajan <rg <at> raghavgururajan.name>
> To: Christopher Howard <christopher <at> librehacker.com>, Maxim Cournoyer <
> maxim.cournoyer <at> gmail.com>
> Cc: 47641 <at> debbugs.gnu.org
> Subject: Re: bug#47641: Ongoing difficulities after linphoneqt ->
> linphone-desktop transition
> Date: Fri, 14 May 2021 12:04:38 -0400
>
> Hi Christopher,
>> Raghav, I have sent you an instant message from my account. I am
>> currently still using the old version of linphone.
>
> I didn't receive it. Could you please retry?
> Linphone Account: raghavgururajan <at> sip.linphone.org

This issue seems to have gone stale; is it still a problem for you?
Were you able to follow-up with Raghav's requests for further testing?

Thanks,

Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#47641; Package guix. (Mon, 30 Aug 2021 00:40:01 GMT) Full text and rfc822 format available.

Message #38 received at 47641 <at> debbugs.gnu.org (full text, mbox):

From: Raghav Gururajan <rg <at> raghavgururajan.name>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>,
 Christopher Howard <christopher <at> librehacker.com>
Cc: 47641 <at> debbugs.gnu.org
Subject: Re: bug#47641: Ongoing difficulities after linphoneqt ->
 linphone-desktop transition
Date: Sun, 29 Aug 2021 20:39:33 -0400
[Message part 1 (text/plain, inline)]
Hi Maxim!

> This issue seems to have gone stale; is it still a problem for you?
> Were you able to follow-up with Raghav's requests for further testing?

We tried messaging each other and the issue is reproducible. I tried 
many ways locally but couldn't fix it. I'll keep trying.

Ideas are welcome. :)

Regards,
RG.
[OpenPGP_0x5F5816647F8BE551.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#47641; Package guix. (Mon, 30 Aug 2021 03:56:02 GMT) Full text and rfc822 format available.

Message #41 received at 47641 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: Raghav Gururajan <rg <at> raghavgururajan.name>, Maxim Cournoyer
 <maxim.cournoyer <at> gmail.com>
Cc: 47641 <at> debbugs.gnu.org
Subject: Re: bug#47641: Ongoing difficulities after linphoneqt ->
 linphone-desktop transition
Date: Sun, 29 Aug 2021 19:55:34 -0800
I've kept RG on my list of contacts but have never received any messages from him, and he doesn't seem to get mine.

I still have my system frozen to use the older working version of linphone, through the trick of using an inferior in my manifest file. I have not recently tested anything newer than that.

-- 
Christopher Howard
Gemini capsule: gemini://gem.librehacker.com
Web version: https://proxy.vulpes.one/gemini/gem.librehacker.com


On Sun, 2021-08-29 at 20:39 -0400, Raghav Gururajan wrote:
> Hi Maxim!
> 
> > This issue seems to have gone stale; is it still a problem for you?
> > Were you able to follow-up with Raghav's requests for further testing?
> 
> We tried messaging each other and the issue is reproducible. I tried 
> many ways locally but couldn't fix it. I'll keep trying.
> 
> Ideas are welcome. :)
> 
> Regards,
> RG.





Information forwarded to bug-guix <at> gnu.org:
bug#47641; Package guix. (Mon, 30 Aug 2021 20:25:02 GMT) Full text and rfc822 format available.

Message #44 received at 47641 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Christopher Howard <christopher <at> librehacker.com>
Cc: Raghav Gururajan <rg <at> raghavgururajan.name>, 47641 <at> debbugs.gnu.org
Subject: Re: bug#47641: Ongoing difficulities after linphoneqt ->
 linphone-desktop transition
Date: Mon, 30 Aug 2021 16:24:03 -0400
Hello,

Christopher Howard <christopher <at> librehacker.com> writes:

> I've kept RG on my list of contacts but have never received any
> messages from him, and he doesn't seem to get mine.
>
> I still have my system frozen to use the older working version of
> linphone, through the trick of using an inferior in my manifest
> file. I have not recently tested anything newer than that.

Thank you (both) for the update.  IIRC the issue occurs only when using
Linphone accounts (not generic SIP ones), am I correct?

If so, I'll at least edit the title.

If we can't get to the bottom of it, perhaps upstream (Belladone) could
be of help?  If there are no obvious error messages, there's not much to
troubleshoot.  It's their software and their service, hopefully they
have a clue! :-)

Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#47641; Package guix. (Tue, 31 Aug 2021 15:42:02 GMT) Full text and rfc822 format available.

Message #47 received at 47641 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Christopher Howard <christopher <at> librehacker.com>
Cc: Raghav Gururajan <rg <at> raghavgururajan.name>, 47641 <at> debbugs.gnu.org
Subject: Re: bug#47641: Ongoing difficulities after linphoneqt ->
 linphone-desktop transition
Date: Tue, 31 Aug 2021 11:41:41 -0400
Hello Christopher,

Christopher Howard <christopher <at> librehacker.com> writes:

> I've kept RG on my list of contacts but have never received any messages from him, and he doesn't seem to get mine.
>
> I still have my system frozen to use the older working version of linphone, through the trick of using an inferior in my manifest file. I have not recently tested anything newer than that.

I've shared my private account privately with you, we can do some tests
and see if there are any error messages appearing from the console, if
you are available.

Thanks,

Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#47641; Package guix. (Wed, 01 Sep 2021 12:35:01 GMT) Full text and rfc822 format available.

Message #50 received at 47641 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Christopher Howard <christopher <at> librehacker.com>
Cc: Raghav Gururajan <rg <at> raghavgururajan.name>,
 GNU Debbugs <control <at> debbugs.gnu.org>, 47641 <at> debbugs.gnu.org
Subject: Re: bug#47641: Ongoing difficulities after linphoneqt ->
 linphone-desktop transition
Date: Wed, 01 Sep 2021 08:33:57 -0400
retitle 47641 linphone segfaults when receiving messages from a Linphone account
thanks

Hello,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> Hello Christopher,
>
> Christopher Howard <christopher <at> librehacker.com> writes:
>
>> I've kept RG on my list of contacts but have never received any
>> messages from him, and he doesn't seem to get mine.
>>
>> I still have my system frozen to use the older working version of
>> linphone, through the trick of using an inferior in my manifest
>> file. I have not recently tested anything newer than that.
>
> I've shared my private account privately with you, we can do some tests
> and see if there are any error messages appearing from the console, if
> you are available.

When I checked Linphone's output today, it had crashed, with the
following message:

--8<---------------cut here---------------start------------->8---
[...]

[18:34:28:135][Info]Core:linphone: channel [0x2a9a6f0] [334] bytes parsed
[18:34:28:135][Info]Core:linphone: Found transaction matching response.
[18:34:28:135][Info]Core:linphone: Changing [client] [MESSAGE] transaction [0x426f760], from state [TRYING] to [PROCEEDING]
[18:34:28:334][Info]Core:linphone: channel [0x2a9a6f0]: received [278] new bytes from [TLS://sip.linphone.org:5223]:
SIP/2.0 200 Ok
Via: SIP/2.0/TLS 192.168.10.15:59384;received=66.158.153.61;branch=z9hG4bK.2eNQCqmQS;rport=59384
From: <sip:ANONYMIZED1 <at> sip.linphone.org>;tag=dZU47iIcu
To: <sip:ANONYMIZED2 <at> sip.linphone.org>;tag=qAHFPPW
Call-ID: fAx3bYNPwa
CSeq: 20 MESSAGE
Content-Length: 0

[18:34:28:335][Info]Core:linphone: channel [0x2a9a6f0] [278] bytes parsed
[18:34:28:335][Info]Core:linphone: Found transaction matching response.
[18:34:28:335][Info]Core:linphone: Changing [client] [MESSAGE] transaction [0x426f760], from state [PROCEEDING] to [COMPLETED]
[18:34:28:337][Error]Core:linphone: Unhandled generic exception in MainDb::getEventFromKey: `std::bad_cast`.
[18:34:28:337][Error]Core:linphone: cannot find eventLog for db key [0x3a5bdb0] associated to message [0x3a5bd70]
[18:34:28:338][Error]Core:linphone: Unhandled generic exception in MainDb::getEventFromKey: `std::bad_cast`.
Segmentation fault
--8<---------------cut here---------------end--------------->8---


When attempting to restart Linphone, the crash persists, like so:

--8<---------------cut here---------------start------------->8---
[08:24:53:002][Info]Core:linphone: Changing [server] [NOTIFY] transaction [0x234a7f0], from state [INIT] to [TRYING]
[08:24:53:002][Info]Core:linphone: belle_sip_object_to_string(): temporary buffer is too short while doing to_string() for belle_sip_multipart_body_handler_t, retrying
[08:24:53:002][Error]Core:linphone: body handler [0x2feabc0] transfered only [2085] bytes while [4106] were expected
[08:24:53:002][Info]Core:linphone: Notify presence for list 0x13bce40
[08:24:53:006][Info]Core:linphone: QT: components/sip-addresses/SipAddressesModel.cpp:340: "Update presence of `sip:raghavgururajan <at> sip.linphone.org`: 1."
[08:24:53:006][Info]Core:linphone: Linphone core [0x1094240] notified [notify_presence_received_for_uri_or_tel]
[08:24:53:006][Info]Core:linphone: Linphone core [0x1094240] notified [notify_presence_received]
[08:24:53:006][Info]Core:linphone: Changing [server] [NOTIFY] transaction [0x234a7f0], from state [TRYING] to [COMPLETED]
[08:24:53:006][Info]Core:linphone: channel [0x1abbb70]: message sent to [TLS://sip.linphone.org:5223], size: [478] bytes
SIP/2.0 200 Ok
Via: SIP/2.0/TLS sip6.linphone.org:5223;received=54.37.202.229;rport;branch=z9hG4bK.0cj7De7HvSgcry9BNc0Z595SSc
Via: SIP/2.0/TCP 127.0.0.1:5065;branch=z9hG4bK.45hjmVnWu;rport=54254
From: <sips:rls <at> sip.linphone.org>;tag=BUE0Wu8
To: <sip:ANONYMIZED1 <at> sip.linphone.org>;tag=SrhwXqDiL
Call-ID: E4D8HWHxNd
CSeq: 111 NOTIFY
User-Agent: Linphone Desktop/4.2.5 (Linux 5.13.12-gnu, Qt 5.15.2) LinphoneCore/4.4.0
Supported: replaces, outbound, gruu
Content-Length: 0


[08:24:53:006][Info]Core:linphone: Dialog [0x2bf2fa0]: now updated by transaction [0x234a7f0].
[08:24:53:006][Info]Core:linphone: Garbage collecting unowned object of type belle_sip_header_content_type_t
[08:24:53:011][Info]Core:linphone: channel [0x1abbb70]: received [334] new bytes from [TLS://sip.linphone.org:5223]:
SIP/2.0 100 Trying
Via: SIP/2.0/TLS 192.168.10.15:59386;branch=z9hG4bK.68gzFFTF3;rport=59386;received=66.158.153.61
From: <sip:ANONYMIZED1 <at> sip.linphone.org>;tag=oSC4-HTmj
To: <sip:ANONYMIZED2 <at> sip.linphone.org>
Call-ID: pvi-2leZ~y
CSeq: 20 MESSAGE
Server: Flexisip/2.1.0-alpha-160-g988d5ffe (sofia-sip-nta/2.0)
Content-Length: 0


[08:24:53:013][Info]Core:linphone: channel [0x1abbb70] [334] bytes parsed
[08:24:53:013][Info]Core:linphone: Found transaction matching response.
[08:24:53:013][Info]Core:linphone: Changing [client] [MESSAGE] transaction [0x2beb760], from state [TRYING] to [PROCEEDING]
[08:24:53:013][Info]Core:linphone: Changing [server] [NOTIFY] transaction [0x234a7f0], from state [COMPLETED] to [TERMINATED]
[08:24:53:013][Info]Core:linphone: Server NOTIFY transaction [0x234a7f0] terminated
[08:24:53:013][Info]Core:linphone: Unhandled transaction terminated [0x234a7f0]
[08:24:53:032][Info]Core:linphone: channel [0x1abbb70]: received [334] new bytes from [TLS://sip.linphone.org:5223]:
SIP/2.0 100 Trying
Via: SIP/2.0/TLS 192.168.10.15:59386;branch=z9hG4bK.E49iyRRDc;rport=59386;received=66.158.153.61
From: <sip:ANONYMIZED1 <at> sip.linphone.org>;tag=j~CfQFRgo
To: <sip:ANONYMIZED2 <at> sip.linphone.org>
Call-ID: JvrRbU9Aqy
CSeq: 20 MESSAGE
Server: Flexisip/2.1.0-alpha-160-g988d5ffe (sofia-sip-nta/2.0)
Content-Length: 0


[08:24:53:033][Info]Core:linphone: channel [0x1abbb70] [334] bytes parsed
[08:24:53:033][Info]Core:linphone: Found transaction matching response.
[08:24:53:033][Info]Core:linphone: Changing [client] [MESSAGE] transaction [0x2cecf10], from state [TRYING] to [PROCEEDING]
[08:24:53:052][Info]Core:linphone: channel [0x1abbb70]: received [278] new bytes from [TLS://sip.linphone.org:5223]:
SIP/2.0 200 Ok
Via: SIP/2.0/TLS 192.168.10.15:59386;received=66.158.153.61;branch=z9hG4bK.68gzFFTF3;rport=59386
From: <sip:ANONYMIZED1 <at> sip.linphone.org>;tag=oSC4-HTmj
To: <sip:ANONYMIZED2 <at> sip.linphone.org>;tag=44ddfWh
Call-ID: pvi-2leZ~y
CSeq: 20 MESSAGE
Content-Length: 0


[08:24:53:053][Info]Core:linphone: channel [0x1abbb70] [278] bytes parsed
[08:24:53:053][Info]Core:linphone: Found transaction matching response.
[08:24:53:053][Info]Core:linphone: Changing [client] [MESSAGE] transaction [0x2beb760], from state [PROCEEDING] to [COMPLETED]
[08:24:53:054][Error]Core:linphone: Unhandled generic exception in MainDb::getEventFromKey: `std::bad_cast`.
[08:24:53:054][Error]Core:linphone: cannot find eventLog for db key [0x13be7d0] associated to message [0x13be790]
[08:24:53:054][Error]Core:linphone: Unhandled generic exception in MainDb::getEventFromKey: `std::bad_cast`.
--8<---------------cut here---------------end--------------->8---

It should make it not too difficult to reproduce it in GDB and gather a
backtrace.

Maxim




Changed bug title to 'linphone segfaults when receiving messages from a Linphone account' from 'Ongoing difficulities after linphoneqt -> linphone-desktop transition' Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 01 Sep 2021 12:35:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#47641; Package guix. (Wed, 01 Sep 2021 17:01:01 GMT) Full text and rfc822 format available.

Message #55 received at 47641 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Christopher Howard <christopher <at> librehacker.com>
Cc: Raghav Gururajan <rg <at> raghavgururajan.name>,
 GNU Debbugs <control <at> debbugs.gnu.org>, 47641 <at> debbugs.gnu.org
Subject: Re: bug#47641: linphone segfaults when receiving messages from a
 Linphone account
Date: Wed, 01 Sep 2021 13:00:04 -0400
Hello,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

[...]

> When I checked Linphone's output today, it had crashed, with the
> following message:
>
> [...]
>
> [18:34:28:335][Info]Core:linphone: channel [0x2a9a6f0] [278] bytes parsed
> [18:34:28:335][Info]Core:linphone: Found transaction matching response.
> [18:34:28:335][Info]Core:linphone: Changing [client] [MESSAGE] transaction [0x426f760], from state [PROCEEDING] to [COMPLETED]
> [18:34:28:337][Error]Core:linphone: Unhandled generic exception in MainDb::getEventFromKey: `std::bad_cast`.
> [18:34:28:337][Error]Core:linphone: cannot find eventLog for db key [0x3a5bdb0] associated to message [0x3a5bd70]
> [18:34:28:338][Error]Core:linphone: Unhandled generic exception in MainDb::getEventFromKey: `std::bad_cast`.
> Segmentation fault

I've opened an issue with upstream:
https://gitlab.linphone.org/BC/public/linphone-desktop/-/issues/28.

Maxim




This bug report was last modified 3 years and 286 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.