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

Re: Looking for config option to stop use of CryptoAPI (TSVN 1.7.1)

From: Joel Jirak <joel_at_jirak.us>
Date: Fri, 4 Nov 2011 14:26:04 -0400

>>> Can you try the next nightly build (>22232) and see if you still get
>>> crashes in the repobrowser?
>>>
>>
>> Still waiting on a nightly build.  r22219 is still the latest available.
>
> Ups, sorry. Working copy on the build server required a cleanup.
> win32 build is now online. Starting build for x64 now - should be up in
> about an hour.

I tried r22233 for win32. At first, I didn't see any crashes, even
though it was a bit erratic. Here's my first twenty attempts.
Sample runs, starting with a deleted auth cache, then opening the repo-browser
1. displays repo.
2. displays repo.
3. Pops up "Select Certificate" dialoug, I hit escape, displays repo
4-10 displays repo

Another set of sample runs:
1. displays repo
2. Pops up "Select Certificate" dialoug, I hit escape, displays repo
3. displays repo
4. displays repo
5. Pops up "Select Certificate" dialoug, I hit escape, displays repo
6-10. displays repo

So, no crashes yet, but as I continued to open repo-browser, I began
to see crashes.

Here's the stack from one crash I saw:
> ntdll.dll!7c911891()
         [Frames below may be incorrect and/or missing, no symbols loaded for
ntdll.dll]
         ntdll.dll!7c910979()
         ntdll.dll!7c910041()
         ntdll.dll!7c91005d()
         msvcr100.dll!78ab016a()
         libsvn_tsvn32.dll!CRYPTO_free() Line 392 C
         libsvn_tsvn32.dll!lh_free(svn_error_t * (__int64 *, const char *,
const char *, svn_sqlite__db_t *, apr_pool_t *) lh) Line 171 + 0x6
bytes C
         libsvn_tsvn32.dll!int_err_del() Line 373 + 0x6 bytes C
         TortoiseProc.exe!CTortoiseProcApp::~CTortoiseProcApp() Line 94 C++
         TortoiseProc.exe!`dynamic atexit destructor for 'theApp''() + 0xa bytes C++
         msvcr100.dll!78ac7a3c()
         msvcr100.dll!78ac7b1d()
         TortoiseProc.exe!__tmainCRTStartup() Line 518 C
         kernel32.dll!7c817077()
         TortoiseProc.exe!CSettingsLogCaches::WorkerThread(void * pVoid)
Line 315 + 0xf bytes C++
         00000409()

Here's another crash:
> ntdll.dll!7c9101b3()
         [Frames below may be incorrect and/or missing, no symbols loaded for
ntdll.dll]
         ntdll.dll!7c910041()
         ntdll.dll!7c91005d()
         msvcr100.dll!78ab0350()
         msvcr100.dll!78ab0726()
         msvcr100.dll!78ab0269()
         libsvn_tsvn32.dll!ne_malloc(unsigned int len) Line 57 + 0xc bytes C
         libsvn_tsvn32.dll!ne_hook_pre_send(ne_session_s * sess, void
(ne_request_s *, void *, ne_buffer *)* fn, void * userdata) Line 645
+ 0xb bytes C
         libsvn_tsvn32.dll!auth_register(ne_session_s * sess, int isproxy,
unsigned int protomask, const auth_class * ahc, const char * id, int
(void *, const char *, int, char *, char *)* creds, void * userdata)
Line 1634 C
         libsvn_tsvn32.dll!ne_add_server_auth(ne_session_s * sess, unsigned
int protocol, int (void *, const char *, int, char *, char *)* creds,
void * userdata) Line 1685 + 0x25 bytes C
         libsvn_tsvn32.dll!svn_ra_neon__open(svn_ra_session_t * session,
const char * * corrected_url, const char * repos_URL, const
svn_ra_callbacks2_t * callbacks, void * callback_baton, apr_hash_t *
config, apr_pool_t * pool) Line 972 + 0xd bytes C
         libsvn_tsvn32.dll!svn_ra_open4(svn_ra_session_t * * session_p, const
char * * corrected_url_p, const char * repos_URL, const char * uuid,
const svn_ra_callbacks2_t * callbacks, void * callback_baton,
apr_hash_t * config, apr_pool_t * pool) Line 496 + 0x43 bytes C
         libsvn_tsvn32.dll!svn_client__open_ra_session_internal(svn_ra_session_t
* * ra_session, const char * * corrected_url, const char * base_url,
const char * base_dir_abspath, const apr_array_header_t *
commit_items, int use_admin, int read_only_wc, svn_client_ctx_t * ctx,
apr_pool_t * pool) Line 335 + 0x31 bytes C
         libsvn_tsvn32.dll!svn_client__ra_session_from_path(svn_ra_session_t
* * ra_session_p, long * rev_p, const char * * url_p, const char *
path_or_url, const char * base_dir_abspath, const svn_opt_revision_t *
peg_revision_p, const svn_opt_revision_t * revision, svn_client_ctx_t
* ctx, apr_pool_t * pool) Line 475 + 0x2a bytes C
         libsvn_tsvn32.dll!svn_client_list2(const char * path_or_url, const
svn_opt_revision_t * peg_revision, const svn_opt_revision_t *
revision, svn_depth_t depth, unsigned int dirent_fields, int
fetch_locks, svn_error_t * (void *, const char *, const svn_dirent_t
*, const svn_lock_t *, const char *, apr_pool_t *)* list_func, void *
baton, svn_client_ctx_t * ctx, apr_pool_t * pool) Line 153 + 0x3b
bytes C
         TortoiseProc.exe!SVN::List(const CTSVNPath & url, const SVNRev &
revision, const SVNRev & pegrev, svn_depth_t depth, bool fetchlocks)
Line 1956 + 0x53 bytes C++
         TortoiseProc.exe!CRepositoryLister::CListQuery::InternalExecute()
Line 157 + 0x1f bytes C++
         TortoiseProc.exe!async::CJobBase::Execute() Line 84 C++
         TortoiseProc.exe!async::CJobScheduler::ThreadFunc(void * arg) Line 395 C++
         TortoiseProc.exe!async::CThread::ThreadFunc(void * arg) Line 42 +
0x9 bytes C++
         msvcr100.dll!78afc3d4()
         msvcr100.dll!78afc474()
         kernel32.dll!7c80b729()

And another:
> ntdll.dll!7c910c8e()
         [Frames below may be incorrect and/or missing, no symbols loaded for
ntdll.dll]
         ntdll.dll!7c91019b()
         msvcr100.dll!78ab0726()
         msvcr100.dll!78ab0733()
         ntdll.dll!7c90d97a()
         msvcr100.dll!78ab0269()
         libsvn_tsvn32.dll!default_malloc_ex() Line 79 + 0xb bytes C
         libsvn_tsvn32.dll!CRYPTO_malloc() Line 306 + 0x9 bytes C
         libsvn_tsvn32.dll!c2i_ASN1_OBJECT() Line 323 + 0x1b bytes C
         libsvn_tsvn32.dll!asn1_ex_c2i() Line 953 + 0x10 bytes C
         libsvn_tsvn32.dll!asn1_d2i_ex_primitive() Line 907 + 0x17 bytes C
         libsvn_tsvn32.dll!ASN1_item_ex_d2i() Line 199 + 0x24 bytes C
         libsvn_tsvn32.dll!asn1_template_noexp_d2i() Line 747 + 0x20 bytes C
         libsvn_tsvn32.dll!asn1_template_ex_d2i() Line 608 + 0xd bytes C
         libsvn_tsvn32.dll!ASN1_item_ex_d2i() Line 449 + 0x16 bytes C
         libsvn_tsvn32.dll!asn1_template_noexp_d2i() Line 747 + 0x20 bytes C
         libsvn_tsvn32.dll!asn1_template_ex_d2i() Line 608 + 0xd bytes C
         libsvn_tsvn32.dll!ASN1_item_ex_d2i() Line 449 + 0x16 bytes C
         libsvn_tsvn32.dll!asn1_template_noexp_d2i() Line 747 + 0x20 bytes C
         libsvn_tsvn32.dll!asn1_template_ex_d2i() Line 608 + 0xd bytes C
         libsvn_tsvn32.dll!ASN1_item_ex_d2i() Line 449 + 0x16 bytes C
         libsvn_tsvn32.dll!ASN1_item_d2i() Line 136 + 0x1a bytes C
         libsvn_tsvn32.dll!d2i_X509() Line 141 + 0x19 bytes C
         libsvn_tsvn32.dll!PEM_ASN1_read_bio() Line 81 + 0x18 bytes C
         libsvn_tsvn32.dll!PEM_ASN1_read(svn_error_t * (svn_error_t *
(svn_txdelta_window_t *, void *)* *, void * *, void *)* const d2i,
SA_AttrTarget name) Line 180 C
         libsvn_tsvn32.dll!PEM_read_X509() Line 67 + 0x23 bytes C
         libsvn_tsvn32.dll!ne_ssl_cert_read(const char * filename) Line 970 C
         libsvn_tsvn32.dll!svn_ra_neon__open(svn_ra_session_t * session,
const char * * corrected_url, const char * repos_URL, const
svn_ra_callbacks2_t * callbacks, void * callback_baton, apr_hash_t *
config, apr_pool_t * pool) Line 995 + 0x6 bytes C
         libsvn_tsvn32.dll!svn_ra_open4(svn_ra_session_t * * session_p, const
char * * corrected_url_p, const char * repos_URL, const char * uuid,
const svn_ra_callbacks2_t * callbacks, void * callback_baton,
apr_hash_t * config, apr_pool_t * pool) Line 496 + 0x43 bytes C
         libsvn_tsvn32.dll!svn_client__open_ra_session_internal(svn_ra_session_t
* * ra_session, const char * * corrected_url, const char * base_url,
const char * base_dir_abspath, const apr_array_header_t *
commit_items, int use_admin, int read_only_wc, svn_client_ctx_t * ctx,
apr_pool_t * pool) Line 335 + 0x31 bytes C
         libsvn_tsvn32.dll!svn_client__ra_session_from_path(svn_ra_session_t
* * ra_session_p, long * rev_p, const char * * url_p, const char *
path_or_url, const char * base_dir_abspath, const svn_opt_revision_t *
peg_revision_p, const svn_opt_revision_t * revision, svn_client_ctx_t
* ctx, apr_pool_t * pool) Line 475 + 0x2a bytes C
         libsvn_tsvn32.dll!svn_client_list2(const char * path_or_url, const
svn_opt_revision_t * peg_revision, const svn_opt_revision_t *
revision, svn_depth_t depth, unsigned int dirent_fields, int
fetch_locks, svn_error_t * (void *, const char *, const svn_dirent_t
*, const svn_lock_t *, const char *, apr_pool_t *)* list_func, void *
baton, svn_client_ctx_t * ctx, apr_pool_t * pool) Line 153 + 0x3b
bytes C
         TortoiseProc.exe!SVN::List(const CTSVNPath & url, const SVNRev &
revision, const SVNRev & pegrev, svn_depth_t depth, bool fetchlocks)
Line 1956 + 0x53 bytes C++
         TortoiseProc.exe!CRepositoryLister::CListQuery::InternalExecute()
Line 157 + 0x1f bytes C++
         TortoiseProc.exe!async::CJobBase::Execute() Line 84 C++
         TortoiseProc.exe!async::CJobScheduler::ThreadFunc(void * arg) Line 395 C++
         TortoiseProc.exe!async::CThread::ThreadFunc(void * arg) Line 42 +
0x9 bytes C++
         msvcr100.dll!78afc3d4()
         msvcr100.dll!78afc474()
         kernel32.dll!7c80b729()

And another:
> libsvn_tsvn32.dll!expand(svn_error_t * (__int64 *, const char *, const char *, svn_sqlite__db_t *, apr_pool_t *) lh, unsigned long nni) Line 334 + 0x2 bytes C
         libsvn_tsvn32.dll!lh_insert() Line 189 C
         libsvn_tsvn32.dll!int_err_set_item() Line 408 C
         libsvn_tsvn32.dll!ERR_load_ERR_strings() Line 666 + 0x1f bytes C
         libsvn_tsvn32.dll!ERR_load_strings() Line 684 C
         libsvn_tsvn32.dll!ERR_load_CSWIFT_strings() Line 128 + 0x12 bytes C
         libsvn_tsvn32.dll!bind_helper() Line 282 C
         libsvn_tsvn32.dll!ENGINE_load_cswift() Line 302 + 0x10 bytes C
         libsvn_tsvn32.dll!ENGINE_load_builtin_engines() Line 90 C
         libsvn_tsvn32.dll!SSL_CTX_new() Line 1680 C
         libsvn_tsvn32.dll!ne_ssl_context_create(int mode) Line 564 C
         libsvn_tsvn32.dll!ne_session_create(const char * scheme, const char
* hostname, unsigned int port) Line 181 C
         libsvn_tsvn32.dll!svn_ra_neon__open(svn_ra_session_t * session,
const char * * corrected_url, const char * repos_URL, const
svn_ra_callbacks2_t * callbacks, void * callback_baton, apr_hash_t *
config, apr_pool_t * pool) Line 833 C
         libsvn_tsvn32.dll!svn_ra_open4(svn_ra_session_t * * session_p, const
char * * corrected_url_p, const char * repos_URL, const char * uuid,
const svn_ra_callbacks2_t * callbacks, void * callback_baton,
apr_hash_t * config, apr_pool_t * pool) Line 496 + 0x43 bytes C
         libsvn_tsvn32.dll!svn_client__open_ra_session_internal(svn_ra_session_t
* * ra_session, const char * * corrected_url, const char * base_url,
const char * base_dir_abspath, const apr_array_header_t *
commit_items, int use_admin, int read_only_wc, svn_client_ctx_t * ctx,
apr_pool_t * pool) Line 335 + 0x31 bytes C
         libsvn_tsvn32.dll!svn_client__ra_session_from_path(svn_ra_session_t
* * ra_session_p, long * rev_p, const char * * url_p, const char *
path_or_url, const char * base_dir_abspath, const svn_opt_revision_t *
peg_revision_p, const svn_opt_revision_t * revision, svn_client_ctx_t
* ctx, apr_pool_t * pool) Line 475 + 0x2a bytes C
         libsvn_tsvn32.dll!svn_client_list2(const char * path_or_url, const
svn_opt_revision_t * peg_revision, const svn_opt_revision_t *
revision, svn_depth_t depth, unsigned int dirent_fields, int
fetch_locks, svn_error_t * (void *, const char *, const svn_dirent_t
*, const svn_lock_t *, const char *, apr_pool_t *)* list_func, void *
baton, svn_client_ctx_t * ctx, apr_pool_t * pool) Line 153 + 0x3b
bytes C
         TortoiseProc.exe!SVN::List(const CTSVNPath & url, const SVNRev &
revision, const SVNRev & pegrev, svn_depth_t depth, bool fetchlocks)
Line 1956 + 0x53 bytes C++
         TortoiseProc.exe!CRepositoryLister::CListQuery::InternalExecute()
Line 157 + 0x1f bytes C++
         TortoiseProc.exe!async::CJobBase::Execute() Line 84 C++
         TortoiseProc.exe!async::CJobScheduler::ThreadFunc(void * arg) Line 395 C++
         TortoiseProc.exe!async::CThread::ThreadFunc(void * arg) Line 42 +
0x9 bytes C++
         msvcr100.dll!78afc3d4()
         [Frames below may be incorrect and/or missing, no symbols loaded for
msvcr100.dll]
         msvcr100.dll!78afc474()
         kernel32.dll!7c80b729()

And another:
> libsvn_tsvn32.dll!CRYPTO_add_lock() Line 643 + 0x5 bytes C
         libsvn_tsvn32.dll!DSO_free() Line 141 + 0x17 bytes C
         libsvn_tsvn32.dll!dynamic_load() Line 487 C
         libsvn_tsvn32.dll!dynamic_ctrl() Line 370 + 0x8 bytes C
         libsvn_tsvn32.dll!ENGINE_ctrl() Line 232 + 0x13 bytes C
         libsvn_tsvn32.dll!ENGINE_ctrl_cmd_string() Line 348 + 0xd bytes C
         libsvn_tsvn32.dll!ENGINE_by_id() Line 411 + 0x56 bytes C
         libsvn_tsvn32.dll!SSL_CTX_new() Line 1680 + 0xa bytes C
         libsvn_tsvn32.dll!ne_ssl_context_create(int mode) Line 564 C
         libsvn_tsvn32.dll!ne_session_create(const char * scheme, const char
* hostname, unsigned int port) Line 181 C
         libsvn_tsvn32.dll!svn_ra_neon__open(svn_ra_session_t * session,
const char * * corrected_url, const char * repos_URL, const
svn_ra_callbacks2_t * callbacks, void * callback_baton, apr_hash_t *
config, apr_pool_t * pool) Line 833 C
         libsvn_tsvn32.dll!svn_ra_open4(svn_ra_session_t * * session_p, const
char * * corrected_url_p, const char * repos_URL, const char * uuid,
const svn_ra_callbacks2_t * callbacks, void * callback_baton,
apr_hash_t * config, apr_pool_t * pool) Line 496 + 0x43 bytes C
         libsvn_tsvn32.dll!svn_client__open_ra_session_internal(svn_ra_session_t
* * ra_session, const char * * corrected_url, const char * base_url,
const char * base_dir_abspath, const apr_array_header_t *
commit_items, int use_admin, int read_only_wc, svn_client_ctx_t * ctx,
apr_pool_t * pool) Line 335 + 0x31 bytes C
         libsvn_tsvn32.dll!svn_client__ra_session_from_path(svn_ra_session_t
* * ra_session_p, long * rev_p, const char * * url_p, const char *
path_or_url, const char * base_dir_abspath, const svn_opt_revision_t *
peg_revision_p, const svn_opt_revision_t * revision, svn_client_ctx_t
* ctx, apr_pool_t * pool) Line 475 + 0x2a bytes C
         libsvn_tsvn32.dll!svn_client_list2(const char * path_or_url, const
svn_opt_revision_t * peg_revision, const svn_opt_revision_t *
revision, svn_depth_t depth, unsigned int dirent_fields, int
fetch_locks, svn_error_t * (void *, const char *, const svn_dirent_t
*, const svn_lock_t *, const char *, apr_pool_t *)* list_func, void *
baton, svn_client_ctx_t * ctx, apr_pool_t * pool) Line 153 + 0x3b
bytes C
         TortoiseProc.exe!SVN::List(const CTSVNPath & url, const SVNRev &
revision, const SVNRev & pegrev, svn_depth_t depth, bool fetchlocks)
Line 1956 + 0x53 bytes C++
         TortoiseProc.exe!CRepositoryLister::CListQuery::InternalExecute()
Line 157 + 0x1f bytes C++
         TortoiseProc.exe!async::CJobBase::Execute() Line 84 C++
         TortoiseProc.exe!async::CJobScheduler::ThreadFunc(void * arg) Line 395 C++
         TortoiseProc.exe!async::CThread::ThreadFunc(void * arg) Line 42 +
0x9 bytes C++
         msvcr100.dll!78afc3d4()
         [Frames below may be incorrect and/or missing, no symbols loaded for
msvcr100.dll]
         msvcr100.dll!78afc474()
         kernel32.dll!7c80b729()

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2873638

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-11-04 19:26:10 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.