couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Dionne (Commented) (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1424) make check hangs when compiling with R15B
Date Sun, 04 Mar 2012 20:18:59 GMT


Bob Dionne commented on COUCHDB-1424:

I'm not able to consistently see it hang on 220-compaction-daemon.t  unless I disable the
sleep, in which case it hangs at arbitrary places as we've seen.

I looked at escript.erl a bit, comparing R15B to R14, and there have been no changes. If you
look at my_halt(Reason) [1] you can see where it could get into an infinite loop, and it's
not clear to me what status code the script returns when an error is thrown. Anyway is all
our cases I'm seeing it return 0 as expected so the next culprit might be Prove.

I notice also on this MBA that if I up the receive timeout in my_halt to 100ms or so, everything
runs fine with no hangs. I not sure why they use `receive after 1 -> ok end,` and `erlang:yield()`
in the same function, given what the documentation[2] says about the diff between the two.

Some more eyeballs might be helpful. I'll poke at this some more tomorrow if I have time.
My religion forbids me to touch Perl on Sunday.

> make check hangs when compiling with R15B
> -----------------------------------------
>                 Key: COUCHDB-1424
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Test Suite
>    Affects Versions: 1.2, 1.3
>            Reporter: Jan Lehnardt
> make check hangs when running under R15B. For me it is 160-vhosts.t where execution stops,
but if I recall correctly others have reported other tests. The crux here is that running
the tests individually succeeds.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message