[parisc-linux] unaligned access using bash on glibc 2.5

Carlos O'Donell carlos at systemhalted.org
Tue May 1 13:55:12 MDT 2007


On 5/1/07, Aurelien Jarno <aurelien at aurel32.net> wrote:
> We have just switched to a glibc 2.5 using LT + TLS in Debian. This
> causes unaligned memory access when using bash:
>
> bash(19279): unaligned access to 0x000e1bb2 at ip=0x407cb76b

Why doesn't this ip match the runtime disassembly you have below?

> Using prctl to trap on aligned access and gdb, the unaligned access
> seems to be in closedir() (a glibc function), at the point marked by
> a '*'.

Is this a dump from disassemble in gdb at runtime?
What is the value of r19, r2, and r30 at the point of the unaligned access?

> The problem does not look obvious (at least to me). Any idea?

Yes, but I need answers to my three questions :-)

Cheers,
Carlos.



More information about the parisc-linux mailing list