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

Crash in the middle of importing new tree.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Cannot Reproduce
    • all
    • unscheduled
    • libsvn_ra_svn
    • None
    • Windows 2000

    Description

      I just started a new repository, and was about to make my second commit.
      It initially worked, but I got a crash (access violation) in the middle of the
      process.
      
      D:\s-wni\Java\cbe>svn import svn+ssh://duron/backup/data/svn-cbe/r1/head/java/cb
      e
      Adding         src
      Adding         src\dl
      Adding         src\dl\util
      Adding         src\dl\util\build.xml
      Adding         src\dl\util\concurrent
      Adding         src\dl\util\concurrent\Barrier.java
      Adding         src\dl\util\concurrent\BoundedBuffer.java
      Adding         src\dl\util\concurrent\BoundedChannel.java
      Adding         src\dl\util\concurrent\BoundedLinkedQueue.java
      ...
      then suddently a window popup telling me SVN crashed.
      I don't have the sources, but here might be some relevent info:
      
      __________
      BACKTRACE:
      00000000()
      writebuf_output(svn_ra_svn_conn_st * 0x00433f47, apr_pool_t * 0x00936258, const
      char * 0x0093f278, unsigned int 0) line 164 + 15 bytes
      writebuf_flush(svn_ra_svn_conn_st * 0x00936258, apr_pool_t * 0x0093f278) line
      183 + 35 bytes
      writebuf_write(svn_ra_svn_conn_st * 0x00434026, apr_pool_t * 0x00936258, const
      char * 0x0093f278, unsigned int 4900956) line 196 + 9 bytes
      svn_ra_svn_end_list(svn_ra_svn_conn_st * 0x00936258, apr_pool_t * 0x0093f278)
      line 390 + 22 bytes
      vwrite_tuple(svn_ra_svn_conn_st * 0x00434ffc, apr_pool_t * 0x00936258, const
      char * 0x0093f278, char * 0x004ac5e2) line 464 + 7 bytes
      svn_ra_svn_write_cmd(svn_ra_svn_conn_st * 0x00936258, apr_pool_t * 0x0093f278,
      const char * 0x004acb90 `string', const char * 0x004ac5e0 `string') line 800 +
      17 bytes
      ra_svn_svndiff_handler(void * 0x0093f490, const char * 0x004bbf34 `string',
      unsigned int * 0x0012f744) line 253 + 37 bytes
      svn_stream_write(svn_stream_t * 0x0093f750, const char * 0x004bbf34 `string',
      unsigned int * 0x0012f744) line 103 + 20 bytes
      window_handler(svn_txdelta_window_t * 0x0042552c, void * 0x0097e520) line 118 +
      26 bytes
      svn_txdelta_send_txstream(svn_txdelta_stream_t * 0x004254b5, svn_error *
      (svn_txdelta_window_t *, void *)* 0x0093f770, void * 0x00486ab0
      window_handler(svn_txdelta_window_t *, void *), apr_pool_t * 0x009742c0) line
      601 + 8 bytes
      svn_txdelta_send_stream(svn_stream_t * 0x0093f720, svn_error *
      (svn_txdelta_window_t *, void *)* 0x00486ab0 window_handler(svn_txdelta_window_t
      *, void *), void * 0x009742c0, unsigned char * 0x0012f86c, apr_pool_t *
      0x0093f770) line 574
      send_file_contents(const char * 0x00486ab0 window_handler(svn_txdelta_window_t
      *, void *), void * 0x0093f490, const svn_delta_editor_t * 0x00938d20, unsigned
      char * 0x0012f86c, apr_pool_t * 0x009742c0) line 75 + 22 bytes
      import_file(const svn_delta_editor_t * 0x00417a36, void * 0x00938d20, const char
      * 0x0093f4a0, const char * 0x0093f2c8, svn_client_ctx_t * 0x0093f2f8, apr_pool_t
      * 0x0012fe08) line 145 + 18 bytes
      import_dir(const svn_delta_editor_t * 0x004179f7, void * 0x00938d20, const char
      * 0x00976420, const char * 0x009762d0, int 9921264, apr_hash_t * 0x00000000,
      svn_client_ctx_t * 0x0032a038, apr_pool_t * 0x0012fe08) line 285 + 22 bytes
      import_dir(const svn_delta_editor_t * 0x004179f7, void * 0x00938d20, const char
      * 0x0093d3d0, const char * 0x0093d2b0, int 9687752, apr_hash_t * 0x00000000,
      svn_client_ctx_t * 0x0032a038, apr_pool_t * 0x00976420) line 276 + 35 bytes
      import_dir(const svn_delta_editor_t * 0x004179f7, void * 0x00938d20, const char
      * 0x0093b390, const char * 0x0093b2a8, int 9679544, apr_hash_t * 0x00000000,
      svn_client_ctx_t * 0x0032a038, apr_pool_t * 0x0093d3d0) line 276 + 35 bytes
      import_dir(const svn_delta_editor_t * 0x004179f7, void * 0x00938d20, const char
      * 0x00939360, const char * 0x009392a0, int 9671336, apr_hash_t * 0x00000000,
      svn_client_ctx_t * 0x0032a038, apr_pool_t * 0x0093b390) line 276 + 35 bytes
      import_dir(const svn_delta_editor_t * 0x004179f7, void * 0x00938d20, const char
      * 0x00934330, const char * 0x00934290, int 9650840, apr_hash_t * 0x00000000,
      svn_client_ctx_t * 0x0032a038, apr_pool_t * 0x00939360) line 276 + 35 bytes
      import_dir(const svn_delta_editor_t * 0x00417592, void * 0x00938d20, const char
      * 0x00931778, const char * 0x004bf9a8 `string', int 4979112, apr_hash_t *
      0x00000000, svn_client_ctx_t * 0x0032a038, apr_pool_t * 0x00934330) line 276 +
      35 bytes
      import(const char * 0x004173a3, const char * 0x004bf9a8 `string', const
      svn_delta_editor_t * 0x00000000, void * 0x00938d20, int 9669984, apr_hash_t *
      0x00000000, svn_client_ctx_t * 0x0032a038, apr_pool_t * 0x0012fe08) line 452 +
      38 bytes
      svn_client_import(svn_client_commit_info_t * * 0x004020cb, const char *
      0x0012fcec, const char * 0x004bf9a8 `string', int 3317624, svn_client_ctx_t *
      0x00000000, apr_pool_t * 0x0012fe08) line 663 + 41 bytes
      svn_cl__import(apr_getopt_t * 0x00405ef3, void * 0x00329dc8, apr_pool_t *
      0x00329f78) line 119 + 26 bytes
      main(int 4653843, const char * const * 0x00000003) line 1231 + 14 bytes
      SVN! mainCRTStartup + 227 bytes
      
      ______________
      CRASH LOCATION
      
      --- C:\Home\brane\src\svn\subversion-0.34.0\subversion\libsvn_ra_svn\marshal.c 
      --------------------------------------------
      writebuf_output:
      00433E40   mov         eax,dword ptr [esp+10h]
      00433E44   push        ebx
      00433E45   push        ebp
      00433E46   push        esi
      00433E47   mov         esi,dword ptr [esp+18h]
      00433E4B   xor         ebx,ebx
      00433E4D   add         eax,esi
      00433E4F   push        edi
      00433E50   cmp         esi,eax
      00433E52   mov         dword ptr [esp+20h],eax
      00433E56   jae         writebuf_output+0A7h (00433ee7)
      00433E5C   mov         edi,dword ptr [esp+14h]
      00433E60   jmp         writebuf_output+26h (00433e66)
      00433E62   mov         eax,dword ptr [esp+20h]
      00433E66   sub         eax,esi
      00433E68   mov         dword ptr [esp+1Ch],eax
      00433E6C   mov         eax,dword ptr [edi]
      00433E6E   test        eax,eax
      00433E70   je          writebuf_output+40h (00433e80)
      00433E72   lea         ecx,[esp+1Ch]
      00433E76   push        ecx
      00433E77   push        esi
      00433E78   push        eax
      00433E79   call        apr_socket_send (00473bc0)
      00433E7E   jmp         writebuf_output+4Fh (00433e8f)
      00433E80   mov         eax,dword ptr [edi+8]
      00433E83   lea         edx,[esp+1Ch]
      00433E87   push        edx
      00433E88   push        esi
      00433E89   push        eax
      00433E8A   call        apr_file_write (0040eac0)
      00433E8F   mov         ebp,eax
      00433E91   mov         eax,dword ptr [esp+1Ch]
      00433E95   test        eax,eax
      00433E97   jne         writebuf_output+8Bh (00433ecb)
      00433E99   test        ebx,ebx
      00433E9B   jne         writebuf_output+6Fh (00433eaf)
      00433E9D   mov         ecx,dword ptr [esp+18h]
      00433EA1   push        ebx
      00433EA2   push        ecx
      00433EA3   call        svn_pool_create_ex (0043c680)
      00433EA8   add         esp,8
      00433EAB   mov         ebx,eax
      00433EAD   jmp         writebuf_output+75h (00433eb5)
      00433EAF   push        ebx
      00433EB0   call        apr_pool_clear (00408190)
      00433EB5   mov         edx,dword ptr [edi+2028h]
      00433EBB   push        edx
      00433EBC   push        ebx
      00433EBD   push        edi
      00433EBE   call        dword ptr [edi+2024h]
      
      HERE(or just before) ===> 00433EC4   add         esp,0Ch
      
      00433EC7   test        eax,eax
      00433EC9   jne         writebuf_output+0A9h (00433ee9)
      00433ECB   test        ebp,ebp
      00433ECD   jne         writebuf_output+0AEh (00433eee)
      00433ECF   mov         ecx,dword ptr [esp+1Ch]
      00433ED3   mov         eax,dword ptr [esp+20h]
      00433ED7   add         esi,ecx
      00433ED9   cmp         esi,eax
      00433EDB   jb          writebuf_output+22h (00433e62)
      00433EDD   test        ebx,ebx
      00433EDF   je          writebuf_output+0A7h (00433ee7)
      00433EE1   push        ebx
      00433EE2   call        apr_pool_destroy (004082a0)
      00433EE7   xor         eax,eax
      00433EE9   pop         edi
      00433EEA   pop         esi
      00433EEB   pop         ebp
      00433EEC   pop         ebx
      00433EED   ret
      00433EEE   push        0A7h
      00433EF3   push        offset string "C:\\Home\\brane\\src\\svn\\subversion"...
      (004ac7e4)
      00433EF8   call        svn_error__locate (0043c320)
      00433EFD   push        offset string "Write failure" (004ac838)
      00433F02   push        0
      00433F04   push        ebp
      00433F05   call        svn_error_create (0043c340)
      00433F0A   add         esp,14h
      00433F0D   pop         edi
      00433F0E   pop         esi
      00433F0F   pop         ebp
      00433F10   pop         ebx
      00433F11   ret
      

      Original issue reported by cberger

      Attachments

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: