[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_client_url_from_path2

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Mon, 18 Jun 2012 22:37:57 +0300

I think it's a bug to pass url=NULL to svn_client_url_from_path2(). Are
you saying there is another bug here?

Stefan Küng wrote on Mon, Jun 18, 2012 at 21:04:53 +0200:
> Hi,
>
> There's an access violation happening in svn_client_url_from_path2().
> Stacktrace attached.
>
> Seems there's a situation where work_del_relpath can be NULL. Can't
> figure out however what that situation exactly is.
>
> Crash dump available here:
> https://www.crash-server.com/Problem.aspx?ClientID=tsvn&ProblemID=1192
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.net
>

> libsvn_tsvn.dll!svn_relpath_dirname(const char * relpath=0x0000000000000000, apr_pool_t * pool=0x0000000000000000) Line 1238 C
> > libsvn_tsvn.dll!read_url_txn(void * baton=0x0000000005c7eb50, svn_wc__db_wcroot_t * wcroot=0x0000000000000000, const char * local_relpath=0x0000000000000000, apr_pool_t * scratch_pool=0x0000000000000000) Line 7419 C
> libsvn_tsvn.dll!svn_sqlite__with_lock(svn_sqlite__db_t * db=0x0000000000000000, svn_error_t * (void *, svn_sqlite__db_t *, apr_pool_t *) * cb_func=0x0000000005c7ec28, void * cb_baton=0x0000000000000000, apr_pool_t * scratch_pool=0x0000000000000000) Line 1117 C
> libsvn_tsvn.dll!svn_wc__db_with_txn(svn_wc__db_wcroot_t * wcroot=0x0000000005c7eb40, const char * local_relpath=0x0000000005c7eb48, svn_error_t * (void *, svn_wc__db_wcroot_t *, const char *, apr_pool_t *) * cb_func=0x0000000000000000, void * cb_baton=0x0000000000000000, apr_pool_t * scratch_pool=0x0000000000000000) Line 203 C
> libsvn_tsvn.dll!svn_wc__db_read_url(const char * * url=0x0000000000000000, svn_wc__db_t * db=0x0000000000000000, const char * local_abspath=0x0000000005c7ec28, apr_pool_t * result_pool=0x0000000000000000, apr_pool_t * scratch_pool=0x0000000000000000) Line 7502 C
> libsvn_tsvn.dll!svn_wc__node_get_url(const char * * url=0x0000000000000000, svn_wc_context_t * wc_ctx=0x0000000000000000, const char * local_abspath=0x0000000005c7ec28, apr_pool_t * result_pool=0x0000000000000000, apr_pool_t * scratch_pool=0x0000000000000000) Line 356 C
> libsvn_tsvn.dll!svn_client_url_from_path2(const char * * url=0x0000000000000000, const char * path_or_url=0x0000000000000000, svn_client_ctx_t * ctx=0x0000000005c7ec40, apr_pool_t * result_pool=0x0000000000000000, apr_pool_t * scratch_pool=0x0000000000000000) Line 57 C
Received on 2012-06-18 21:39:12 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.