[asterisk-bugs] [JIRA] (ASTERISK-21806) Segfault in CHAN_SIP - in _int_malloc while in __ast_cc_config_params_init

Walter Doekes (JIRA) noreply at issues.asterisk.org
Thu Jul 4 08:05:03 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=207690#comment-207690 ] 

Walter Doekes commented on ASTERISK-21806:
------------------------------------------

{noformat}
02:57:00.754658 IP (tos 0x0, ttl 64, id 10432, offset 0, flags [+], proto UDP (17), length 1500)
    192.168.10.202.5060 > 192.168.10.5.5060: SIP, length: 1472
        SUBSCRIBE sip:71009 at 192.168.10.5 SIP/2.0
        Via: SIP/2.0/UDP 192.168.10.202:5060
        To: <sip:71009 at 192.168.10.5>
        From: <sip:71009 at 192.168.10.5>;tag=388386-1659482-1930578-11200674-11471770-11742866-12013962-122831058-125541154-128251250-130951346-133661442-136361538-139071634-141781730-144481826-147181922-149
882018-152582114-155282210-157982306-160682402-163382498-166082594-168782690-171492786-174192882-176892978-179593074-182293170-184993266-187703362-190403458-193103554-195803650-198503746-1101203842-1103913
938-1106614034-1109314130-1112014226-1114714322-1117414418-1120124514-1122824610-1125524706-1128224802-1130924898-1133624994-1136335090-1139035186-1141735282-1144435378-1147145474-1149845570-1152545666-115
5255762-1157955858-1160655954-1163366050-1166066146-1168766242-1171476338-1174176434-1176876530-1179586626-1182286722-1184986818-1187696914-1190397010-1193097106-1195807202-1198517298-1201227394-1203937490
-1206647586-1209357682-1212067778-1214777874-1217487970-1220198066-1222908162-1225618258-1228328354-1231028450-1233738546-1236448642-1239158738-1241868834-1244578930-1247289026-1249999122-1252709218-125541
9314-1258129410-1260839506-1263559602-1266269698-1268979794-1271689890-1274399986-12771010082-12798110178-12825110274-12852210370-12879310466-12906410562-12933510658-12960510754-12987610850-13014610946-130
41611042-13068611138-13095611234-13122711330-13149711426-13176711522-13203711618-13230811714-13257811810-13284811906-13311812002-1333881209[|sip]
{noformat}

Could you get another pcap *with* fragments?

http://wjd.nu/notes/2011#pcap-capture-fragments-udp
                
> Segfault in CHAN_SIP - in _int_malloc while in __ast_cc_config_params_init
> --------------------------------------------------------------------------
>
>                 Key: ASTERISK-21806
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21806
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 1.8.15.0
>         Environment: CPU: Atom D525, RAM 4GB, Fedora Linux, Kernel 2.6.43.8-1.i686
> 2 Aastra endpoints, 1 Polycom IP-650, 1 96 port SIP to analog gateway
> Asterisk 1.8.15-cert2
>            Reporter: Christopher
>            Assignee: Rusty Newton
>         Attachments: backtrace-0703-1958.txt, core-dump-maxx-052213.txt, sip-2013-07-03--19-57-00.pcap, valgrind-052213-1530.txt, valgrind-0523-1545-no-malloc.txt, valgrind-good-052213-1930.txt
>
>
> Segfault occurs whether system is idle or is in-use. it will crash within a day or two even if 0 calls are made on it.  running under safe_asterisk, results in multiple crashes within a few minutes until eventually system ends up in a MUTEX lock. over 3 gigs of RAM available and plenty of disk space at time of first crash. Possibly related to the 96 port gateway producing 96 SIP registrations all at once?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list