couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Lenz (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (COUCHDB-95) HTTP/mochiweb failures when tested via Safari
Date Fri, 25 Jul 2008 16:39:31 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christopher Lenz resolved COUCHDB-95.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.8.1

This was fixed in r679636.

> HTTP/mochiweb failures when tested via Safari
> ---------------------------------------------
>
>                 Key: COUCHDB-95
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-95
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>    Affects Versions: 0.8
>         Environment: Running test suite from Safari on OS X with a local couchdb instance
>            Reporter: Damien Katz
>            Assignee: Damien Katz
>             Fix For: 0.8.1
>
>
> The tests randomly fail, but from Safari they seem to fail much more often than other
browsers. We think it's a timing bug inside mochiweb, and Safari has a fast javascript engine
and triggers it more reliably.
> Typically when there is a test failure, an error like this is reported at the Erlang
console:
> [error] [<0.2821.0>] {error_report,<0.24.0>,
>     {<0.2821.0>,crash_report,
>      [[{pid,<0.2821.0>},
>        {registered_name,[]},
>        {error_info,
>            {error,
>                {case_clause,{error,einval}},
>                [{mochiweb_request,get,2},
>                 {couch_httpd,handle_request,2},
>                 {mochiweb_http,headers,4},
>                 {proc_lib,init_p,5}]}},
>        {initial_call,
>            {mochiweb_socket_server,acceptor_loop,
>                [{<0.110.0>,#Port<0.164>,#Fun<mochiweb_http.1.62821608>}]}},
>        {ancestors,[couch_httpd,couch_server_sup,<0.31.0>]},
>        {messages,[]},
>        {links,[<0.110.0>,#Port<0.369>]},
>        {dictionary,[{mochiweb_request_qs,[{"rev","2421655930"}]}]},
>        {trap_exit,false},
>        {status,running},
>        {heap_size,4181},
>        {stack_size,23},
>        {reductions,79705}],
>       []]}}
> [error] [<0.110.0>] {error_report,<0.24.0>,
>     {<0.110.0>,std_error,
>      {mochiweb_socket_server,235,
>          {child_error,{case_clause,{error,einval}}}}}}
> =ERROR REPORT==== 15-Jul-2008::13:54:26 ===
> {mochiweb_socket_server,235,
>                         {child_error,{case_clause,{error,einval}}}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message