[asterisk-bugs] [JIRA] (ASTERISK-21665) 11.X Crash on debian/sparc with SIGBUS, Bus Error
Walter Doekes (JIRA)
noreply at issues.asterisk.org
Fri Nov 22 07:50:03 CST 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-21665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=212140#comment-212140 ]
Walter Doekes commented on ASTERISK-21665:
------------------------------------------
A quick google search turned up this today:
http://gcc.gnu.org/onlinedocs/gcc/Interoperation.html
{quote}
On Solaris, the malloc function in the libmalloc.a library may allocate memory that is only 4 byte aligned. Since GCC on the SPARC assumes that doubles are 8 byte aligned, this may result in a fatal signal if doubles are stored in memory allocated by the libmalloc.a library. The solution is to not use the libmalloc.a library. Use instead malloc and related functions from libc.a; they do not have this problem.
{quote}
That might be something to go on when I have time to play around with it.
> 11.X 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, 11.5.0
> Environment: Debian 6 & 7, sparc64
> Reporter: Jeremy Kister
> Assignee: Walter Doekes
> Severity: Critical
> Attachments: core_stop_now_backtrace.txt, 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