bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: join utility segfults


From: Roman Kirillov
Subject: Re: join utility segfults
Date: Fri, 24 Apr 2009 19:36:58 +0100

Chaps,

Adding Vartika from our Linux support team to the chain – he's got some questions to ask. In the meanwhile, he's a contact person at Y! regarding this.

R

--
Roman Kirillov
Yahoo! GeoInformatics Group

Y!Im: roman.kirillov | address@hidden | +44(0)2071311384

On 24 Apr 2009, at 11:59, Ondřej Vašík wrote:

Ondřej Vašík wrote:
Pádraig Brady wrote:
Roman Kirillov wrote:
address@hidden 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]