pjproject alignment traps

GV
Gerard van den Bosch
Mon, May 14, 2018 4:19 AM

Hello,

I have compiled pjproject 2.7.2 for ARMV5 with openembedded using the
following recipe:
https://pastebin.com/qpQ57Q3F

However when I am using the pjproject libraries or the pjsua sample app I
keep getting alignment traps.

Alignment trap: pjsua-arm-oe-li (894) PC=0x4ed14088 Instr=0xe1c420f0
Address=0x000526dc FSR 0x813

It seems to keep working because the fixup option (2) has been enabled in
/proc/cpu/alignment.

However among all the binaries and libraries on my system the pjproject
binaries and libraries are the only thing generating these alignment traps.

Does anyone have a pointer what this could be?

Cheers,
Gerard

Hello, I have compiled pjproject 2.7.2 for ARMV5 with openembedded using the following recipe: https://pastebin.com/qpQ57Q3F However when I am using the pjproject libraries or the pjsua sample app I keep getting alignment traps. Alignment trap: pjsua-arm-oe-li (894) PC=0x4ed14088 Instr=0xe1c420f0 Address=0x000526dc FSR 0x813 It seems to keep working because the fixup option (2) has been enabled in /proc/cpu/alignment. However among all the binaries and libraries on my system the pjproject binaries and libraries are the only thing generating these alignment traps. Does anyone have a pointer what this could be? Cheers, Gerard
TB
Thomas Brown
Mon, May 14, 2018 3:38 PM

Hello Gerard,

Sounds like bad pointers (no pun intended).  Check with a debugger.

Cheers

From: pjsip [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Gerard van den Bosch
Sent: May 14, 2018 12:19 AM
To: pjsip list
Subject: [pjsip] pjproject alignment traps

Hello,

I have compiled pjproject 2.7.2 for ARMV5 with openembedded using the following recipe:

https://pastebin.com/qpQ57Q3F

However when I am using the pjproject libraries or the pjsua sample app I keep getting alignment traps.

Alignment trap: pjsua-arm-oe-li (894) PC=0x4ed14088 Instr=0xe1c420f0 Address=0x000526dc FSR 0x813

It seems to keep working because the fixup option (2) has been enabled in /proc/cpu/alignment.

However among all the binaries and libraries on my system the pjproject binaries and libraries are the only thing generating these alignment traps.

Does anyone have a pointer what this could be?

Cheers,

Gerard

Hello Gerard, Sounds like bad pointers (no pun intended). Check with a debugger. Cheers From: pjsip [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Gerard van den Bosch Sent: May 14, 2018 12:19 AM To: pjsip list Subject: [pjsip] pjproject alignment traps Hello, I have compiled pjproject 2.7.2 for ARMV5 with openembedded using the following recipe: https://pastebin.com/qpQ57Q3F However when I am using the pjproject libraries or the pjsua sample app I keep getting alignment traps. Alignment trap: pjsua-arm-oe-li (894) PC=0x4ed14088 Instr=0xe1c420f0 Address=0x000526dc FSR 0x813 It seems to keep working because the fixup option (2) has been enabled in /proc/cpu/alignment. However among all the binaries and libraries on my system the pjproject binaries and libraries are the only thing generating these alignment traps. Does anyone have a pointer what this could be? Cheers, Gerard