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

libneon/subversion bug

From: Gustavo Niemeyer <niemeyer_at_conectiva.com>
Date: 2002-09-09 23:08:26 CEST

I'm not sure if this is a bug in libneon (0.23.3) or subversion (3140),
but a command like "svn co https://INEXISTANT/foo /foo/bar" has
segfaulted inside libneon.

Here's a backtrace:

#0 0x401fd190 in ne_addr_first (addr=0x80a0430) at ne_socket.c:635
#1 0x401f773d in do_connect (req=0x809de88, host=0x8091a30, err=0x4020459b "Could not connect to server")
    at ne_request.c:1323
#2 0x401f790d in open_connection (req=0x809de88) at ne_request.c:1390
#3 0x401f6ced in send_request (req=0x809de88, request=0x80a1030) at ne_request.c:954
#4 0x401f736e in ne_begin_request (req=0x809de88) at ne_request.c:1166
#5 0x401f75a9 in ne_request_dispatch (req=0x809de88) at ne_request.c:1249
#6 0x40201ab2 in propfind (handler=0x809c9d8, results=0x4011e610 <svn_ra_dav__get_activity_collection+516>,
    userdata=0xbffff430) at ne_props.c:134
#7 0x40201c2a in ne_propfind_named (handler=0x809c9d8, props=0x401224b4,
    results=0x4011e610 <svn_ra_dav__get_activity_collection+516>, userdata=0xbffff430) at ne_props.c:175
#8 0x4011e959 in svn_ra_dav__get_props () from /usr/lib/libsvn_ra_dav-1.so.0
#9 0x4011ea72 in svn_ra_dav__get_props_resource () from /usr/lib/libsvn_ra_dav-1.so.0
#10 0x4011ec09 in svn_ra_dav__get_starting_props () from /usr/lib/libsvn_ra_dav-1.so.0
#11 0x4011ecc0 in svn_ra_dav__get_baseline_info () from /usr/lib/libsvn_ra_dav-1.so.0
#12 0x4011b544 in svn_ra_dav__get_commit_editor () from /usr/lib/libsvn_ra_dav-1.so.0
#13 0x4011bdbe in svn_ra_dav__do_checkout () from /usr/lib/libsvn_ra_dav-1.so.0
#14 0x40019f92 in svn_client_checkout () from /usr/lib/libsvn_client-1.so.0
#15 0x0804aa4b in svn_handle_warning ()
#16 0x0804d686 in svn_handle_warning ()
#17 0x40350d7f in __libc_start_main () from /lib/libc.so.6

And some debugging in frame 0:

(gdb) list
632 ne_inet_addr *ne_addr_first(ne_sock_addr *addr)
633 {
634 #ifdef USE_GETADDRINFO
635 addr->cursor = addr->result->ai_next;
636 return addr->result;
637 #else
638 addr->cursor = 0;
639 return &addr->addrs[0];
(gdb) print addr->result
$3 = (struct addrinfo *) 0x0

I hope it helps.

-- 
Gustavo Niemeyer
[ 2AAC 7928 0FBF 0299 5EB5  60E2 2253 B29A 6664 3A0C ]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 9 23:09:12 2002

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