Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3981

serf infinite loop over https

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • ---
    • 1.8.0
    • libsvn_ra_serf
    • None

    Description

      While timing checkouts over https I get occassional stalls with serf, I don't
      get stalls with neon.  I'm using Subversion trunk as a dataset, I'm running
      trunk mod_dav_svn and svn.  The client backtrace is:
      
      #0  0x00007f863094fc6a in link_requests ()
         from /usr/local/serf/lib/libserf-2.so.0
      #1  0x00007f8630950076 in reset_connection ()
         from /usr/local/serf/lib/libserf-2.so.0
      #2  0x00007f8630950e8a in read_from_connection ()
         from /usr/local/serf/lib/libserf-2.so.0
      #3  0x00007f8630950f50 in serf__process_connection ()
         from /usr/local/serf/lib/libserf-2.so.0
      #4  0x00007f863094eebc in serf_event_trigger ()
         from /usr/local/serf/lib/libserf-2.so.0
      #5  0x00007f863094f02e in serf_context_run ()
         from /usr/local/serf/lib/libserf-2.so.0
      #6  0x00007f86337c8536 in finish_report (report_baton=0x1ec0b30, 
          pool=0x1e58358) at ../src/subversion/libsvn_ra_serf/update.c:2372
      #7  0x00007f863594ad65 in svn_wc_crawl_revisions5 (wc_ctx=0x1e30d50, 
          local_abspath=0x1e58498 "/home/pm/sw/subversion/obj/xx", 
          reporter=0x7f86339d99e0, report_baton=0x1ec0b30, restore_files=1, 
          depth=svn_depth_unknown, honor_depth_exclude=1, 
          depth_compatibility_trick=0, use_commit_times=0, 
          cancel_func=0x41383b <svn_cl__check_cancel>, cancel_baton=0x0, 
          notify_func=0x4184d3 <notify>, notify_baton=0x1e5e428, 
          scratch_pool=0x1e58358) at ../src/subversion/libsvn_wc/adm_crawler.c:861
      #8  0x00007f8635c71b16 in update_internal (result_rev=0x0, 
          local_abspath=0x1e58498 "/home/pm/sw/subversion/obj/xx", 
          anchor_abspath=0x1e59cf0 "/home/pm/sw/subversion/obj/xx", 
          revision=0x7fff91099990, depth=svn_depth_unknown, depth_is_sticky=0, 
          ignore_externals=0, allow_unver_obstructions=0, adds_as_modification=1, 
          timestamp_sleep=0x7fff91099ac4, notify_summary=1, ctx=0x1e30c98, 
          pool=0x1e58358) at ../src/subversion/libsvn_client/update.c:399
      #9  0x00007f8635c720fc in svn_client__update_internal (result_rev=0x0, 
          local_abspath=0x1e58498 "/home/pm/sw/subversion/obj/xx", 
          revision=0x7fff91099c60, depth=svn_depth_unknown, depth_is_sticky=1, 
          ignore_externals=0, allow_unver_obstructions=0, adds_as_modification=1, 
          make_parents=0, innerupdate=0, timestamp_sleep=0x7fff91099ac4, 
          ctx=0x1e30c98, pool=0x1e58358)
          at ../src/subversion/libsvn_client/update.c:541
      #10 0x00007f8635c173b2 in svn_client__checkout_internal (result_rev=0x0, 
          url=0x1e5efe0 "https://localhost:8887/mirror/subversion/trunk", 
          local_abspath=0x1e58498 "/home/pm/sw/subversion/obj/xx", 
          peg_revision=0x7fff91099c50, revision=0x7fff91099c60, ra_cache=0x0, 
          depth=svn_depth_unknown, ignore_externals=0, allow_unver_obstructions=0, 
          timestamp_sleep=0x0, ctx=0x1e30c98, pool=0x1e58358)
          at ../src/subversion/libsvn_client/checkout.c:215
      #11 0x00007f8635c174fe in svn_client_checkout3 (result_rev=0x0, 
          URL=0x1e5efe0 "https://localhost:8887/mirror/subversion/trunk", 
          path=0x1e5f080 "xx", peg_revision=0x7fff91099c50, revision=0x7fff91099c60, 
          depth=svn_depth_unknown, ignore_externals=0, allow_unver_obstructions=0, 
          ctx=0x1e30c98, pool=0x1e58358)
          at ../src/subversion/libsvn_client/checkout.c:255
      #12 0x0000000000408971 in svn_cl__checkout (os=0x1e304c8, 
          baton=0x7fff91099e50, pool=0x1e30278)
          at ../src/subversion/svn/checkout-cmd.c:161
      #13 0x0000000000416750 in main (argc=6, argv=0x7fff9109a218)
          at ../src/subversion/svn/main.c:2586
      
      
      I'll attach the server backtrace.
      

      Attachments

        1. 3_3981-serf.patch
          1 kB
          Justin Erenkrantz
        2. 2_gdb.txt
          34 kB
          Philip Martin
        3. 1_gdb.txt
          24 kB
          Philip Martin

        Issue Links

          Activity

            People

              Unassigned Unassigned
              philipm Philip Martin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: