Your message dated Tue, 24 Sep 2024 21:31:22 +0200 with message-id <[email protected]> and subject line Re: Bug#531188: iconvconfig has a misaligned pointer access on arm has caused the Debian Bug report #531188, regarding iconvconfig has a misaligned pointer access on arm to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 531188: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531188 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libc6 Version: 2.7-18 Severity: minor While apt-get upgrading an arm-lenny system I see the following: ------------------------- Checking init scripts... /var/lib/dpkg/info/libc6.postinst: line 343: 2254 Bus error iconvconfig ------------------------- This occurs because I have detection of misaligned word accesses enabled on my arm box (echo 5 > /proc/cpu/alignment) whereas such accesses normally give garbage results, returning the word from *(addr & ~3) rotated so that the byte at *(char *)addr is in the least significant position. The offending instruction is (gdb) x/i 0x989c 0x989c <tsearch+3044>: ldr r2, [r5] where r5 0x5875e 362334 (should be a multiple of 4). With libc6-dbg installed: Program received signal SIGBUS, Bus error. 0x0000989c in write_output () (gdb) bt #0 0x0000989c in write_output () #1 0x0000a7dc in main () which suggests that on most Debian ARM machines some piece(s) of 4-byte data are being written to somewhere half-word-swapped. Strangely enough, the same symptom does not occur with the same version of libc6 on armel-lenny (only arm-lenny) on the same machine. Repeat-by: # iconvconfig Bus error #
--- End Message ---
--- Begin Message ---Hi, On 2009-05-30 16:46, Martin Guy wrote: > Package: libc6 > Version: 2.7-18 > Severity: minor > > While apt-get upgrading an arm-lenny system I see the following: > ------------------------- > Checking init scripts... > > /var/lib/dpkg/info/libc6.postinst: line 343: 2254 Bus error > iconvconfig > ------------------------- > This occurs because I have detection of misaligned word accesses > enabled on my arm box > (echo 5 > /proc/cpu/alignment) whereas such accesses normally give > garbage results, returning the word from *(addr & ~3) rotated so that > the byte at *(char *)addr is in the least significant position. > > The offending instruction is > (gdb) x/i 0x989c > 0x989c <tsearch+3044>: ldr r2, [r5] > where > r5 0x5875e 362334 > (should be a multiple of 4). > > With libc6-dbg installed: > > Program received signal SIGBUS, Bus error. > 0x0000989c in write_output () > (gdb) bt > #0 0x0000989c in write_output () > #1 0x0000a7dc in main () > > which suggests that on most Debian ARM machines some piece(s) of > 4-byte data are being written to somewhere half-word-swapped. This looks like more a compiler problem than a glibc issue. > Strangely enough, the same symptom does not occur with the same > version of libc6 on armel-lenny (only arm-lenny) on the same machine. The arm architecture has been removed from debian for many many years, and replaced by armel and later armhf, which are not affected. I am therefore closing the bug. Regards Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B [email protected] http://aurel32.net
--- End Message ---

