You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Sam Bisbee (Closed) (JIRA)" <ji...@apache.org> on 2012/02/21 23:52:50 UTC

[jira] [Closed] (COUCHDB-95) HTTP/mochiweb failures when tested via Safari

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

Sam Bisbee closed COUCHDB-95.
-----------------------------


Resolved for a while. Closing.
                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira