Description of problem: I'm going to add an attachment. Doing: unxz < uniq-c.crash.txt.xz | uniq -c generates an indication of a Segmentation fault on both Mageia 2 x86-64 and Mageia Cauldron x86-64. This does not happen with unxz < uniq-c.crash.txt.xz | ~/apps/temp-coreutils/bin/uniq -c (where this uniq was installed using "./configure --prefix="$HOME/apps/temp-coreutils" ; "make" ; "make install" from the GNU coreutils sources). The file contains a long line of items separated by CRs, due to a mis-generation (which was since fixed) but uniq still should not crash. How reproducible: Always
Created attachment 2866 [details] The input file compressed by xz. This is the input file as compressed by the "xz" compressor.
Whiteboard: (none) => MGA2TOO
OK, after some amount of investigation (thanks to Luigi12_work from IRC for some insights), we found out that the problem was with coreutils-8.19-new-i18n.patch patch. If we remove it, do "bm -l -p" and run "./configure --prefix ; make ; make install", then the unxz < ... | ~/apps/temp-coreutils-rpm/uniq -c works fine. With all patches applied it segfaults. This patch is identical to this Fedora patch: http://pkgs.fedoraproject.org/cgit/coreutils.git/plain/coreutils-i18n.patch Thierry, can you please report it there? Regards, -- Shlomi Fish
Assignee: bugsquad => thierry.vignaud
Added the report on the Red Hat bugzilla.
See Also: (none) => https://bugzilla.redhat.com/show_bug.cgi?id=869442
Keywords: (none) => UPSTREAM
Not reproducible on 5Beta3 so must have been fixed.
Status: NEW => RESOLVEDCC: (none) => nicResolution: (none) => FIXED