[sparc] iceweasel: Bus Error in setbuf()

Jonathan Nieder jrnieder at gmail.com
Sat Dec 22 21:38:44 UTC 2012


(culling cc list)
Hi Adrian,

John Paul Adrian Glaubitz wrote:

> [Subject: Debian #634261: Is it actually a(n RC) bug?]

Please keep in mind that these appear as emails in a crowded inbox, so
the subject line can be a good place to put valuable context.

> Mike Hommey wrote:

>> FYI, I found that it is triggered by the _IO_stdin_used symbol not
>> being exported from the binary, which happened because of a version-script
>> couple with -rdynamic. I still think there is something fishy going on
>> on the libc6 side, but not as bad as originally thought.
>
> This seems to be a known and more or less documented behavior of libc
> to determine which ABI to use for an application software, see [1].
>
> What eventually happens is an unaligned access due to the ABI
> mismatch.

I don't completely follow, so I'll just ask: do you mean that this is
a case of ABI misuse, with poor error reporting?

Can you describe what iceweasel was doing wrong?  Is this documented
so future coders know not to make the same mistake?  Is the version in
squeeze affected?  How about the version in wheezy?

Thanks and hope that helps,
Jonathan

>> [1] http://lists.gnu.org/archive/html/bug-glibc/2001-12/msg00203.html



More information about the pkg-mozilla-maintainers mailing list