Ondřej Vašík wrote: > Pádraig Brady wrote: > > Roman Kirillov wrote: > > > [kiril...@chiark py-src]$ join s1.txt s2.txt > > > Segmentation fault > > > files: http://sigizmund.info/upload/s12.tgz (28 mb) > > > > This issue seems related to the i18n patch applied by your distro > Just would like to add that it's already fixed in Fedora rawhide > package, so I'll fix it in next Fedora coreutils update for F-9/F-10. > In F-8 not, it's already EOL.
To keep the list informed about the conclusion... It turned out that it was not really fixed in rawhide at the time of my reply. Just due to "better memory management" change in join.c done by Bo Borgerson between 6.12 and 7.0 was the occurance chance of the segfault reduced from 100% to ~10%. After investigation of the problem the culprit is now known. Multibyte patch was checking for exact equality/non-equality with the limit of the file, so the limit was skipped(and therefore SIGSEGV occured). Problem was fixed and built in koji (Rawhide branch) as http://koji.fedoraproject.org/koji/buildinfo?buildID=99330 and reported against RHEL-5 as https://bugzilla.redhat.com/show_bug.cgi?id=497368 . Patch to fix the issue could be found in that bugzilla, should work for affected Fedora's and RHEL (or derived Distros). Additionally the issue could be easily workarounded by using singlebyte locales (e.g. LC_ALL=C join). Greetings, Ondřej Vašík
signature.asc
Description: Toto je digitálně podepsaná část zprávy
_______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
