[asterisk-bugs] [JIRA] (ASTERISK-21665) 11.4 rc1 Crash on debian/sparc with SIGBUS, Bus Error

Walter Doekes (JIRA) noreply at issues.asterisk.org
Wed Jun 19 09:36:03 CDT 2013


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

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

For the record:
{noformat}
root at t1000:/usr/local/src/sparcbus# cat voidsize.c 
int main() {
        return sizeof(void*);
}
{noformat}
{noformat}
root at t1000:/usr/local/src/sparcbus# ./voidsize; echo $?
4
root at t1000:/usr/local/src/sparcbus# uname -a
Linux t1000 3.2.0-4-sparc64-smp #1 SMP Debian 3.2.41-2+deb7u2 sparc64 GNU/Linux
{noformat}

Notice how the void* is sized 4 and aligned on 4 byte boundaries, even though this is a 64 bit system (requiring 8-byte aligned mutexes). That's what makes {{sparc_alignment_issues_3.diff}} necessary.
                
> 11.4 rc1 Crash on debian/sparc with SIGBUS, Bus Error
> -----------------------------------------------------
>
>                 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
>            Assignee: Walter Doekes
>            Severity: Critical
>         Attachments: modules.conf, sparc_alignment_issues_2.diff, sparc_alignment_issues_3.diff, 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