[asterisk-bugs] [JIRA] (ASTERISK-21665) 11.X Crash on debian/sparc with SIGBUS, Bus Error
Walter Doekes (JIRA)
noreply at issues.asterisk.org
Mon Sep 2 03:33:03 CDT 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-21665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=209816#comment-209816 ]
Walter Doekes commented on ASTERISK-21665:
------------------------------------------
I did some poking last friday. And the cause of the 'core stop now' crash was a problem with allocation at the start. First when freeing that memory it crashes.
The problem -- which I cannot explain at all -- is that malloc(3) starts returning 4-byte aligned addresses after a while. And that obviously causes trouble.
I added a couple of assertions (*) that alloc'ed memory should be 8-byte aligned, and it always trips on the same allocation during initialization. Changing size of the allocation didn't help.
(*) With abort() so you can debug the surroundings with gdb. For some reason running asterisk under GDB refuses to work (something with libthread-debug stuff).
> 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