[PATCH] Assertion `iter->cur.wc == 0' failed.
Michael Deutschmann
michael at talamasca.ocis.net
Sun Nov 21 21:54:50 UTC 2010
On Sun, 21 Nov 2010, Rob Landley wrote:
> Still trying to build Linux From Scratch 6.7 packages against the last uClibc
> stable release, and I hit this strange assertion breaking "shadow" build:
>
> # find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;
> find: mbuiter.h: 171: mbuiter_multi_next: Assertion `iter->cur.wc == 0' failed.
>
> [...]
> Does anyone have an opinion on this?
Sounds like my bug #1471, which I reported over 7 months ago. It is a
disobedience to the standards that prevents tar from completing its
self-check. A simple testcase is included with the report.
Basically, mbrtowc() is required to set the wchar_t pointed to by its first
argument in every non-error case. uClibc forgets to do this when the input
multibyte string is "". And gnulib has oddly aggressive consistency checks.
---- Michael Deutschmann <michael at talamasca.ocis.net>
More information about the uClibc
mailing list