[asterisk-bugs] [JIRA] (ASTERISK-23135) Crash - segfault in ast_channel_hangupcause_set - probably introduced in 11.7.0

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Mar 28 13:54:40 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan updated ASTERISK-23135:
-----------------------------------

    Target Release Version/s: 11.9.0

> Crash - segfault in ast_channel_hangupcause_set - probably introduced in 11.7.0
> -------------------------------------------------------------------------------
>
>                 Key: ASTERISK-23135
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23135
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General, Channels/General
>    Affects Versions: 11.7.0
>         Environment: Ubuntu 12.04.3
>            Reporter: OK
>            Assignee: Richard Mudgett
>            Severity: Critical
>      Target Release: 1.8.27.0, 11.8.0, 11.9.0
>
>         Attachments: backtrace2.txt, dump.txt
>
>
> Asterisk goes down with segfault message
> {noformat}
> [1710042.449224] asterisk[26863]: segfault at 9f0 ip 00000000004984ff sp 00007ff1788ed810 error 6 in asterisk[400000+233000]
> {noformat}
> {noformat}
> Program terminated with signal 11, Segmentation fault.
> #0  0x00000000004984ff in ast_channel_hangupcause_set (chan=0x0, value=58) at channel_internal_api.c:580
> 580             chan->hangupcause = value;
> (gdb) bt
> #0  0x00000000004984ff in ast_channel_hangupcause_set (chan=0x0, value=58) at channel_internal_api.c:580
> #1  0x00007ff17ca7417b in handle_response_invite (p=0x7ff0b81d2f98, resp=200, rest=0x7ff1380b89d4 "OK", req=0x7ff1788ee2a0, seqno=102) at chan_sip.c:22821
> #2  0x00007ff17ca79a2a in handle_response (p=0x7ff0b81d2f98, resp=200, rest=0x7ff1380b89d4 "OK", req=0x7ff1788ee2a0, seqno=102) at chan_sip.c:23820
> #3  0x00007ff17ca8d538 in handle_incoming (p=0x7ff0b81d2f98, req=0x7ff1788ee2a0, addr=0x7ff1788eed10, recount=0x7ff1788ee250, nounlock=0x7ff1788ee254) at chan_sip.c:28137
> #4  0x00007ff17ca8ebe9 in handle_request_do (req=0x7ff1788ee2a0, addr=0x7ff1788eed10) at chan_sip.c:28447
> #5  0x00007ff17ca8e7d2 in sipsock_read (id=0x7ff138000f70, fd=10, events=1, ignore=0x0) at chan_sip.c:28378
> #6  0x0000000000501f9a in ast_io_wait (ioc=0x1552f30, howlong=576) at io.c:292
> #7  0x00007ff17ca90808 in do_monitor (data=0x0) at chan_sip.c:28976
> #8  0x000000000059f064 in dummy_start (data=0x15848d0) at utils.c:1162
> #9  0x00007ff1c53a6e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
> #10 0x00007ff1c64ec3fd in clone () from /lib/x86_64-linux-gnu/libc.so.6
> #11 0x0000000000000000 in ?? ()
> {noformat}
> Full Backtrace attached
> Also in all cases the last messages in log file are:
> {noformat}
> [Jan 12 08:56:55] WARNING[26863][C-000001f4] chan_sip.c: Ignoring audio media offer because port number is zero
> [Jan 12 08:56:55] WARNING[26863][C-000001f4] chan_sip.c: Failing due to no acceptable offer found
> {noformat}
> [Jan 12 13:01:02] Asterisk 11.7.0 built by root @ mcall-aster on a x86_64 running Linux on 2014-01-11 13:59:57 UTC



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list