Bug 6994

Summary: lzo generates unaligned memory access
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Holger Freyther <holger>
Component: coreAssignee: Saul Wold <sgw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: 1.7   
Target Milestone: 1.7.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Holger Freyther 2014-11-22 15:08:18 UTC
When running OpenVPN with the newer liblzo2 package I do see a lot of alignment errors when OpenVPN is handling network traffic. 

Program received signal SIGBUS, Bus error.
0xb6ff2bb8 in _lzo_config_check () from /usr/lib/liblzo2.so.2
(gdb) bt
#0  0xb6ff2bb8 in _lzo_config_check () from /usr/lib/liblzo2.so.2
#1  0x00025a24 in ?? ()


Googling I found this debian issue: https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1275421.html https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757037.

Unaligned memory access should be forbidden from my target platform.
Comment 2 Saul Wold 2014-12-16 19:34:02 UTC
As much as I would like to close bugs, this is not yet backported in 1.7.1 so 
it should remain open until that occurs.