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 19:19:56 +0000 (UTC)	[thread overview]
Message-ID: <1163254146.4344492.1451589596849.JavaMail.yahoo@mail.yahoo.com> (raw)
In-Reply-To: <1163254146.4344492.1451589596849.JavaMail.yahoo.ref@mail.yahoo.com>

First, thanks to everyone who's pitched in for this problem.
I'd love to send the sample file to the list but the file is very big about 45MB when i=5000.
Unfortunately, the problem does not rear its head until i is abut 7500.

The output of test.lua is not private and can be easily generated from this lua script:
--
for i=1,10000 do
  key,val="key" .. tostring(i), "value" .. string.rep(tostring(i),i)
  print(string.format("+%d,%d:%s->%s", string.len(key),string.len(val),key,val))
end
print("\n")
--
NOTES:
The problem starts when the loop counter, i, is around 75000.
the final newline are part of the cdb format spec.

Thanks
--
GM
--------------------------------------------
On Thu, 12/31/15, Rich Felker <dalias@libc.org> wrote:

 Subject: Re: [musl] Musl bug, or, am I losing my mind?
 To: musl@lists.openwall.com
 Date: Thursday, December 31, 2015, 1:33 PM
 
 On Thu, Dec 31, 2015 at
 05:31:02PM +0000, Guided Muscle wrote:
 >
 Recompiled and installed musl 1.1.12 freshly downloaded from
 the musl web site.
 > configure;make
 -j2;make install.
 > 
 >
 Oops - just read the INSTALL file in the musl 1.1.12
 directory. I'm using gcc 4.90.
 >
 Installed gcc 4.8; recompiled musl 1.1.12; 
 > configure;make -j2;make install.
 > 
 > Test:
 > lua test.lua | ../cdb -c c.cdb
 > cdb: (stdin): bad format
 > 
 > I give up and will
 use a temporary file for tinycdb.
 > 
 > Thank you all for your help.
 
 Do you have a sample file we
 could use to reproduce the issue? If the
 output of test.lua is not private data, just
 lua test.lua > sample.txt
 and mailing
 sample.txt to the list would suffice.
 
 Rich
 


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

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1163254146.4344492.1451589596849.JavaMail.yahoo.ref@mail.yahoo.com>
2015-12-31 19:19 ` Guided Muscle [this message]
     [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] <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] <1295998941.4272196.1451543795605.JavaMail.yahoo.ref@mail.yahoo.com>
2015-12-31  6:36 ` Guided Muscle
2015-12-31 11:42   ` Szabolcs Nagy
2015-12-31 11:53     ` Szabolcs Nagy
     [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=1163254146.4344492.1451589596849.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).