bug#33229: n-for-each-par-map crash guile 2.2.4

2018-11-01 Thread Amirouche Boubekki
On my machine with 4 procs the following program crash after a while: (define-module (hn)) (use-modules (srfi srfi-1)) (use-modules (ice-9 receive)) (use-modules (ice-9 threads)) (use-modules (ice-9 iconv)) (use-modules (web client)) (use-modules (json)) (define (max-id) (receive (response

bug#29258: web client fails on https

2017-11-22 Thread Amirouche Boubekki
On 2017-11-22 16:21, l...@gnu.org wrote: Hi Amirouche, Amirouche Boubekki skribis: GNU Guile 2.2.2 Copyright (C) 1995-2017 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistr

bug#29258: web client fails on https

2017-11-11 Thread Amirouche Boubekki
GNU Guile 2.2.2 Copyright (C) 1995-2017 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(

bug#24647: SRFI 64 − Test marked as passed when it should have been marked as fail

2016-10-09 Thread Amirouche Boubekki
The code for SRFI-64 does implement error catching, but that it might return #f if an error happens causing a passed test when it should have been marked as FAIL (use-modules (srfi srfi-64)) (test-begin "repository") (test-equal #f (throw 'key)) (test-end)

bug#24357: pure guile program leaks memory

2016-09-12 Thread Amirouche Boubekki
On 2016-09-03 20:49, Amirouche Boubekki wrote: On 2016-09-03 11:54, Andy Wingo wrote: On Sat 03 Sep 2016 09:20, Amirouche Boubekki writes: Using guile 2.1.3, I have a program that: - reads urls from a text file - download the urls using curl command via popen - output the result to stdout

bug#24357: pure guile program leaks memory

2016-09-03 Thread Amirouche Boubekki
On 2016-09-03 11:54, Andy Wingo wrote: On Sat 03 Sep 2016 09:20, Amirouche Boubekki writes: Using guile 2.1.3, I have a program that: - reads urls from a text file - download the urls using curl command via popen - output the result to stdout Also, it relies on n-for-each-par-map for ice-9

bug#15228: making open-process public

2016-09-03 Thread Amirouche Boubekki
Wingo wrote: We could just expose `open-process' from (ice-9 popen) to start with. AFAIK, that's what Mark wants. Here is an example use of `open-process' to wrap `html2text': (use-modules (ice-9 popen)) (define open-process (@@ (ice-9 popen) open-process)) (define (html2text str

bug#24357: pure guile program leaks memory

2016-09-03 Thread Amirouche Boubekki
Using guile 2.1.3, I have a program that: - reads urls from a text file - download the urls using curl command via popen - output the result to stdout Also, it relies on n-for-each-par-map for ice-9 threads. IMO, the most suspicious is the definition of the `curl' proc: (define (curl url)

bug#23000: update from wingo

2016-05-03 Thread Amirouche Boubekki
wingo said: wingo | i don't think that's a guile bug -- i think in that case you need to handle SIGPIPE wingo | b/c posix is weird wingo | (sigaction SIGPIPE SIG_IGN) wingo | the web server does it.

bug#23000: send doesn't check for closed socket

2016-03-12 Thread Amirouche Boubekki
The attached client.scm will crash with a SIGPIPE (based on strace) when run. It should raise an error instead. The error happens when we try to send over socket that is closed on the other side. Happens on 2.0 and master. -- Amirouche ~ amz3 ~ http://www.hyperdev.fr(define-module (client))

bug#19246: bindings: void return function *can* trigger a segfault

2014-12-01 Thread Amirouche Boubekki
Héllo, I reproduce the bug every time with the attached files. Here is gdb backtrace: 8<--8<--8<--8<--8<--8<--8<-- #0 0x77921e56 in vm_debug_engine (vm=0x6f8020, program=0xf5b280, argv=0x7fffc100,