Re: unaligned access using bash on glibc 2.5

"Carlos O'Donell" <[email protected]>
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
On 5/1/07, Aurelien Jarno <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.