-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Shigorin wrote: > Hello Micah, > my friend has found[1] that wget-1.11 introduced a regression: > running it in ru_RU.UTF-8 locale results in failed assertion: > > LC_MESSAGES=ru_RU.UTF-8 wget -c > http://pgfoundry.org/frs/download.php/1559/pgcluster-1.7.0rc8.tar.gz > > complains on (roughly translated since doesn't manifest > with LC_MESSAGES=C): > > progress.c:972: create_image: assertion `p - bp->buffer <= bp->width' failed.
Thanks for reporting this. There are various problems with the current progress-drawing code, including that it doesn't count characters properly (counts bytes); and shouldn't need to use a buffer in the first place. I was aware of at least one bug in this section of the code that resulted in a drawing glitch, but didn't realize there was a potential to crash (more than usual, anyway). I'll take a look at what's going on. > Removing /usr/share/locale/ru/LC_MESSAGES/wget.mo does help; > `make update-po' after `configure' and before `make' doesn't. Right; the problem isn't with the .po/.mo files (those shouldn't be capable of crashing programs). > PS: sorry for not subscribing to the list, wget used to be > relatively trouble-free an upstream and I'm subscribed to > a few dozen too much already. Hope you understand :) No need to apologize. :) This list has a policy of encouraging non-subscribers to post. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHn8ae7M8hyUobTrERArBMAJ97F++K4zDDYCq7hqxeRf52C+8P7QCcDeMs rV+FWdBBwKafjEJuV2EOF2c= =j/6f -----END PGP SIGNATURE-----
