If you compile with clang directly in the source tree, without using the ports, is it
still crashing?
Looking at the backtraces, the SIGBUS can happen only if there is a strict alignment
requirement of 8 bytes, which is probably not ensured for all members of structures. There
is typically an alignment to 4 bytes, which is a more common requirement, rather than 8
bytes.
If the 8 bytes alignment is not the strict requirement, then there can be some paging
error like suggested in the wikipedia article linked above. This is probably more like OS
configuration/restriction on dealing with no available memory cases.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1021#issuecomment-285673736