|
From: | Thomas Hintz |
Subject: | Re: [Chicken-hackers] Segfault with chicken 4.8.0 RC3 |
Date: | Tue, 11 Sep 2012 10:18:21 -0700 |
Hmm. It's essentially a hierarchical key/value store. You pass in queries (which is what mda-client.scm in the same repo helps with) and mda-server.scm executes them and sends back the response. So sending the message (via zmq) (put "value" "user" "key"), stores "value" in tokyocabinet with the key "user/key". (get "user" "key") returns "value" (via (tc-hdb-get db "user/key")). It also has a few misc functions for things like creating list/indexes and returning them, but those end up being just put/get eventually. I can't figure out how to isolate a test case yet. This is happening on my live webapp and I have only been able to reproduce it with a customer's data, which is not something I can share. I'm still working out how to get a generic test case.
On Mon, Sep 10, 2012 at 10:33 AM, Peter Bex <address@hidden> wrote:I tried it, and it compiled (after installing zeromq and tokyocabinet).On Mon, Sep 10, 2012 at 09:05:22AM -0700, Thomas Hintz wrote:
> I'm getting a segfault on the latest rc and I'm not sure how to go about
> debugging it. I've gotten it somewhat reproducible. I have a test case of
> sorts, but it is from a complex web app in which I haven't been able to
> distill it down much yet. With that "test case", it segfaults about 33% of
> the time. The fault is occurring in my database management system which is
> built on zmq and tokyocabinet. The source for the dbms is here:
> https://github.com/ThomasHintz/mda/blob/master/mda-server.scm.
How does it work, and what do I do to trigger the error?
Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
is especially attractive, not only because it can be economically
and scientifically rewarding, but also because it can be an aesthetic
experience much like composing poetry or music."
-- Donald Knuth
_______________________________________________
Chicken-hackers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/chicken-hackers
[Prev in Thread] | Current Thread | [Next in Thread] |