[asterisk-bugs] [JIRA] (ASTERISK-23799) SIGSEGV due to alignment bug on arm when destination callgroup/pickupgroup is set

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed May 28 08:59:45 CDT 2014


Rusty Newton created ASTERISK-23799:
---------------------------------------

             Summary: SIGSEGV due to alignment bug on arm when destination callgroup/pickupgroup is set
                 Key: ASTERISK-23799
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23799
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/General, Core/Channels
    Affects Versions: 11.9.0
         Environment: buildroot 2014.02, Marvel Kirkwood, linux 3.10
            Reporter: Peter Katzmann
            Severity: Critical


I encountered an SIGSEGV during testing of asterisk 11 on a Kirkwood arm platform. I tracked it down to the case that it will only occur if the user has pickupgroup/callgroup set,
The problem does not exist with asterisk 1.8 .

During deeper examination  i figured out the it seems a alignment probel, becuase when i set /proc/cpu/alignment to 2 i get plenty of misalignment message but no SIGSEGV

The relevant exception part is:

{noformat}
Core was generated by `asterisk -g'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00088d00 in ast_channel_inherit_variables (parent=0xb6514774, child=0xb61a74) at channel.c:6527
6527                                    AST_LIST_INSERT_TAIL(ast_channel_varshead(child), newvar, entries);
#0  0x00088d00 in ast_channel_inherit_variables (parent=0xb6514774, child=0xb61a74) at channel.c:6527
        vartype = 2
        current = 0xaf3f20
        newvar = 0xb76ad8
        varname = <optimized out>
        __PRETTY_FUNCTION__ = "ast_channel_inherit_variables"
#1  0xb54938d8 in ?? ()
No symbol table info available.
#2  0xb54938d8 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
{noformat}



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



More information about the asterisk-bugs mailing list