common log format parser

2011-09-01 Thread Andy Wingo
Hi, I posted a quick parser for Apache's common log format here: https://gitorious.org/guile-clf Use like this: (use-modules (clf)) (define (counter-analysis) (make-analysis (lambda (line count) (1+ count)) 0)) (call-with-input-file "/var/log/apache2/$site/access.log"

Re: open-pipe deadlocked

2011-09-01 Thread Ludovic Courtès
Hi Cédric, ri...@happyleptic.org skribis: > I attached 2 files: > > - "guile deadlock.scm > /tmp/log" deadlocks after around 12k lines of output > for me AFAICS the problem does not occur with Guile 2.0. For 1.8, could you try running Helgrind and see what happens? > - more surprisingly, "gui

Re: debugging guile runtime

2011-09-01 Thread rixed
> > #1 ports are not thread safe (and any other thread safety issues) ; > > In general I think this issue needs to be split up between issues with > port buffers and other issues; while it might be helpful to you to have > a tracker bug, it's not helpful to me to conflate things that require > dif