[asterisk-bugs] [JIRA] (ASTERISK-24754) Asterisk 13 crashes every few minutes and does not generate core

Private Name (JIRA) noreply at issues.asterisk.org
Wed Feb 4 14:49:35 CST 2015


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

Private Name commented on ASTERISK-24754:
-----------------------------------------

I am using SVN version 13 and the same issue happens in Fedora 20 and Centos7, the later is a brand-new installation

Please contact me and I can give you the credential so you can see with your own eyes
Sample:
 [CC] chan_sip.c -> chan_sip.o
In file included from /usr/include/inttypes.h:25:0,
                 from /usr/src1/asterisk/include/asterisk/compat.h:29,
                 from /usr/src1/asterisk/include/asterisk.h:27,
                 from chan_sip.c:222:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
   [LD] chan_sip.o sip/security_events.o sip/dialplan_functions.o sip/reqresp_parser.o sip/utils.o sip/config_parser.o sip/route.o -> chan_sip.so
   [CC] cdr_mysql.c -> cdr_mysql.o
In file included from /usr/include/inttypes.h:25:0,
                 from /usr/src1/asterisk/include/asterisk/compat.h:29,
                 from /usr/src1/asterisk/include/asterisk.h:27,
                 from cdr_mysql.c:43:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
   [LD] cdr_mysql.o -> cdr_mysql.so
   [CC] format_mp3.c -> format_mp3.o
In file included from /usr/include/inttypes.h:25:0,
                 from /usr/src1/asterisk/include/asterisk/compat.h:29,
                 from /usr/src1/asterisk/include/asterisk.h:27,
                 from format_mp3.c:35:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^


> Asterisk 13 crashes every few minutes and does not generate core
> ----------------------------------------------------------------
>
>                 Key: ASTERISK-24754
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24754
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 13.1.1
>         Environment: Fedora 20
>            Reporter: Private Name
>            Assignee: Private Name
>            Severity: Critical
>
> I get the error below every few minutes, but there is no core generated.
> I compiled Asterisk with don't optimize, and better traces.
> Asterisk command line is
> 27193 ?        Sl     0:11 /usr/sbin/asterisk -gf
> and my ulimits are
> core file size          (blocks, -c) unlimited
> data seg size           (kbytes, -d) unlimited
> scheduling priority             (-e) 0
> file size               (blocks, -f) unlimited
> pending signals                 (-i) 1048576
> max locked memory       (kbytes, -l) unlimited
> max memory size         (kbytes, -m) unlimited
> open files                      (-n) 1048576
> pipe size            (512 bytes, -p) 8
> POSIX message queues     (bytes, -q) 819200
> real-time priority              (-r) 0
> stack size              (kbytes, -s) 8192
> cpu time               (seconds, -t) unlimited
> max user processes              (-u) unlimited
> virtual memory          (kbytes, -v) unlimited
> file locks                      (-x) unlimited
> etwork packet size (bytes): 4096
> Clock Time (ms.) Total     : 3280   Average : (264.0 rows per sec.)
> Feb  2 16:45:46 fedora-1 kernel: [ 7321.477271] asterisk[11196]: segfault at aa00a0280a1 ip 00000aa00a0280a1 sp 00007f9fe7644830 error 14
> Feb  2 16:46:27 fedora-1 kernel: [ 7362.309150] asterisk[14930]: segfault at 2a2aa0a220a2 ip 00002a2aa0a220a2 sp 00007f7d6bc15250 error 14
> Feb  2 16:46:59 fedora-1 kernel: [ 7393.858324] asterisk[15287]: segfault at 554401414011 ip 0000554401414011 sp 00007fe308fab870 error 14
> Feb  2 16:49:00 fedora-1 kernel: [ 7514.636854] asterisk[27595]: segfault at 550551501010 ip 0000550551501010 sp 00007f249353a250 error 14
> Feb  2 16:55:11 fedora-1 kernel: [ 7886.065473] asterisk[26490]: segfault at 550051511011 ip 0000550051511011 sp 00007f874b89d250 error 14
> Feb  2 17:01:00 fedora-1 kernel: [ 8234.490093] asterisk[20864]: segfault at 554541541011 ip 0000554541541011 sp 00007fc631ef1830 error 14
> Feb  2 17:08:10 fedora-1 kernel: [ 8664.265411] asterisk[21557]: segfault at 555000100011 ip 0000555000100011 sp 00007f70a1b8e250 error 14
> Feb  2 17:08:59 fedora-1 kernel: [ 8712.908734] asterisk[25960]: segfault at 554511355011 ip 0000554511355011 sp 00007f6e8ccfa830 error 14
> Feb  2 17:12:10 fedora-1 kernel: [ 8904.312829] asterisk[13835]: segfault at 555054145011 ip 0000555054145011 sp 00007f6e734d1250 error 14
> Feb  2 17:13:05 fedora-1 kernel: [ 8959.770402] asterisk[17369]: segfault at 555501500011 ip 0000555501500011 sp 00007fd4a4a98f50 error 14



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



More information about the asterisk-bugs mailing list