[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-issues
Subject:    [Issue 4466] New - confusing error when socket is closed with mod_deflate enabled
From:       philip () tigris ! org
Date:       2014-01-27 19:15:58
Message-ID: iz4466 () subversion ! tigris ! org
[Download RAW message or body]

http://subversion.tigris.org/issues/show_bug.cgi?id=4466
                 Issue #|4466
                 Summary|confusing error when socket is closed with mod_deflate
                        | enabled
               Component|subversion
                 Version|trunk
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|libsvn_ra_serf
             Assigned to|issues@subversion
             Reported by|philip






------- Additional comments from philip@tigris.org Mon Jan 27 11:15:58 -0800 2014 -------
Configure Apache with "SetOutputFilter DEFLATE". Arrange for the Apache process
to die while sending a response, the client reports the error:

../src-1.8/subversion/svn/checkout-cmd.c:168,
../src-1.8/subversion/libsvn_client/checkout.c:197,
../src-1.8/subversion/libsvn_client/checkout.c:166,
../src-1.8/subversion/libsvn_client/update.c:614,
../src-1.8/subversion/libsvn_client/update.c:466,
../src-1.8/subversion/libsvn_wc/adm_crawler.c:845,
../src-1.8/subversion/libsvn_ra_serf/update.c:2899,
../src-1.8/subversion/libsvn_ra_serf/util.c:2183,
../src-1.8/subversion/libsvn_ra_serf/util.c:2164,
../src-1.8/subversion/libsvn_ra_serf/util.c:1726: (apr_err=120104)
svn: E120104: ra_serf: An error occurred during decompression

It's true that there was an error during decompression but the real error was
the socket read failing because the server closed the connection.

Trunk reports the same error:

../src/subversion/svn/checkout-cmd.c:168,
../src/subversion/libsvn_client/checkout.c:201,
../src/subversion/libsvn_client/checkout.c:170,
../src/subversion/libsvn_client/update.c:614,
../src/subversion/libsvn_client/update.c:466,
../src/subversion/libsvn_wc/adm_crawler.c:844,
../src/subversion/libsvn_ra_serf/update.c:2596,
../src/subversion/libsvn_ra_serf/update.c:2586,
../src/subversion/libsvn_ra_serf/update.c:2516,
../src/subversion/libsvn_ra_serf/util.c:872,
../src/subversion/libsvn_ra_serf/util.c:1399,
../src/subversion/libsvn_ra_serf/util.c:1380,
../src/subversion/libsvn_ra_serf/update.c:2327,
../src/subversion/libsvn_ra_serf/xml.c:1014: (apr_err=120104)
svn: E120104: ra_serf: An error occurred during decompression

The 1.7/neon client has a different error:

../src-1.7/subversion/svn/checkout-cmd.c:168: (apr_err=120108)
../src-1.7/subversion/libsvn_client/checkout.c:191: (apr_err=120108)
../src-1.7/subversion/libsvn_client/update.c:559: (apr_err=120108)
../src-1.7/subversion/libsvn_client/update.c:419: (apr_err=120108)
../src-1.7/subversion/libsvn_ra_serf/update.c:2416: (apr_err=120108)
../src-1.7/subversion/libsvn_ra_serf/update.c:2416: (apr_err=120108)
svn: E120108: Error retrieving REPORT (120108): APR does not understand this
error code

I'm using gdb to trigger the server error.  Set a breakpoint on
mod_dav_svn/reports/update.c:upd_add_file, do a checkout that sends lots of
files, after hitting the breakpoint a few times kill the Apache process.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=463&dsMessageId=3072150

To unsubscribe from this discussion, e-mail: [issues-unsubscribe@subversion.tigris.org].
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic