mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Guided Muscle <atguarded-gizmo@yahoo.com>
To: <musl@lists.openwall.com>
Subject: Re: Musl bug, or, am I losing my mind?
Date: Thu, 31 Dec 2015 06:36:35 +0000 (UTC)	[thread overview]
Message-ID: <1295998941.4272196.1451543795605.JavaMail.yahoo@mail.yahoo.com> (raw)
In-Reply-To: <1295998941.4272196.1451543795605.JavaMail.yahoo.ref@mail.yahoo.com>

Thanks all.
I have the strace outputs for the two ends of the pipe. However, I don;t know what to do with the files. What are the essential parts that I should email to this fine group?

BTW, the files are rather large.
Thank you.
--
GM

===== tail lua_strace.txt ==
write(1, "23752375237523752375237523752375"..., 15360) = 15360
write(1, "23752375237523752375237523752375"..., 492) = 492
write(1, "+7,20957:key5238->value523852385"..., 5120) = 5120
write(1, "23852385238523852385238523852385"..., 15360) = 15360
write(1, "23852385238523852385238523852385"..., 496) = 496
write(1, "+7,20961:key5239->value523952395"..., 5120) = 5120
write(1, "23952395239523952395239523952395"..., 15360) = 15360
write(1, "23952395239523952395239523952395"..., 500) = -1 EPIPE (Broken pipe)
--- stopped by SIGPIPE ---
+++ killed by SIGPIPE +++

===== tail cdb_strace.txt ==
write(3, "36523652365236523652365236523652"..., 16384) = 16384
readv(0, [{"", 0}, {"+7,20953:key5237->value523752375"..., 1024}], 2) = 1024
readv(0, [{"23752375237523752375237523752375"..., 19946}, {"7\n,20953:key5237->value523752375"..., 1024}], 2) = 19948
write(3, "36523652365236523652365236523652"..., 4096) = 4096
write(3, "37523752375237523752375237523752"..., 16384) = 16384
readv(0, [{"", 0}, {"+7,20957:key5238->value523852385"..., 1024}], 2) = 1024
readv(0, [{"23852385238523852385238523852385"..., 19950}, {"23852385238523852385238523852385"..., 1024}], 2) = 19952
writev(2, [{"cdb: (stdin): bad format\n", 25}, {NULL, 0}], 2) = 25
exit_group(2)                           = ?
+++ exited with 2 +++
==
--------------------------------------------
On Wed, 12/30/15, Rich Felker <dalias@libc.org> wrote:

 Subject: Re: [musl] Musl bug, or, am I losing my mind?
 To: musl@lists.openwall.com
 Date: Wednesday, December 30, 2015, 11:07 PM
 
 On Thu, Dec 31, 2015 at
 04:10:02AM +0100, Szabolcs Nagy wrote:
 >
 * Szabolcs Nagy <nsz@port70.net>
 [2015-12-30 22:28:33 +0100]:
 > > *
 Guided Muscle <atguarded-gizmo@yahoo.com>
 [2015-12-30 20:04:41 +0000]:
 > > >
 cat o.txt | cdb -c c.cdb  
 > > >
 FAILED: cdb: (stdin): bad format
 > >
 > 
 > > > However 
 > > > PASS: cdb -c c.cdb < o.txt
 > > 
 > > my guess
 is that cdb does not handle short reads properly
 > > 
 > > but you
 can see what's going on with strace
 >
 
 > another guess: if this is a musl based
 system
 > then there was a gcc bug that
 broke fflush at
 > exit so cat would
 truncate the output.
 > 
 > again strace can tell if that is the
 case.
 
 "On Debian
 8" is probably not a musl-based cat.
 
 Rich


       reply	other threads:[~2015-12-31  6:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1295998941.4272196.1451543795605.JavaMail.yahoo.ref@mail.yahoo.com>
2015-12-31  6:36 ` Guided Muscle [this message]
2015-12-31 11:42   ` Szabolcs Nagy
2015-12-31 11:53     ` Szabolcs Nagy
     [not found] <2021478498.4444333.1451595055186.JavaMail.yahoo.ref@mail.yahoo.com>
2015-12-31 20:50 ` Guided Muscle
     [not found] <1229082331.4470232.1451594892445.JavaMail.yahoo.ref@mail.yahoo.com>
2015-12-31 20:48 ` Guided Muscle
     [not found] <786818513.4541881.1451591973977.JavaMail.yahoo.ref@mail.yahoo.com>
2015-12-31 19:59 ` Guided Muscle
     [not found] <2036560950.4461281.1451590538227.JavaMail.yahoo.ref@mail.yahoo.com>
2015-12-31 19:35 ` Guided Muscle
2015-12-31 19:45   ` Rich Felker
     [not found] <1163254146.4344492.1451589596849.JavaMail.yahoo.ref@mail.yahoo.com>
2015-12-31 19:19 ` Guided Muscle
     [not found] <1315337459.141890.1451583062461.JavaMail.yahoo.ref@mail.yahoo.com>
2015-12-31 17:31 ` Guided Muscle
2015-12-31 18:33   ` Rich Felker
2015-12-31 20:34   ` Szabolcs Nagy
2015-12-31 20:35     ` Rich Felker
     [not found] <1535596338.4389758.1451579882141.JavaMail.yahoo.ref@mail.yahoo.com>
2015-12-31 16:38 ` Guided Muscle
     [not found] <1337210970.4152546.1451505881575.JavaMail.yahoo.ref@mail.yahoo.com>
2015-12-30 20:04 ` Guided Muscle
2015-12-30 21:28   ` Szabolcs Nagy
2015-12-31  3:10     ` Szabolcs Nagy
2015-12-31  4:07       ` Rich Felker
2015-12-31 12:10   ` Szabolcs Nagy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1295998941.4272196.1451543795605.JavaMail.yahoo@mail.yahoo.com \
    --to=atguarded-gizmo@yahoo.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).