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

Re: Subversion 0.14.0 problems/bugs (memory fault with -m & svn update)

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-08-16 16:52:28 CEST

Jason White <jasonjgw@pacific.net.au> writes:

> > XFS shouldn't have any problems with DB4
> > I have been using svn repos on XFS systems since my involvement with
> > subversion, which would have included the 2.4.17-xfs timeframe.
>
> Tomorrow I plan to upgrade my kernel nonetheless, to find out whether
> the problem goes away. I enabled generation
> of core files, encountered the problem, and produced the following
> backtrace (on the test repository in which I am storing academic
> project work):
> Program terminated with signal 11, Segmentation fault.

It's a SEGV so it's not likely to be kernel related.

> #0 0x400c1550 in __db_shalloc_4000 () from /usr/lib/libdb-4.0.so
> (gdb) bt
> #0 0x400c1550 in __db_shalloc_4000 () from /usr/lib/libdb-4.0.so
> #1 0x400e6f7f in __memp_alloc_4000 () from /usr/lib/libdb-4.0.so
> #2 0x400e8d08 in __memp_fopen_int_4000 () from /usr/lib/libdb-4.0.so
> #3 0x400e8a7f in __memp_fopen_int_4000 () from /usr/lib/libdb-4.0.so
> #4 0x400e8897 in __memp_fcreate_4000 () from /usr/lib/libdb-4.0.so
> #5 0x400ac4be in __db_dbenv_setup_4000 () from /usr/lib/libdb-4.0.so
> #6 0x400abc9e in __db_dbopen_4000 () from /usr/lib/libdb-4.0.so
> #7 0x400abb23 in __db_open_4000 () from /usr/lib/libdb-4.0.so

You don't appear to have debugging information for the db library.
The Subversion stuff below doesn't have any obvious problems, it
appears to be failing the first time it attempts to open the database.
Is it possible that the database is corrupt? Does running db_recover
help? Do you have problems with this repository only, or does it
affect all the repositories you create?

> #8 0x4005ca05 in svn_fs__open_nodes_table (nodes_p=0x807dd6c, env=0x807fc78,
> create=0) at subversion/libsvn_fs/bdb/nodes-table.c:155
> #9 0x40061c8e in svn_fs_open_berkeley (fs=0x807dd58,
> path=0x807bdb0 "/home/jason/svn/philosophy/db")
> at subversion/libsvn_fs/fs.c:543
> #10 0x4005226c in svn_repos_open (repos_p=0xbffff898,
> path=0x807bd50 "/home/jason/svn/philosophy", pool=0x807bc80)
> at subversion/libsvn_repos/repos.c:643
> #11 0x40047813 in svn_ra_local__split_URL (repos_path=0x805a954,
> fs_path=0x805a958, URL=0x805a7c0 "file:///home/jason/svn/philosophy",
> pool=0x805a400) at subversion/libsvn_ra_local/split_url.c:108
> #12 0x40046b2d in svn_ra_local__open (session_baton=0xbffff984,
> repos_URL=0x805a7c0 "file:///home/jason/svn/philosophy",
> callbacks=0x805a918, callback_baton=0x805a930, pool=0x805a400)
> at subversion/libsvn_ra_local/ra_plugin.c:219
> #13 0x40021412 in svn_client__open_ra_session (session_baton=0xbffff984,
> ra_lib=0x40048de0, base_url=0x805a7c0 "file:///home/jason/svn/philosophy",
> base_dir=0x0, commit_items=0x0, do_store=0, use_admin=0, read_only_wc=1,
> auth_baton=0x805a840, pool=0x805a400) at subversion/libsvn_client/ra.c:216
> #14 0x40020669 in svn_client_log (auth_baton=0x805a840, targets=0x805a778,
> start=0xbffffb14, end=0xbffffb20, discover_changed_paths=0,
> strict_node_history=0, receiver=0x804be88 <log_message_receiver>,
> receiver_baton=0xbffff9f0, pool=0x805a400)
> at subversion/libsvn_client/log.c:145
> #15 0x0804c529 in svn_cl__log (os=0x805a560, opt_state=0xbffffb14,
> pool=0x805a400) at subversion/clients/cmdline/log-cmd.c:463
> #16 0x0804d5d6 in main (argc=3, argv=0xbffffbe4)
> at subversion/clients/cmdline/main.c:1225
> #17 0x402f565f in __libc_start_main () from /lib/libc.so.6

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 16 20:23:39 2002

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.