google/crush-tools

convdate segmentation fault on FreeBSD 8.2-RELEASE

Opened this issue · 2 comments

What steps will reproduce the problem?
1. Compile latest stable rev of crush-tools on FreeBSD 8.2-RELEASE 
2. Run following script https://gist.github.com/1362440

What is the expected output? What do you see instead?

Expected output is -- converted logfiles in specified folder (as one can see 
from script i linked), but I only get segmentation fault:

./squid_log_aggregate.sh: line 16: 35417 Exit 141                ( zcat 
$LOGDIR/access.log.2.gz && cat $LOGDIR/access.log.1 )
     35418 Segmentation fault: 11  (core dumped) | convdate -i "%s" -o "%F %H:%M:%S" -F time -p

What version of the product are you using? On what operating system?

I am using 2010-03-Release version of crush-tools, compiled on FreeBSD 
8.2-RELEASE.

Please provide any additional information below.

Please, notice, that FreeBSD m4 does not support the '--prefix-builtins' 
optiion, so I used gm4 (GNU-m4) while compiling crush-tools.

Original issue reported on code.google.com by igorsule...@gmail.com on 13 Nov 2011 at 6:23

sorry for my poor english, i'm not a native speaker =)

Original comment by igorsule...@gmail.com on 13 Nov 2011 at 6:23

Hi, Igor. Thanks for reporting this issue. Would it be possible for you to 
provide a sample input which triggers this behavior?

Original comment by jeremy.h...@gmail.com on 15 Nov 2011 at 3:27