On 10/23/14 05:28, Marino Mileti wrote:
Hi guys,
I've cross compiled Kamailio (4.1.6) for ARM (Wandboard-IMX6). Everything
seems works fine, but when I try to enable rtpproxy-ng module and Alignment
trap error occurred just during rtpp_test (exchanging ping-ponge message
betweek rtpproxy and rtpproxy-ng module of Kamailio)
rtpengine[2258]: Got valid command from 127.0.0.1:50470: ping - { "command":
"ping" }
rtpengine[2258]: Returning to SIP proxy: d6:result4:ponge
user.err kernel: [66832.254887] Alignment trap: not handling instruction
edc30b08 at [<40b3a130>]
user.alert kernel: [66832.262030] Unhandled fault: alignment exception
(0x801) at 0x4033a782
local0.err kamailio: ERROR: <core> [daemonize.c:307]: daemonize(): Main
process exited before writing to pipe
In x86 architecture same packages works correctly without any problem.
Which version of rtpengine is that? There are some places in the code
where misaligned pointers might be a problem and one such instance was
fixed recently. If this is the most recent version, I can try to fix the
pointer alignment if you can figure out where exactly it happens.
cheers