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

segfault checking out over ra_dav

From: Brian Denny <brian_at_briandenny.net>
Date: 2003-03-24 20:30:41 CET

i'm getting a segfault on checkout.
here are the facts:

- i can check out via ra_dav from svn.collab.net
- i can check out from my own repos using ra_local
- i *can't* check out anything from my own repos via ra_dav (segfault)
- i *can* update/commit previously-checked-out working copies via ra_dav
- there are no errors in apache error_log

system specs:
- freebsd 4.5 stable
- httpd-2.0/apr/apr-util built from cvs head as of yesterday
- subversion built from svn head as of today
- both apache and svn linked to bdb 4.0.14

gdb backtrace follows. further investigation reveals that CHECKSUM
(dereferenced at fetch.c:739) is NULL.

any ideas? can anyone reproduce this?
i can't give an ethereal trace at the moment, but maybe tonight...

if somebody wants to try checking out from my repository with your local
client, try:
  svn co http://frondle.net:5050/svn/repos/test

-brian

(gdb) run co http://localhost:5050/svn/repos/test
Starting program: /usr/local/bin/svn co http://localhost:5050/svn/repos/test

Program received signal SIGSEGV, Segmentation fault.
0x2813863b in fetch_file (sess=0x8069800, rsrc=0x8078418,
dir_baton=0x806eb50, editor=0x806e120, edit_path=0x8085888 "ex",
compression=1, pool=0x8076018) at subversion/libsvn_ra_dav/fetch.c:738
738 err = simple_fetch_file(sess, bc_url, NULL, TRUE, compression, file_baton,
(gdb) bt
#0 0x2813863b in fetch_file (sess=0x8069800, rsrc=0x8078418,
dir_baton=0x806eb50, editor=0x806e120, edit_path=0x8085888 "ex",
    compression=1, pool=0x8076018) at
subversion/libsvn_ra_dav/fetch.c:738
#1 0x2813998d in svn_ra_dav__do_checkout (session_baton=0x806e270,
revision=-1, recurse=1, editor=0x806e120, edit_baton=0x806e158,
    pool=0x806e018) at subversion/libsvn_ra_dav/fetch.c:1376
#2 0x2807deb3 in svn_client__checkout_internal (URL=0x8063838
"http://localhost:5050/svn/repos/test", path=0x8063890 "test",
    revision=0xbfbffac0, recurse=1, timestamp_sleep=0x0, ctx=0xbfbffa98,
pool=0x806e018) at subversion/libsvn_client/checkout.c:112
#3 0x2807df61 in svn_client_checkout (URL=0x8063838
"http://localhost:5050/svn/repos/test", path=0x8063890 "test",
revision=0xbfbffac0,
    recurse=1, ctx=0xbfbffa98, pool=0x806e018) at
subversion/libsvn_client/checkout.c:151
#4 0x804b5a2 in svn_cl__checkout (os=0x8063050, baton=0xbfbff9b0,
pool=0x8063018) at subversion/clients/cmdline/checkout-cmd.c:133
#5 0x804f509 in main (argc=3, argv=0xbfbffbac) at
subversion/clients/cmdline/main.c:1090
#6 0x804af25 in _start ()

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 24 20:37:11 2003

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.