[asterisk-bugs] [JIRA] (ASTERISK-21665) 11.4 rc1 Crash on debian/sparc

Walter Doekes (JIRA) noreply at issues.asterisk.org
Wed Apr 24 02:23:38 CDT 2013


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

Walter Doekes commented on ASTERISK-21665:
------------------------------------------

That's unexpected. I expected cond to land on an 8 byte boundary. Which it didn't (0x2f0b34).

Google hints that the cause is misalignment of the &cond variable. I thought that placing it first would cause the alloc to happen on an 8 byte boundary. And I'd find it odd that the mem alloc of the struct would not land on said boundary. That leaves me with.. gcc reordering the fields?

Please try this next patch.
                
> 11.4 rc1 Crash on debian/sparc
> ------------------------------
>
>                 Key: ASTERISK-21665
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21665
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 11.3.0, 11.4.0
>         Environment: Debian 6.0.7 sparc64
>            Reporter: Jeremy Kister
>            Severity: Critical
>         Attachments: modules.conf, sparc_alignment_issues.diff
>
>
> Asterisk 11.4.0-rc1 immediately dumps core with error "Bus Error"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list