Hello,

I received:

klovett$ ./scratch
Error: unbound variable: |\?\?\?|

However a file of:

;(require-extension sha2)
;(print (sha256:digest ""))

Yields the same. (Which makes sense: this stmt is in the scratch.c -'lf[0]=C_h_intern(&lf[0],3,"\357\273\277");')

Could be something I did, message-digest is mine, and it was recently updated. However, it doesn't explain the above. (I will look into this more tomorrow.)

Best Wishes,
Kon


On Feb 20, 2006, at 9:01 AM, Reed Sheridan wrote:

I've found that if you load postgresql and then load sha2 (but not the other way around), you get a segmentation fault when you use one of the digest functions. I have reduced the problem to this:

(require-extension sha2)
(print (sha256:digest ""))

Compiled with csc -v scratch.scm -L`pg_config --libdir` -lpq, this causes a segmentation fault. Without libpq, it works fine.

This appeared in old, previously working code after both rebuilding Chicken and updating just about everything else on my system, including libpq, to the newest debian unstable packages. Everything else, including postgresql, seems to work.

Is anybody else having this problem?

Reed Sheridan

_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users



_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to