The root issue is likely something in the utf-8 handling code in glibc on arm64 hirsute and impish; the reproducer is:
bash -c 'i=210; echo -n $(printf "\\$(printf "%03o" $i)") | od -An -t uC' 210 138 running valgrind in a default environemnt (so LANG=en_US.UTF-8) turned up ==46656== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==46653== Conditional jump or move depends on uninitialised value(s) ==46653== at 0x48EA5EC: utf8_internal_loop (loop.c:336) ==46653== by 0x48EA5EC: __gconv_transform_utf8_internal (skeleton.c:620) ==46653== by 0x494BF57: mbrtowc (mbrtowc.c:86) ==46653== by 0x17FFBB: command_substitute (in /usr/bin/bash) and running the test with LANG=C results in the trailing artifact (138) to not show up. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1932331 Title: ubuntu_qrt_apparmor: i18n test fails on arm64 Hirsute / Impish Status in AppArmor: In Progress Status in apparmor package in Ubuntu: New Bug description: It only affects arm64: ... 06/15 13:09:11 ERROR| utils:0153| [stderr] running i18n 06/15 13:09:11 ERROR| utils:0153| [stderr] Error: open failed. Test 'i18n (194) OPEN (octal) "/tmp/sdtest.411763-18905-et6mgO/file_Š_post" RW' was expected to 'pass'. Reason for failure 'FAIL: open /tmp/sdtest.411763-18905-et6mgO/file_Š_post failed - Permission denied' 06/15 13:09:11 ERROR| utils:0153| [stderr] Error: open failed. Test 'i18n (195) OPEN (octal) "/tmp/sdtest.411763-18905-et6mgO/file_Ê_post" RW' was expected to 'pass'. Reason for failure 'FAIL: open /tmp/sdtest.411763-18905-et6mgO/file_Ê_post failed - Permission denied' 06/15 13:09:11 ERROR| utils:0153| [stderr] Error: open failed. Test 'i18n (196) OPEN (octal) "/tmp/sdtest.411763-18905-et6mgO/file_Ċ_post" RW' was expected to 'pass'. Reason for failure 'FAIL: open /tmp/sdtest.411763-18905-et6mgO/file_Ċ_post failed - Permission denied' 06/15 13:09:11 ERROR| utils:0153| [stderr] Error: open failed. Test 'i18n (197) OPEN (octal) "/tmp/sdtest.411763-18905-et6mgO/file_Ŋ_post" RW' was expected to 'pass'. Reason for failure 'FAIL: open /tmp/sdtest.411763-18905-et6mgO/file_Ŋ_post failed - Permission denied' ... Full log without LP manging the formatting: http://paste.ubuntu.com/p/3PHcCWb9Jw/plain/ To manage notifications about this bug go to: https://bugs.launchpad.net/apparmor/+bug/1932331/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp