Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Date: Thu, 31 Dec 2015 19:19:56 +0000 (UTC)
From: Guided Muscle <>
To:  <>
Subject: Re: Musl bug, or, am I losing my mind?

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))
The problem starts when the loop counter, i, is around 75000.
the final newline are part of the cdb format spec.

On Thu, 12/31/15, Rich Felker <> wrote:

 Subject: Re: [musl] Musl bug, or, am I losing my mind?
 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.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.