[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: crash in svn_ra_serf__credentials_callback

From: Lieven Govaerts <lgo_at_apache.org>
Date: Fri, 9 Aug 2013 21:02:48 +0200

Hi,

these crashes can be explained by serf issue 120: "Error with ssl
tunnel over proxy with KeepAlive off and Basic authentication".
We're assuming here that these users were using a proxy with KeepAlive
Off active (at least for the CONNECT request), but it's not possible
to see that in this stack trace.

If you can contact one of these users to verify this potential
scenario that'd be great, otherwise we'll have to see if it still
happens with tsvn+serf 1.3.1.

Lieven

On Fri, Jul 26, 2013 at 7:24 PM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> Hi,
>
> And yet another crash, this time in svn_ra_serf__credentials_callback:
> https://www.crash-server.com/Problem.aspx?ClientID=tsvn&ProblemID=31507
>
>> libsvn_tsvn.dll!svn_ra_serf__credentials_callback(char * *
>> username=0xffffffffffffffff, char * * password=0x0000000000000191,
>> serf_request_t * request=0x000000000338a238, void *
>> baton=0x0000000003bd1fa0, int code=401, const char *
>> authn_type=0x000007fef6152f24, const char * realm=0x0000000003bd24d8,
>> apr_pool_t * pool=0x00000000033a02d8) Line 1743 C
>> libsvn_tsvn.dll!serf__handle_basic_auth(int code=401, serf_request_t *
>> request=0x00000000033a02d8, serf_bucket_t * response=0x000007fef60e1a90,
>> const char * auth_hdr=0x0000000073502585, const char *
>> auth_attr=0x000000000338e39e, void * baton=0x000000000338c2b0, apr_pool_t *
>> pool=0x0000000003378198) Line 96 C
>> libsvn_tsvn.dll!handle_auth_headers(int code=54035752, void *
>> baton=0x000000000338c2b0, apr_hash_t * hdrs=0x000000000338e2c0,
>> serf_request_t * request=0x000000000338a238, serf_bucket_t *
>> response=0x0000000003388528, apr_pool_t * pool=0x0000000000000191) Line 189
>> C
>> libsvn_tsvn.dll!dispatch_auth(int code=401, serf_request_t *
>> request=0x0000000000000000, serf_bucket_t * response=0x000000000338c2b0,
>> void * baton=0x0000000003388528, apr_pool_t * pool=0x000000000338e248) Line
>> 299 C
>> libsvn_tsvn.dll!serf__handle_auth_response(int *
>> consumed_response=0x0000000000000000, serf_request_t *
>> request=0x0000000073503368, serf_bucket_t * response=0x00000000033942b4,
>> void * baton=0x0000000000000002, apr_pool_t * pool=0x000000000338e248) Line
>> 352 C
>> libsvn_tsvn.dll!handle_response(serf_request_t *
>> request=0x0000000000000001, apr_pool_t * pool=0x0000000000000000) Line 901
>> C
>> libsvn_tsvn.dll!read_from_connection(serf_connection_t *
>> conn=0x000000000338e248) Line 1096 C
>> libsvn_tsvn.dll!serf__process_connection(serf_connection_t *
>> conn=0x0000000003bd1fa0, short events=0) Line 1209 C
>> libsvn_tsvn.dll!serf_event_trigger(serf_context_t * s=0x0000000003bd1fa0,
>> void * serf_baton=0x0000000003378210, const apr_pollfd_t *
>> desc=0x00000000033821e8) Line 227 C
>> libsvn_tsvn.dll!serf_context_run(serf_context_t * ctx=0x0000000003376270,
>> int duration=53969424, apr_pool_t * pool=0x0000000003378210) Line 295 C
>> libsvn_tsvn.dll!svn_ra_serf__context_run_wait(int *
>> done=0x00000000033821e8, svn_ra_serf__session_t * sess=0x0000000003376188,
>> apr_pool_t * scratch_pool=0x0000000003376628) Line 738 C
>> libsvn_tsvn.dll!svn_ra_serf__exchange_capabilities(svn_ra_serf__session_t
>> * serf_sess=0x0000000003376520, const char * *
>> corrected_url=0x0000000004e5f391, apr_pool_t * pool=0x0000000003bd1cf8) Line
>> 491 C
>> libsvn_tsvn.dll!svn_ra_serf__open(svn_ra_session_t *
>> session=0x0000000003376248, const char * * corrected_url=0x00000000033764c0,
>> const char * session_URL=0x0000000003376248, const svn_ra_callbacks2_t *
>> callbacks=0x000000000337a1a8, void * callback_baton=0x0000000003371ad8,
>> apr_hash_t * config=0x00000000033702a0, apr_pool_t *
>> pool=0x0000000003376188) Line 522 C
>> libsvn_tsvn.dll!svn_ra_open4(svn_ra_session_t * *
>> session_p=0x0000000004e5f680, const char * *
>> corrected_url_p=0x0000000004e5f5c0, const char *
>> repos_URL=0x0000000000000002, const char * uuid=0x0000000000000000, const
>> svn_ra_callbacks2_t * callbacks=0x0000000003371b00, void *
>> callback_baton=0x0000000003371ad8, apr_hash_t * config=0x00000000033702a0,
>> apr_pool_t * pool=0x0000000003370158) Line 482 C
>> libsvn_tsvn.dll!svn_client__open_ra_session_internal(svn_ra_session_t * *
>> ra_session=0x0000000004e5f680, const char * *
>> corrected_url=0x0000000004e5f678, const char * base_url=0x0000000004e5f950,
>> const char * base_dir_abspath=0x0000000100000001, const apr_array_header_t *
>> commit_items=0x0000000000000000, int write_dav_props=0, int
>> read_dav_props=0, svn_client_ctx_t * ctx=0x0000000003370df0, apr_pool_t *
>> result_pool=0x0000000003370158, apr_pool_t *
>> scratch_pool=0x0000000003370158) Line 393 C
>> libsvn_tsvn.dll!svn_client_info3(const char *
>> abspath_or_url=0x0000000004e5fa30, const svn_opt_revision_t *
>> peg_revision=0x00000000033f4118, const svn_opt_revision_t *
>> revision=0x0000000004e5f950, svn_depth_t depth=82180656, int
>> fetch_excluded=1, int fetch_actual_only=1, const apr_array_header_t *
>> changelists=0x0000000000000000, svn_error_t * (void *, const char *, const
>> svn_client_info2_t *, apr_pool_t *) * receiver=0x000000013fa20980, void *
>> receiver_baton=0x0000000004e5fa30, svn_client_ctx_t *
>> ctx=0x0000000003370df0, apr_pool_t * pool=0x0000000003370158) Line 300 C
>
>
> Seems the session is NULL when svn_ra_serf__credentials_callback() is
> called.
>
>
> Stefan
>
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest interface to (Sub)version control
> /_/ \_\ http://tortoisesvn.net
Received on 2013-08-09 21:03:44 CEST

This is an archived mail posted to the Subversion Dev mailing list.