X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:date:from:to:subject:in-reply-to :references:message-id; q=dns; s=default; b=m9hDs+tldNIT/rKMLs90 nnnG5AZ6FAIAF9vNJXsLAiD41DI3HzYn49diN8NHA+Ji6ue2uX7TLO7Rr6DQ0ZEj WtDzQ/rvJ3eIPudG4F07QnKUbzGNwQeceFr5fFxlDQFggxc3xaFfgeQDWyC6NSWU W7bq2ttXMDNUqplRVGuBH04= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:date:from:to:subject:in-reply-to :references:message-id; s=default; bh=kbsfQGcF6O3xkkxV9Ym+zKq28m Q=; b=apk9t5b32YXEVlZjGkX0j1jLoKWDCnxKMRMZ95DIel61Fg5fEaAlRAaK8L VWrQfd2fhUK7LURG+OVgz2kc35wsALLOsw7Qishn895V3riPnESEIrm9xvU/TWjO g8LUaE73+CePmUCO2NDaohaDyA6nXP8cb3JybcLJ9jNkxNs1w= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,KB_WAM_FROM_NAME_SINGLEWORD,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=cyg, interest!, doug, Doug X-HELO: lb2-smtp-cloud9.xs4all.net MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 28 Nov 2017 15:42:13 +0100 From: Houder To: cygwin AT cygwin DOT com Subject: Re: sort utility goes berzerk (x86_64) In-Reply-To: <6ea0abb4-4b12-ae0a-a8f8-42e96a174bf3@gmail.com> References: <177e9f9fe723eadd4a8e41e5e032d56d AT smtp-cloud9 DOT xs4all DOT net> <20171128090329 DOT GN547 AT calimero DOT vinschen DOT de> <6ea0abb4-4b12-ae0a-a8f8-42e96a174bf3 AT gmail DOT com> Message-ID: <76ae77067472138af6694b9b1cca24af@xs4all.nl> X-Sender: houder AT xs4all DOT nl User-Agent: XS4ALL Webmail X-CMAE-Envelope: MS4wfGZO4QmrqYyVWY0NjHNZ/h1dKlNcQqnJaMWlKRyg/sOQOB9I4vbU5xcOGGku2VbSiBV4pUH2Ei/0PssDVKf5+53psQzVgFWsoSdNtEB9xAR3BLGHIbx8 siwNK+hRu+Zjtb/dBosiVak0Kgh5/u0vgRTInd70XeT/CdL3+2hSKo7GAz2NZBFEH5z8Xtyq6gbNWKzUEyMPUH2k3/7S9iX23nw= X-IsSubscribed: yes On 2017-11-28 14:27, cyg Simple wrote: >>>> On 2017-11-25 14:23, Houder wrote: >>>> > Hi, >>>> > >>>> > Anyone seeing this as well? sort goes berzerk on my system when piped >>>> > into >>>> > head (or less) when it is fed with a 'specially prepared' input file. >>>> > >>>> >  - only happens on x86_64 >>>> >  - does not happen for 'LC_COLLATE=C sort tt | head' >>>> > >>>> > 'specially prepared' input file? (see bottom of post). >>>> >>>> Anyone ** NOT ** seeing this? > `which sort` are you attempting to use? The cygcheck file didn't say. cyg, Doug, thanks for your interest! Doug, I will reply to your mail (separately). 64-@@ which sort /usr/bin/sort 64-@@ /usr/bin/sort tt | /usr/bin/head abcde 1xxxxx0123456789 abcde 2xxxxx0123456789 abcde 3xxxxx0123456789 abcde 4xxxxx0123456789 abcde 5xxxxx0123456789 abcde 6xxxxx0123456789 abcde 7xxxxx0123456789 abcde 8xxxxx0123456789 abcde 9xxxxx0123456789 abcde 10xxxxx0123456789 <==== prompt does not return My original post only described the most relevant stuff. I expected that everyone else had the same problem ... I did not describe everything that I had tried ... For instance: strace -o junk sort tt | head, works using any of the options -r, -n, -g, -h to sort, does NOT work using the option -f to sort, does work Consequently, I was a bit confused by the results. That is why I wanted to know whether or not I was the only one with this problem. ... if I am the only one with this problem, I have to dig deeper (or let it go). Henri -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple