You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sergey Azarkevich <az...@gmail.com> on 2013/09/12 08:53:56 UTC

svn.exe crashed when output of 'log' command interrupted

Reproduced on:

svn, version 1.8.4-dev (under development)
   compiled Aug 23 2013, 17:30:38 on x86-microsoft-windows

svn, version 1.8.3 (r1516576)
   compiled Aug 27 2013, 22:13:03 on x86-microsoft-windows

svn, version 1.8.0 (r1490375)
   compiled Jun 18 2013, 13:38:49 on x86/x86_64-microsoft-windows6.1.7601

Windows + cygwin.

Steps:

svn.exe log | less

show first N log entries. Then press 'q' for exit. svn.exe application
crashed.

Same crash for
svn.exe log | more


Crashed in apr\memory\unix\apr_pools.c line 681:

active = pool->active;

pool parameter not initialized:
pool = 0x3b0f363b552b0a7f {parent=??? child=??? sibling=??? ...}

Call stack:

> libapr_tsvn.dll!apr_palloc(apr_pool_t * pool, unsigned __int64 in_size)
Line 681 C
  libsvn_tsvn.dll!make_error_internal(int apr_err, svn_error_t * child)
Line 118 C
  libsvn_tsvn.dll!svn_error__trace(const char * file, long line,
svn_error_t * err) Line 245 C
  libsvn_tsvn.dll!expat_response_handler(serf_request_t * request,
serf_bucket_t * response, void * baton, apr_pool_t * scratch_pool) Line 2634
C
  libsvn_tsvn.dll!handle_response(serf_request_t * request, serf_bucket_t *
response, svn_ra_serf__handler_t * handler, int * serf_status, apr_pool_t *
scratch_pool) Line 2122 C
  libsvn_tsvn.dll!handle_response_cb(serf_request_t * request,
serf_bucket_t * response, void * baton, apr_pool_t * scratch_pool) Line 2155
C
  libsvn_tsvn.dll!handle_response(serf_request_t * request, apr_pool_t *
pool) Line 941 C
  libsvn_tsvn.dll!read_from_connection(serf_connection_t * conn) Line 1127 C
  libsvn_tsvn.dll!serf__process_connection(serf_connection_t * conn, short
events) Line 1248 C
  libsvn_tsvn.dll!serf_event_trigger(serf_context_t * s, void * serf_baton,
const apr_pollfd_t * desc) Line 227 C
  libsvn_tsvn.dll!serf_context_run(serf_context_t * ctx, int duration,
apr_pool_t * pool) Line 294 C
  libsvn_tsvn.dll!svn_ra_serf__context_run_wait(int * done,
svn_ra_serf__session_t * sess, apr_pool_t * scratch_pool) Line 819 C
  libsvn_tsvn.dll!svn_ra_serf__context_run_one(svn_ra_serf__handler_t *
handler, apr_pool_t * scratch_pool) Line 889 C
  libsvn_tsvn.dll!svn_ra_serf__get_log(svn_ra_session_t * ra_session, const
apr_array_header_t * paths, long start, long end, int limit, int
discover_changed_paths, int strict_node_history, int
include_merged_revisions, const apr_array_header_t * revprops, svn_error_t
* (void *, svn_log_entry_t *, apr_pool_t *) * receiver, void *
receiver_baton, apr_pool_t * pool) Line 595 C
  libsvn_tsvn.dll!svn_ra_get_log2(svn_ra_session_t * session, const
apr_array_header_t * paths, long start, long end, int limit, int
discover_changed_paths, int strict_node_history, int
include_merged_revisions, const apr_array_header_t * revprops, svn_error_t
* (void *, svn_log_entry_t *, apr_pool_t *) * receiver, void *
receiver_baton, apr_pool_t * pool) Line 910 C
  libsvn_tsvn.dll!run_ra_get_log(apr_array_header_t * revision_ranges,
apr_array_header_t * paths, apr_array_header_t * log_segments,
svn_client__pathrev_t * actual_loc, svn_ra_session_t * ra_session, const
apr_array_header_t * targets, int limit, int discover_changed_paths, int
strict_node_history, int include_merged_revisions, const apr_array_header_t
* revprops, svn_error_t * (void *, svn_log_entry_t *, apr_pool_t *) *
real_receiver, void * real_receiver_baton, svn_client_ctx_t * ctx,
apr_pool_t * scratch_pool) Line 782 C
  libsvn_tsvn.dll!svn_client_log5(const apr_array_header_t * targets, const
svn_opt_revision_t * peg_revision, const apr_array_header_t *
opt_rev_ranges, int limit, int discover_changed_paths, int
strict_node_history, int include_merged_revisions, const apr_array_header_t
* revprops, svn_error_t * (void *, svn_log_entry_t *, apr_pool_t *) *
real_receiver, void * real_receiver_baton, svn_client_ctx_t * ctx,
apr_pool_t * pool) Line 894 C
  svn.exe!svn_cl__log(apr_getopt_t * os, void * baton, apr_pool_t * pool)
Line 868 C
  svn.exe!sub_main(int argc, const char * * argv, apr_pool_t * pool) Line
2878 C
  svn.exe!main(int argc, const char * * argv) Line 2969 C
  svn.exe!__tmainCRTStartup() Line 536 C
  svn.exe!mainCRTStartup() Line 377 C


I also has minidump, but it is 60MB. I can send it by request.

Re: svn.exe crashed when output of 'log' command interrupted

Posted by Ivan Zhakov <iv...@visualsvn.com>.
On Fri, Sep 13, 2013 at 3:43 PM, Ivan Zhakov <iv...@visualsvn.com> wrote:
> On Thu, Sep 12, 2013 at 10:53 AM, Sergey Azarkevich
> <az...@gmail.com> wrote:
>>
>> Reproduced on:
>>
>> svn, version 1.8.4-dev (under development)
>>    compiled Aug 23 2013, 17:30:38 on x86-microsoft-windows
>>
>> svn, version 1.8.3 (r1516576)
>>    compiled Aug 27 2013, 22:13:03 on x86-microsoft-windows
>>
>> svn, version 1.8.0 (r1490375)
>>    compiled Jun 18 2013, 13:38:49 on x86/x86_64-microsoft-windows6.1.7601
>>
>> Windows + cygwin.
>>
>> Steps:
>>
>> svn.exe log | less
>>
>> show first N log entries. Then press 'q' for exit. svn.exe application crashed.
>>
>> Same crash for
>> svn.exe log | more
>>
> Filed as issue #4425:
> http://subversion.tigris.org/issues/show_bug.cgi?id=4425
>
> Simple fix is coming soon.
>
Fixed in r1522892 and nominated for backport to 1.8.x.

-- 
Ivan Zhakov
CTO | VisualSVN | http://www.visualsvn.com

Re: svn.exe crashed when output of 'log' command interrupted

Posted by Ivan Zhakov <iv...@visualsvn.com>.
On Thu, Sep 12, 2013 at 10:53 AM, Sergey Azarkevich
<az...@gmail.com> wrote:
>
> Reproduced on:
>
> svn, version 1.8.4-dev (under development)
>    compiled Aug 23 2013, 17:30:38 on x86-microsoft-windows
>
> svn, version 1.8.3 (r1516576)
>    compiled Aug 27 2013, 22:13:03 on x86-microsoft-windows
>
> svn, version 1.8.0 (r1490375)
>    compiled Jun 18 2013, 13:38:49 on x86/x86_64-microsoft-windows6.1.7601
>
> Windows + cygwin.
>
> Steps:
>
> svn.exe log | less
>
> show first N log entries. Then press 'q' for exit. svn.exe application crashed.
>
> Same crash for
> svn.exe log | more
>
Filed as issue #4425:
http://subversion.tigris.org/issues/show_bug.cgi?id=4425

Simple fix is coming soon.


-- 
Ivan Zhakov
CTO | VisualSVN | http://www.visualsvn.com