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

Re: hang during tests?

From: Brian Denny <brian_at_briandenny.net>
Date: 2003-03-30 19:47:42 CEST

On Sun, Mar 30, 2003 at 01:01:02PM +0100, Philip Martin wrote:
>
> You don't say what platform you are using. If you are on a Unix
> platform then run "ps ax" to see if there is a svn process running (it
> will be called lt-svn if you are using shared libraries). Then run
> gdb on that process (use gdb -p NNN) and get a stacktrace so we can
> see whats going on.

% uname -a
Linux milieu.frondle.net 2.4.19-gentoo-r10 #2 Sat Mar 8 16:18:52 PST
2003 i686 AMD Athlon(tm) Processor AuthenticAMD GNU/Linux

# ps ax | grep lt-svn
 8667 ? S 0:00 lt-svnserve -d -r /usr/local/src/subversion/subversion/tests/clients/cmdline
20876 pts/3 S 0:00 lt-svnadmin dump local_tmp/repos
 8964 pts/3 S 0:00 lt-svnadmin load repositories/commit_tests-17

# gdb -p 20876
[snip]
(gdb) bt
#0 0x4bbad9de in select () from /lib/libc.so.6
#1 0x4b9dc7cc in __JCR_LIST__ () from /usr/lib/libdb-4.1.so
#2 0x4b9b2b31 in __os_yield () from /usr/lib/libdb-4.1.so
#3 0x4b93b75f in __db_tas_mutex_lock () from /usr/lib/libdb-4.1.so
#4 0x4b9a9057 in __log_flush_int () from /usr/lib/libdb-4.1.so
#5 0x4b9a89cd in __log_flush () from /usr/lib/libdb-4.1.so
#6 0x4b9b02d5 in __memp_sync_int () from /usr/lib/libdb-4.1.so
#7 0x4b9afbf4 in __memp_fsync () from /usr/lib/libdb-4.1.so
#8 0x4b95d27e in __db_sync () from /usr/lib/libdb-4.1.so
#9 0x4b95beea in __db_refresh () from /usr/lib/libdb-4.1.so
#10 0x4b95b8cb in __db_close_i () from /usr/lib/libdb-4.1.so
#11 0x4b95b857 in __db_close () from /usr/lib/libdb-4.1.so
#12 0x4b8ba81f in cleanup_fs_db (fs=0x8071648, db_ptr=0x807165c,
    name=0x4b8cb8b5 "nodes") at subversion/libsvn_fs/fs.c:128
#13 0x4b8ba8a8 in cleanup_fs (fs=0x8071648) at subversion/libsvn_fs/fs.c:157
#14 0x4b8baa9e in cleanup_fs_apr (data=0x8071648)
    at subversion/libsvn_fs/fs.c:268
#15 0x4ba1d90d in run_cleanups (cref=0x0) at apr_pools.c:1979
#16 0x4ba1d05d in apr_pool_destroy (pool=0x807bdb8) at apr_pools.c:755
#17 0x4ba1d118 in apr_pool_destroy (pool=0x8051840) at apr_pools.c:752
#18 0x0804aa2a in main (argc=3, argv=0xb55a8214)
    at subversion/svnadmin/main.c:838
#19 0x4baf0e34 in __libc_start_main () from /lib/libc.so.6

# gdb -p 8964
[snip]
(gdb) bt
#0 0x41a7a404 in read () from /lib/libc.so.6
#1 0x4196db44 in __JCR_LIST__ () from /lib/libpthread.so.0
#2 0x418e65e9 in apr_file_read (thefile=0x8051e78, buf=0xbdc47d0f,
    nbytes=0xbdc47c88) at readwrite.c:154
#3 0x418e5779 in apr_file_read_full (thefile=0x8051e78, buf=0xbdc47d0f,
    nbytes=1, bytes_read=0xbdc47d10) at fullrw.c:68
#4 0x417c0dd3 in read_handler_apr (baton=0x8051ec0,
    buffer=0xbdc47d0f "\b\001", len=0xbdc47d10)
    at subversion/libsvn_subr/stream.c:212
#5 0x417c0b5d in svn_stream_read (stream=0x8051ec8,
    buffer=0xbdc47d0f "\b\001", len=0xbdc47d10)
    at subversion/libsvn_subr/stream.c:90
#6 0x417c0cba in svn_stream_readline (stream=0x8051ec8, stringbuf=0xbdc47d9c,
    pool=0x8098a90) at subversion/libsvn_subr/stream.c:148
#7 0x41775941 in svn_repos_parse_dumpstream (stream=0x8051ec8,
    parse_fns=0x8051f38, parse_baton=0x8051f60, pool=0x8051840)
    at subversion/libsvn_repos/load.c:399
#8 0x41776d3a in svn_repos_load_fs (repos=0x8051c48, dumpstream=0x8051ec8,
    feedback_stream=0x8051f28, uuid_action=svn_repos_load_uuid_default,
    parent_dir=0x0, pool=0x8051840) at subversion/libsvn_repos/load.c:1010
#9 0x0804990f in subcommand_load (os=0x8051960, baton=0xbdc47f40,
    pool=0x8051840) at subversion/svnadmin/main.c:385
#10 0x0804a992 in main (argc=3, argv=0xbdc47ff4)
    at subversion/svnadmin/main.c:822
#11 0x419c3e34 in __libc_start_main () from /lib/libc.so.6

? brian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 30 19:54:58 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.