On Sun, Aug 31, 2008 at 07:46:52PM -0700, Daniel Burrows <[EMAIL PROTECTED]> was heard to say: > On Fri, Aug 22, 2008 at 10:20:37PM +0300, Dmitri Gribenko <[EMAIL PROTECTED]> > was heard to say: > > In ru_UA.UTF-8 locale aptitude displays some junk where package count > > for devel category should be. Screenshot: [1] Everything is OK in C > > locale. > > (a) That's weird. > > (b) I can reproduce it. > > (c) Why is it that it only affects devel, but it affects every devel > tree?
It's not true, and I have a general notion what's happening. Both devel and contrib are affected. The common thread is that their descriptions in Russian are long -- nearly 900 bytes. If you delete characters from the long description of "devel", you'll see that the number and the text following it become valid one character at a time. It looks to me like something is copying into a fixed-length buffer and truncating the string. It's not running off the end (or valgrind would have squawked about that and the strings would probably have sometimes been correct), but since the string isn't NUL-terminated, we end up printing a bunch of garbage (whatever's at the end of the string). Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

