Re: crash in guile-sqlite3

2012-04-26 Thread rixed
-[ Thu, Apr 26, 2012 at 05:04:23PM -0400, Noah Lavine ] > > I use it daily and it's working allright. > > I'd have a closer look to the libffi you used to compile guile > > if I were you. > > What version of Guile do you use it with? 2.0.2.224-b1a52-dirty compiled with libffi 5.0.10

Re: crash in guile-sqlite3

2012-04-26 Thread Sunjoong Lee
Hi, Joonas; 2012/4/26 Joonas Sarajärvi > > I tried to run guile in gdb to get a backtrace from the crash. The > segfault seems to be triggered inside libsqlite3 code, but I could not > really get much useful information from it. I am thus writing here to > ask if someone else has more insight on

Re: http-post

2012-04-26 Thread Noah Lavine
Hello, Thanks for sending it in! And sorry for the slow response. If you'd like to have it added to Guile, we'd love to have it in here. The one other thing we'd like is tests for this code. There are examples in test-suite/tests/web-http.test. If you want, you can also write a git log entry to

Re: crash in guile-sqlite3

2012-04-26 Thread Noah Lavine
> I use it daily and it's working allright. > I'd have a closer look to the libffi you used to compile guile > if I were you. What version of Guile do you use it with? Just curious if it's different than 2.0.2 or 2.0.5.

Re: crash in guile-sqlite3

2012-04-26 Thread rixed
> Is guile-sqlite3 actually in such a shape that it might be useful for > curious testers? I use it daily and it's working allright. I'd have a closer look to the libffi you used to compile guile if I were you.

crash in guile-sqlite3

2012-04-26 Thread Joonas Sarajärvi
Hello, Some time ago, I noticed that there is a nice-looking libsqlite3 wrapper for Guile available at [1]. I am now trying to use it, but the short example program I wrote seems to cause guile to crash in certain places where sqlite-finalize is called. I tried to run guile in gdb to get a backtr

Re: A question about http-get of (web client)

2012-04-26 Thread Sunjoong Lee
I suspect "ISO-8859-1" make a problem. open-socket-for-uri of (web client) sets encoding of port to "ISO-8859-1". read-response of (web response) also sets encoding of port to "ISO-8859-1". (use-modules ((srfi srfi-11) #:select (let-values)) ((web uri) #:select (string->uri))

SRFI-64 module and SRFI-78 module -- archive file attached

2012-04-26 Thread Sunjoong Lee
Hello, I've attatched a file archiving modules of my recent version of SRFI-64 implementation and SRFI-78. SRFI-64 is "A Scheme API for test suites." SRFI-78 is "Lightweight testing." If you want to test your code, there are 5 options; using SRFI-64, SRFI-78, unit-test of guile-lib, lib of test-