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

Re: Checkout core-dump

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2003-03-12 21:12:24 CET

Ben Collins-Sussman <sussman@collab.net> writes:
> > #0 0x400b3cf4 in ne_addr_first (addr=0x8089cc8) at ne_socket.c:635
> > #1 0x400afcfe in do_connect (req=0x808a6d8, host=0x807ef10,
> > err=0x400bbc29 "Could not connect to server") at ne_request.c:1322
> > #2 0x400afeba in open_connection (req=0x808a6d8) at ne_request.c:1389
>
> It looks like neon is core-dumping....?

Yup:

   (gdb) continue
   Program received signal SIGSEGV, Segmentation fault.
   0x402c4f70 in ne_addr_first (addr=0x809c840) at ne_socket.c:635
   (gdb) p *addr
   $1 = {result = 0x0, cursor = 0x0, errnum = -2}
   (gdb)
   
That's at the very first line of code in this function in ne_socket.c:
   
   ne_inet_addr *ne_addr_first(ne_sock_addr *addr)
   {
   #ifdef USE_GETADDRINFO
       addr->cursor = addr->result->ai_next;
       return addr->result;
   #else
       addr->cursor = 0;
       return &addr->addrs[0];
   #endif
   }

Stack is:

   (gdb) where
   #0 0x402c4f70 in ne_addr_first (addr=0x809c840) at ne_socket.c:635
   #1 0x402c06ed in do_connect (req=0x809d100, host=0x8091a08,
       err=0x402cc1bb "Could not connect to server") at ne_request.c:1322
   #2 0x402c08bd in open_connection (req=0x809d100) at ne_request.c:1389
   #3 0x402bfc9d in send_request (req=0x809d100, request=0x8099a80)
       at ne_request.c:953
   #4 0x402c031e in ne_begin_request (req=0x809d100) at ne_request.c:1165
   #5 0x402c0559 in ne_request_dispatch (req=0x809d100) at ne_request.c:1248
   #6 0x402c96d2 in propfind (handler=0x809bda8,
       results=0x40139f1c <process_results>, userdata=0xbffff2e8)
       at ne_props.c:134
   #7 0x402c984a in ne_propfind_named (handler=0x809bda8, props=0x4013f548,
       results=0x40139f1c <process_results>, userdata=0xbffff2e8)
       at ne_props.c:175
   #8 0x4013a393 in svn_ra_dav__get_props (results=0xbffff348, \
       sess=0x80919f8,
       url=0x8085db0 "/tests", depth=0, label=0x0, which_props=0x4013f548,
       pool=0x8085a68) at subversion/libsvn_ra_dav/props.c:356
   #9 0x4013a4e2 in svn_ra_dav__get_props_resource (rsrc=0xbffff408,
       sess=0x80919f8, url=0x8085cf8 "/tests", label=0x0, \
       which_props=0x4013f548,
       pool=0x8085a68) at subversion/libsvn_ra_dav/props.c:394
   #10 0x4013a750 in svn_ra_dav__get_starting_props (rsrc=0xbffff408,
       sess=0x80919f8, url=0x8085cf8 "/tests", label=0x0, pool=0x8085a68)
       at subversion/libsvn_ra_dav/props.c:472
   #11 0x4013a7ed in svn_ra_dav__get_baseline_props (bc_relative=0xbffff458,
       bln_rsrc=0xbffff468, sess=0x80919f8, url=0x80919e8 "/tests/foo",
       revision=-1, which_props=0x4013f570, pool=0x8085a68)
       at subversion/libsvn_ra_dav/props.c:533
   #12 0x4013abc9 in svn_ra_dav__get_baseline_info (is_dir=0xbffff4b4,
       bc_url=0xbffff4ac, bc_relative=0xbffff4a4, latest_rev=0xbffff538,
       sess=0x80919f8, url=0x80919e8 "/tests/foo", revision=-1, \
       pool=0x8085a68)
       at subversion/libsvn_ra_dav/props.c:729
   #13 0x40134b6b in begin_checkout (ras=0x8085c78, revision=-1,
       activity_coll=0xbffff53c, target_rev=0xbffff538, bc_root=0xbffff534)
       at subversion/libsvn_ra_dav/fetch.c:769
   #14 0x4013587c in svn_ra_dav__do_checkout (session_baton=0x8085c78,
       revision=-1, recurse=1, editor=0x808fa30, edit_baton=0x808fa68)
       at subversion/libsvn_ra_dav/fetch.c:1254
   #15 0x40019481 in svn_client__checkout_internal (
       URL=0x80603b8 "http://localhosts/tests/foo", path=0x8060418 "foo",
       revision=0xbffff814, recurse=1, timestamp_sleep=0x0, ctx=0xbffff7ec,
       pool=0x8085a68) at subversion/libsvn_client/checkout.c:112
   #16 0x40019531 in svn_client_checkout (
       URL=0x80603b8 "http://localhosts/tests/foo", path=0x8060418 "foo",
       revision=0xbffff814, recurse=1, ctx=0xbffff7ec, pool=0x8085a68)
       at subversion/libsvn_client/checkout.c:150
   #17 0x0804b3e2 in svn_cl__checkout (os=0x805fba0, baton=0xbffff704,
       pool=0x805fa80) at subversion/clients/cmdline/checkout-cmd.c:133
   #18 0x0804ef9c in main (argc=3, argv=0xbffff914)
       at subversion/clients/cmdline/main.c:1034
   #19 0x4032e0bf in __libc_start_main () from /lib/libc.so.6
   (gdb)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 12 21:50:18 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.