Someone refactored couch_native_process.erl and forgot to update the
design doc interaction thinger with random functions.

In other words, it expects an argument like {_, Func} but gets
["filters", "foo"] IIRC.

On Thu, Apr 15, 2010 at 8:18 PM, Ivan Bodunov <[email protected]> wrote:
> Hi,
>
> After I wrote my filter in JavaScript I decided to rewrite it in Erlang and
> faced some problems.
> Even the simplest possible filter written in Erlang causes crashes in
> CouchDB.
>
> Filter is
>    "filters": { "foo": "fun({Doc},Req) -> true end." }
>
> Command to trigger the filter is
>    # curl -X GET http://localhost:5984/mytemp/_changes?filter=erl/foo
>
> Following link contains the crash report:
> http://friendpaste.com/6eFpPOtTaaSRiXEvaUEmrZ
>
> CouchDB 0.11 on Mac.
>
> Ivan
>

Reply via email to