Skip to content
Success

#26635 (Jan 27, 2026, 11:09:51 AM)

Started 20 days ago
Took 2.6 sec on build4-deb12build-ansible

Started by upstream project gerrit-libosmocore build number 2306
originally caused by:

This run spent:

  • 8.5 sec waiting;
  • 2.6 sec build duration;
  • 11 sec total from scheduled to completion.
Revision: ff8cb3f3b34b299b203970ffdae29f3c9f1e927f
Repository: $GERRIT_REPO_URL
  • master
osmo_io: Fix misaligment of iofd->cmsg used as struct cmsghdr

Fixes following ASAN runtime error:
"""
src/stream.c:398:47: runtime error: member access within misaligned address 0x516000012b81 for type 'struct cmsghdr', which requires 8 byte alignment
0x516000012b81: note: pointer points here
51 00 00  00 30 00 00 00 00 00 00  00 84 00 00 00 01 00 00  00 00 00 00 00 00 00 00  00 00 00 00 03
              ^
"""

Current GCC documentation [1] states that __attribute__ ((__aligned__
(alignment))) is the older sytnax. The newer _Alignas mimics the
standarized alignas() in C23. Since we build with CLAGS=-std=gnu11 we
are fine using _Alignas, which was introduced in C11.

[1] https://www.gnu.org/software/c-intro-and-ref/manual/html_node/Type-Alignment.html

Related: OS#6905
Change-Id: Ia80dfc4dbffe85514b18dcf8d36b85bfafd76d64
Pau Espin Pedrol at