It appears this crashed is caused by a missing required parameter in the
MAA,  specifically SIP-Number-Auth-Items.  So this is more a note of a
bug in the parser of this type of diameter message.

Thanks,
Trey

-----Original Message-----From: Trey Ormsbee
<[email protected]>
To: [email protected]
<[email protected]>
Subject: [Project Clearwater] homestead core dump on MAA
Date: Thu, 14 Jul 2016 11:59:37 -0400

I am getting a coredump on the latest release of homestead with an MAA.

excerpt is here:
14-07-2016 15:42:02.637 UTC Debug diameterstack.cpp:888: Processing a
received diameter message
14-07-2016 15:42:02.637 UTC Debug diameterstack.cpp:901: Got existing
trail ID: 2
14-07-2016 15:42:02.637 UTC Debug diameterstack.cpp:969: Raising
correlating marker with diameter session ID =
homestead01.example.com;1468510914;2
14-07-2016 15:42:02.637 UTC Debug freeDiameter: Peer timeout reset to 30
seconds (+/- 2)
14-07-2016 15:42:02.637 UTC Debug freeDiameter: 'XXX.XXX.XXX.100' in
state 'STATE_OPEN' waiting for next event.
14-07-2016 15:42:02.637 UTC Debug freeDiameter: Iterating on rules of
AVP: 'Vendor-Specific-Application-Id'.
14-07-2016 15:42:02.637 UTC Debug freeDiameter: Iterating on rules of
AVP: 'SIP-Digest-Authenticate'.
14-07-2016 15:42:02.637 UTC Debug freeDiameter: Iterating on rules of
AVP: 'SIP-Auth-Data-Item'.
14-07-2016 15:42:02.637 UTC Debug freeDiameter: Iterating on rules of
COMMAND: '3GPP/Multimedia-Auth-Answer'.
14-07-2016 15:42:02.637 UTC Debug freeDiameter: Calling callback
registered when query was sent (0x45b880, 0x7f6a8c01a440)
14-07-2016 15:42:02.637 UTC Verbose diameterstack.cpp:1097: Got Diameter
response of type 303 - calling callback on transaction 0x7f6a8c01a440
14-07-2016 15:42:02.637 UTC Debug handlers.cpp:343: Received
Multimedia-Auth answer with result code 2001
14-07-2016 15:42:02.637 UTC Error freeDiameter: ERROR: Invalid parameter
'(((avp) && (((struct msg_avp_chain *)(avp))->type == MSG_AVP) &&
(((struct avp *)(avp))->avp_eyec == (0x11355467))) && pdata)', 22

Signal 11 caught

Basic stack dump:
/usr/share/clearwater/bin/homestead[0x492bbd]
/usr/share/clearwater/bin/homestead[0x493d7d]
/usr/share/clearwater/bin/homestead[0x4a9cec]
/lib/x86_64-linux-gnu/libc.so.6(+0x36cb0)[0x7f6acf2c2cb0]
/usr/share/clearwater/bin/homestead[0x4534f5]
/usr/share/clearwater/bin/homestead[0x4778f9]
/usr/share/clearwater/bin/homestead[0x47d8a1]
/usr/share/clearwater/bin/homestead[0x45b911]
/usr/share/clearwater/homestead/lib/libfdcore.so.6(+0x30656)[0x7f6ad1811656]
/usr/share/clearwater/homestead/lib/libfdcore.so.6(+0x3225c)[0x7f6ad181325c]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8184)[0x7f6ad083c184]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f6acf38637d]




Attached is the full startup and error,  any ideas what may cause this?
I cannot attach a capture/core as it has private data in it. 
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

Reply via email to