Crash while stamping call (CallsRecordStore)
This happened with account A (encryption forced) and account B (no encryption), but I suspect this also happens when there are no common codecs could be negotiated.
------------------------------------------------------------------------
recv 1270 bytes from tls/[54.37.202.229]:5223 at 13:17:40.706340:
------------------------------------------------------------------------
INVITE sips:fortysixandtwo@185.162.223.58:17512;user=phone SIP/2.0
Via: SIP/2.0/TLS sip6.linphone.org:5223;rport;branch=z9hG4bK.5XQt6ySmaXUZSSUNHFZKN1egyB
Via: SIP/2.0/TLS 192.168.1.207:37653;branch=z9hG4bK5Hm3N5U2meKye;received=185.162.223.58;rport=17513
Record-Route: <sips:sip6.linphone.org:5223;lr>
Max-Forwards: 69
From: <sips:devrtz-test@sip.linphone.org>;tag=j67v64Q7XtKeB
To: <sips:fortysixandtwo@sip.linphone.org>
Call-ID: ba08d64b-5606-123b-03b4-228c5622905a
CSeq: 965596512 INVITE
Contact: "Calls @ L5" <sips:devrtz-test@185.162.223.58:17513;user=phone>
User-Agent: calls sofia-sip/1.12.11devel
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE
Supported: timer, 100rel, replaces, gruu, outbound
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 425
v=0
o=- 4719492257097456198 8786707509597202819 IN IP4 10.83.234.97
s=-
c=IN IP4 54.37.202.229
t=0 0
a=nortpproxy:yes
m=audio 24806 RTP/SAVP 9 8 0 3
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:LduSyJsGyrk1cxpP6LCX6fLqr6vAmAbVQZqLJJv+
a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:jEzQ2gNfZtwTliPN8wgHjmRPRggiHYVkrhxqDvY3
a=rtcp:24807
------------------------------------------------------------------------
send 526 bytes to tls/[54.37.202.229]:5223 at 13:17:40.706535:
------------------------------------------------------------------------
SIP/2.0 100 Trying
Via: SIP/2.0/TLS sip6.linphone.org:5223;rport=5223;branch=z9hG4bK.5XQt6ySmaXUZSSUNHFZKN1egyB;received=54.37.202.229
Via: SIP/2.0/TLS 192.168.1.207:37653;branch=z9hG4bK5Hm3N5U2meKye;received=185.162.223.58;rport=17513
Record-Route: <sips:sip6.linphone.org:5223;lr>
From: <sips:devrtz-test@sip.linphone.org>;tag=j67v64Q7XtKeB
To: <sips:fortysixandtwo@sip.linphone.org>
Call-ID: ba08d64b-5606-123b-03b4-228c5622905a
CSeq: 965596512 INVITE
User-Agent: calls sofia-sip/1.12.11devel
Content-Length: 0
------------------------------------------------------------------------
15:17:40.7067 CallsSipOrigin[126372]: DEBUG: incoming call INVITE: 100 Trying from sips:devrtz-test@sip.linphone.org
15:17:40.7078 CallsDBusManager[126372]: DEBUG: Exporting 0x5555577e4180 at /org/gnome/Calls/Call/1
15:17:40.7080 CallsRinger[126372]: DEBUG: stop: state: inactive
15:17:40.7082 CallsSipOrigin[126372]: DEBUG: The call state has changed: 100 Trying
15:17:40.7082 CallsSipOrigin[126372]: DEBUG: Remote SDP was set to:
v=0
o=- 4719492257097456198 8786707509597202819 IN IP4 10.83.234.97
s=-
c=IN IP4 54.37.202.229
t=0 0
a=nortpproxy:yes
m=audio 24806 RTP/SAVP 9 8 0 3
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:LduSyJsGyrk1cxpP6LCX6fLqr6vAmAbVQZqLJJv+
a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:jEzQ2gNfZtwTliPN8wgHjmRPRggiHYVkrhxqDvY3
a=rtcp:24807
15:17:40.7082 CallsSipOrigin[126372]: DEBUG: Remote peer (null) wants to talk using encryption, but not allowed by local policy
15:17:40.7082 CallsSipCall[126372]: DEBUG: Hanging up incoming call
15:17:40.7083 CallsSipMediaPipeline[126372]: DEBUG: Element rtp-udp-src has changed state from NULL to READY
15:17:40.7083 CallsSipMediaPipeline[126372]: DEBUG: Element rtcp-udp-src has changed state from NULL to READY
send 682 bytes to tls/[54.37.202.229]:5223 at 13:17:40.708337:
------------------------------------------------------------------------
SIP/2.0 480 Temporarily Unavailable
Via: SIP/2.0/TLS sip6.linphone.org:5223;rport=5223;branch=z9hG4bK.5XQt6ySmaXUZSSUNHFZKN1egyB;received=54.37.202.229
Via: SIP/2.0/TLS 192.168.1.207:37653;branch=z9hG4bK5Hm3N5U2meKye;received=185.162.223.58;rport=17513
From: <sips:devrtz-test@sip.linphone.org>;tag=j67v64Q7XtKeB
To: <sips:fortysixandtwo@sip.linphone.org>;tag=XrB0NUmjX7Dtj
Call-ID: ba08d64b-5606-123b-03b4-228c5622905a
CSeq: 965596512 INVITE
User-Agent: calls sofia-sip/1.12.11devel
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE
Supported: timer, 100rel, replaces, gruu, outbound
Content-Length: 0
------------------------------------------------------------------------
15:17:40.7084 CallsSipOrigin[126372]: DEBUG: The call state has changed: 480 Call state
15:17:40.7084 CallsSipOrigin[126372]: DEBUG: Call terminated. Deactivating media pipeline
15:17:40.7084 CallsSipMediaPipeline[126372]: DEBUG: Stopping media pipeline
15:17:40.7085 CallsRinger[126372]: DEBUG: stop: state: inactive
15:17:40.7085 CallsRecordStore[126372]: DEBUG: Stamping call `end'
gnome-calls: ../nptl/pthread_mutex_lock.c:81: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
15:17:40.7099 CallsSipMediaPipeline[126372]: DEBUG: Element rtcp-udp-src has changed state from READY to NULL
15:17:40.7100 CallsSipMediaPipeline[126372]: DEBUG: Element rtp-udp-src has changed state from READY to NULL
recv 384 bytes from tls/[54.37.202.229]:5223 at 13:17:40.724530:
------------------------------------------------------------------------
ACK sips:fortysixandtwo@185.162.223.58:17512;user=phone SIP/2.0
Via: SIP/2.0/TLS sip6.linphone.org:5223;rport;branch=z9hG4bK.5XQt6ySmaXUZSSUNHFZKN1egyB
Max-Forwards: 69
From: <sips:devrtz-test@sip.linphone.org>;tag=j67v64Q7XtKeB
To: <sips:fortysixandtwo@sip.linphone.org>;tag=XrB0NUmjX7Dtj
Call-ID: ba08d64b-5606-123b-03b4-228c5622905a
CSeq: 965596512 ACK
Content-Length: 0
------------------------------------------------------------------------
Thread 9 "gnome-calls" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffcffff640 (LWP 126385)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
49 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1 0x00007ffff6e6e546 in __GI_abort () at abort.c:79
#2 0x00007ffff6e6e42f in __assert_fail_base
(fmt=0x7ffff6fe4df8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7ffff703a6b5 "mutex->__data.__owner == 0", file=0x7ffff703a682 "../nptl/pthread_mutex_lock.c", line=81, function=<optimized out>) at assert.c:92
#3 0x00007ffff6e7d222 in __GI___assert_fail
(assertion=assertion@entry=0x7ffff703a6b5 "mutex->__data.__owner == 0", file=file@entry=0x7ffff703a682 "../nptl/pthread_mutex_lock.c", line=line@entry=81, function=function@entry=0x7ffff703a820 <__PRETTY_FUNCTION__.0> "__pthread_mutex_lock") at assert.c:101
#4 0x00007ffff702f090 in __GI___pthread_mutex_lock (mutex=<optimized out>) at ../nptl/pthread_mutex_lock.c:81
#5 0x00007ffff6428397 in () at /lib/x86_64-linux-gnu/libsqlite3.so.0
#6 0x00007ffff642a3ca in sqlite3_bind_int64 () at /lib/x86_64-linux-gnu/libsqlite3.so.0
#7 0x00007ffff71e22b3 in gom_command_execute () at /lib/x86_64-linux-gnu/libgom-1.0.so.0
#8 0x00007ffff71e8ada in gom_resource_do_save () at /lib/x86_64-linux-gnu/libgom-1.0.so.0
#9 0x00007ffff71e8d65 in () at /lib/x86_64-linux-gnu/libgom-1.0.so.0
#10 0x00007ffff71de39b in () at /lib/x86_64-linux-gnu/libgom-1.0.so.0
#11 0x00007ffff7e6d59d in g_thread_proxy (data=0x5555558f5b00) at ../../../glib/gthread.c:827
#12 0x00007ffff702cd80 in start_thread (arg=0x7fffcffff640) at pthread_create.c:481
#13 0x00007ffff6f4676f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95