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

Re: Serf hangs in a merge where Neon succeeds

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Thu, 11 Feb 2010 13:41:42 +0000

Lieven Govaerts wrote:
> Can you try with serf branch 0.3.x? I fixed a connection cleanup bug
> some time ago that caused serf to hang in apr_pollset_poll.
>
> http://serf.googlecode.com/svn/branches/0.3.x/

OK, I tried with Serf trunk r1309. Seg fault:

[[[
$ LD_LIBRARY_PATH=/home/julianfoad/local/serf-trunk gsvn merge --dry-run ^/subversion/branches/1.6.x-r891672/@902803
Reading symbols from /home/julianfoad/build/subversion-b/subversion/svn/.libs/lt-svn...done.
Temporary breakpoint 1 at 0x8057804: file /home/julianfoad/src/subversion-b/subversion/svn/main.c, line 1209.
Starting program: /home/julianfoad/build/subversion-b/subversion/svn/.libs/lt-svn merge --dry-run \^/subversion/branches/1.6.x-r891672/@902803
[Thread debugging using libthread_db enabled]

Temporary breakpoint 1, main (argc=4, argv=0xbffff414)
    at /home/julianfoad/src/subversion-b/subversion/svn/main.c:1209
1209 svn_cl__opt_state_t opt_state = { 0, { 0 } };
(gdb) c
Continuing.
[New Thread 0xb7eb2b70 (LWP 8872)]
[Thread 0xb7eb2b70 (LWP 8872) exited]

Program received signal SIGSEGV, Segmentation fault.
0x003c51af in svn_ra_serf__conn_setup (sock=0x95de4d8, baton=0x95e04e4, pool=0xbfffeb48)
    at /home/julianfoad/src/subversion-b/subversion/libsvn_ra_serf/util.c:282
282 rb = serf_context_bucket_socket_create(conn->session->context,
(gdb) l
277 {
278 #endif
279 serf_bucket_t *rb = NULL;
280 svn_ra_serf__connection_t *conn = baton;
281
282 rb = serf_context_bucket_socket_create(conn->session->context,
283 sock, conn->bkt_alloc);
284
285 if (conn->using_ssl)
286 {
(gdb) p conn
$1 = (svn_ra_serf__connection_t *) 0x95e04e4
(gdb) p conn->session
$2 = (svn_ra_serf__session_t *) 0x0
(gdb) bt
#0 0x003c51af in svn_ra_serf__conn_setup (sock=0x95de4d8, baton=0x95e04e4, pool=0xbfffeb48)
    at /home/julianfoad/src/subversion-b/subversion/libsvn_ra_serf/util.c:282
#1 0x00371c3d in do_conn_setup () from /home/julianfoad/local/serf-trunk/libserf-0.so.0
#2 0x00371e94 in write_to_connection () from /home/julianfoad/local/serf-trunk/libserf-0.so.0
#3 0x0037263f in serf__process_connection () from /home/julianfoad/local/serf-trunk/libserf-0.so.0
#4 0x00370ab0 in serf_event_trigger () from /home/julianfoad/local/serf-trunk/libserf-0.so.0
#5 0x00370c14 in serf_context_run () from /home/julianfoad/local/serf-trunk/libserf-0.so.0
#6 0x003c5908 in svn_ra_serf__context_run_wait (done=0x9125004, sess=0x9124ee8, pool=0x9124e00)
    at /home/julianfoad/src/subversion-b/subversion/libsvn_ra_serf/util.c:582
#7 0x003b8624 in svn_ra_serf__exchange_capabilities (serf_sess=0x9124ee8, pool=0x9124e00)
    at /home/julianfoad/src/subversion-b/subversion/libsvn_ra_serf/options.c:475
#8 0x003bd6f0 in svn_ra_serf__open (session=0x9124ed8,
    repos_URL=0x8210580 "https://svn.apache.org/repos/asf/subversion/branches/1.6.x-r891672",
    callbacks=0x9124e40, callback_baton=0x9124e68, config=0x808fba8, pool=0x9124e00)
    at /home/julianfoad/src/subversion-b/subversion/libsvn_ra_serf/serf.c:455
#9 0x00d2e067 in svn_ra_open3 (session_p=0xbfffefb8,
    repos_URL=0x8210580 "https://svn.apache.org/repos/asf/subversion/branches/1.6.x-r891672",
    uuid=0x0, callbacks=0x9124e40, callback_baton=0x9124e68, config=0x808fba8, pool=0x9124e00)
    at /home/julianfoad/src/subversion-b/subversion/libsvn_ra/ra_loader.c:485
#10 0x00654a50 in svn_client__open_ra_session_internal (ra_session=0xbfffefb8,
    base_url=0x8210580 "https://svn.apache.org/repos/asf/subversion/branches/1.6.x-r891672",
    base_dir=0x0, commit_items=0x0, use_admin=0, read_only_wc=1, ctx=0x808fab0, pool=0x9124e00)
    at /home/julianfoad/src/subversion-b/subversion/libsvn_client/ra.c:332
#11 0x006483c0 in svn_client_merge_peg3 (
    source=0x80a43a0 "https://svn.apache.org/repos/asf/subversion/branches/1.6.x-r891672",
    ranges_to_merge=0x80a45b8, peg_revision=0xbffff060, target_wcpath=0x8073548 "",
    depth=svn_depth_unknown, ignore_ancestry=0, force=0, record_only=0, dry_run=1,
    merge_options=0x0, ctx=0x808fab0, pool=0x808f200)
    at /home/julianfoad/src/subversion-b/subversion/libsvn_client/merge.c:9423
#12 0x0805b0b2 in svn_cl__merge (os=0x808f3a8, baton=0xbffff2c8, pool=0x808f200)
    at /home/julianfoad/src/subversion-b/subversion/svn/merge-cmd.c:322
#13 0x0805a53e in main (argc=4, argv=0xbffff414)
    at /home/julianfoad/src/subversion-b/subversion/svn/main.c:2249
]]]

- Julian
Received on 2010-02-11 14:42:24 CET

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