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

Re: Translation segfaults ( blocker in rc4 ? ) - Backtrace

From: Helio Chissini de Castro <helio_at_mandriva.com>
Date: 2005-12-08 21:47:08 CET

Despite the problems points to libapr, the fail appears in:

0xb7ca6844 in find_entry (ht=0x8070fd8, key=0xb756530c, klen=15,
val=0x8070af0) at apr_hash.c:242
242 if (memcmp(he->key, key, klen) == 0)

and he->key at certain moment of linked list memcmp test is a invalid pointer,
probably already received wrong info from svn call.

Here's the backtrace :

(gdb) bt
#0 0xb7ca6844 in find_entry (ht=0x8070fd8, key=0xb756530c, klen=15,
val=0x8070af0) at apr_hash.c:242
#1 0xb7ca6ab5 in apr_hash_set (ht=0x8070fd8, key=0xb756530c, klen=-1,
val=0x8070af0) at apr_hash.c:319
#2 0xb7e6acea in svn_auth_set_parameter (auth_baton=0x8070f60,
name=0xb756530c "svn:auth:config",
    value=0x8070af0) at subversion/libsvn_subr/auth.c:144
#3 0xb755f914 in svn_ra_dav__open (session=0x8083d78,
    repos_URL=0x8083b18 "https://nanardon.zarb.org/svn/rpm2sql",
callbacks=0x8083cf0, callback_baton=0x8083d10,
    config=0x8070a08, pool=0x807e530) at
subversion/libsvn_ra_dav/session.c:739
#4 0xb7e9d5e5 in svn_ra_open2 (session_p=0xbfb08904,
    repos_URL=0x8083b18 "https://nanardon.zarb.org/svn/rpm2sql",
callbacks=0x8083cf0, callback_baton=0x8083d10,
    config=0x8070a08, pool=0x807e530) at subversion/libsvn_ra/ra_loader.c:293
#5 0xb7ee9f87 in svn_client__open_ra_session_internal (ra_session=0xbfb08904,
    base_url=0x8083b18 "https://nanardon.zarb.org/svn/rpm2sql",
base_dir=0x8083930 "rpm2sql",
    base_access=0x8083908, commit_items=0x0, use_admin=1, read_only_wc=1,
ctx=0x80709d0, pool=0x807e530)
    at subversion/libsvn_client/ra.c:291
#6 0xb7eef9ca in svn_client__update_internal (result_rev=0x0, path=0x8071388
"rpm2sql", revision=0xbfb08c08,
    recurse=1, ignore_externals=0, timestamp_sleep=0xbfb089e0, ctx=0x80709d0,
pool=0x807e530)
    at subversion/libsvn_client/update.c:106
#7 0xb7ed575a in svn_client__checkout_internal (result_rev=0x0,
    url=0x807e698 "https://nanardon.zarb.org/svn/rpm2sql", path=0x8071388
"rpm2sql", peg_revision=0xbfb08ac0,
    revision=0xbfb08c08, recurse=1, ignore_externals=0, timestamp_sleep=0x0,
ctx=0x80709d0, pool=0x807e530)
    at subversion/libsvn_client/checkout.c:120
#8 0xb7ed5a95 in svn_client_checkout2 (result_rev=0x0, URL=0x807e590
"https://nanardon.zarb.org/svn/rpm2sql",
    path=0x8071388 "rpm2sql", peg_revision=0xbfb08ac0, revision=0xbfb08c08,
recurse=1, ignore_externals=0,
    ctx=0x80709d0, pool=0x807e530) at subversion/libsvn_client/checkout.c:217
#9 0x0804d00e in svn_cl__checkout (os=0x8070610, baton=0xbfb08bf8,
pool=0x80704f8)
    at subversion/clients/cmdline/checkout-cmd.c:149
#10 0x08053115 in main (argc=3, argv=0xbfb08d94) at
subversion/clients/cmdline/main.c:1469

-- 
Helio Chissini de Castro
Research and development
Mandriva Brasil Labs
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 8 22:01:35 2005

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