[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Test suite failure for gettext's gnulib on ARMv7HL
From: |
Bruno Haible |
Subject: |
Re: Test suite failure for gettext's gnulib on ARMv7HL |
Date: |
Tue, 04 Aug 2020 02:10:46 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-186-generic; KDE/5.18.0; x86_64; ; ) |
Kamil Dudka wrote:
> Yes, the `ASSERT (msg3 == msg4 || STREQ (msg3, str3))` check is failing here:
>
>
> https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=tests/test-strerror_r.c;h=b11d6fd9#l170
The ASSERT means "either msg3 has been clobbered by the strerror (1729576)
call, or it has been left unmodified". If it fails, something is happening
that we don't understand.
Can you, in an interactive gdb session, set a hardware watchpoint on the
value of msg3?
One of these lines must modify its contents. The question is: where?
msg4 = strerror (1729576);
ASSERT (msg4);
str4 = strdup (msg4);
ASSERT (str4);
strerror_r (EACCES, buf, sizeof buf);
strerror_r (-5, buf, sizeof buf);
Bruno