From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9033 Path: news.gmane.org!not-for-mail From: Guided Muscle Newsgroups: gmane.linux.lib.musl.general Subject: Re: Musl bug, or, am I losing my mind? Date: Thu, 31 Dec 2015 19:59:33 +0000 (UTC) Message-ID: <786818513.4541881.1451591973977.JavaMail.yahoo@mail.yahoo.com> References: <786818513.4541881.1451591973977.JavaMail.yahoo.ref@mail.yahoo.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1451592167 21292 80.91.229.3 (31 Dec 2015 20:02:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Dec 2015 20:02:47 +0000 (UTC) To: Original-X-From: musl-return-9046-gllmg-musl=m.gmane.org@lists.openwall.com Thu Dec 31 21:02:46 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1aEjQr-0005Gl-Mo for gllmg-musl@m.gmane.org; Thu, 31 Dec 2015 21:02:45 +0100 Original-Received: (qmail 14102 invoked by uid 550); 31 Dec 2015 20:02:44 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 14084 invoked from network); 31 Dec 2015 20:02:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1451592151; bh=n3Fj54yo7G0Vb6mR8b8JWyekexT8S/rG0LR8u2Zhqfo=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=KoneessAMEiMWniUQmXn6alGQjg3k4PJjkbM5h4OR+jAk7orbghElLKZjBYdCCCmqhDRVL8y4hKYj2z/GMA66qAFE5zgDbseZ01Rzpuo6XNtrbr9zoIA+U/JTPBLM1ZDHZNhVr+XHrcxwhr2jcGOFBhXocQlaL8zh4PYiaX6t/iDGtDMVlkBo7wyNj+iO88os0fx2ive2Fm45d6PzUI5us7XZZyI0AyhtRaz5x+9KDGx5oKWRDAYgXQsAar/mtnp2UZxbRnEpWM7kmrT2oGoFqK6cB4Jac9X4ma9fzERJj4RSEX9v2myuGrO0/QkMiN6UBaCoMFavviXX0bl/YQsBQ== X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 740718.47708.bm@omp1001.mail.ne1.yahoo.com X-YMail-OSG: RbZ4fLQVRDvSmGuqvZZ70iVXtPEXxa9inT.HPvdl Xref: news.gmane.org gmane.linux.lib.musl.general:9033 Archived-At: Hi Rich, Awesome. BTW, I'm only reporting what I have done. I hope it helped. Thanks -- GM -------------------------------------------- On Thu, 12/31/15, Rich Felker wrote: Subject: Re: [musl] Musl bug, or, am I losing my mind? To: musl@lists.openwall.com Date: Thursday, December 31, 2015, 2:45 PM On Thu, Dec 31, 2015 at 07:35:38PM +0000, Guided Muscle wrote: > Oh, I wanted to add that this is probably not a cdb bug because cdb, > when compiled with gcc or clang, worked for i > 25000. That doesn't necessarily tell you anything. If the program is producing undefined behavior, it could appear to work under arbitrary conditions. Or it might not be producing undefined behavior but rather just making invalid assumptions about the implementation. I just tried your test.lua with tinycdb I built myself on Alpine Linux (x86_64) and could not reproduce the problem. cdb succeeded just fine reading from pipe. I tried both piping directly from lua, and saving the output to a file then piping from cat and neither produced an error. Rich