[asterisk-bugs] [JIRA] (ASTERISK-25099) Asterisk segfaults randomly

Robert Moss (JIRA) noreply at issues.asterisk.org
Mon May 18 11:00:32 CDT 2015


Robert Moss created ASTERISK-25099:
--------------------------------------

             Summary: Asterisk segfaults randomly
                 Key: ASTERISK-25099
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25099
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: General
    Affects Versions: 11.17.1
         Environment: [Amazon AWS] Linux  3.14.23-22.44.amzn1.x86_64 #1 SMP Tue Nov 11 23:07:48 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
            Reporter: Robert Moss


After running for a while, sometimes 5 minutes, sometimes a few hours, but typically multiple times per day, asterisk segfaults, with no hint as to why in the logs. I've checked many backtraces, they are almost all in malloc. One was in another libc module, so i reinstall glibc and haven't seen that one since.

The most recent SF'd in free()

I have uploaded the backtrace here: http://hackrr.com/files/backtrace518b.txt
I have uploaded the debug log here:
http://hackrr.com/files/mydebug.log
and here:
http://hackrr.com/files/mydebug.log.gz
Here is a screenshot of the segfault in the terminal (same tty that started amportal)
http://hackrr.com/files/segfault.png

I am using freepbx, however I compiled asterisk myself, with-srtp, with-uuid, with-ssl, and with-crypto. This is for WebRTC, everything works fine except for the segfaults. Yes, I deleted /usr/lib/asterisk/modules before installing the new version.

Sorry sip/rtp debugging are not in this file, if you think it will help I can do it again. I did it with other core dumps without BETTER_BACKTRACES and DONT_OPTIMIZE, but there was no useful info there, and i forgot to enable this morning with those flags setup.



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



More information about the asterisk-bugs mailing list