[asterisk-bugs] [JIRA] (ASTERISK-20792) Segfault during calloc, core dump shows logging string at requested pointer address

Emiel Suilen (JIRA) noreply at issues.asterisk.org
Thu Dec 13 09:01:45 CST 2012


Emiel Suilen created ASTERISK-20792:
---------------------------------------

             Summary: Segfault during calloc, core dump shows logging string at requested pointer address
                 Key: ASTERISK-20792
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20792
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: General
         Environment: CentOS 6.3 (Final)
Kernel 2.6.32-279.9.1el6.x86_64
4 Gb memory, single Intel Xeon E6520
            Reporter: Emiel Suilen
            Severity: Critical


In an environment with many calls (>4k calls/24 hours)  and full logging turned on, our customer experiences occasional crashes. A backtrace of the core dump shows this happens during channel creation, and that the pointer used for the channel is overwriting a string used by the logger.

Attached are the backtrace, full backtrace, and an examination of the relevant frame in GDB, which shows that the allocated pointer already holds information, that starts several blocks earlier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list