-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ben Collins-Sussman wrote:
|
| I assume you restarted apache after doing a 'make install' of svn.
Yep, Stopped it during the install, then started it back up after the
install.
| Try running apache under gdb:
|
| $ su
| $ gdb /usr/local/apache2/bin/httpd
| (gdb) run -X
|
| Then attempt your commit again, and see where apache is segfaulting.
Okay, this is what I get...
# /usr/local/apache2/bin/apachectl stop
root@qube ~
# gdb /usr/local/apache2/bin/httpd
GNU gdb 5.3.90_2003-08-01-cvs-debian
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mipsel-linux"...
(gdb) run -X
Starting program: /usr/local/apache2/bin/httpd -X
[New Thread 16384 (LWP 4456)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 4456)]
0x2ab4d0ac in sdbm_hash (str=0xe <Address 0xe out of bounds>, len=5) at
sdbm_hash.c:89
89 case 6: HASHC; case 5: HASHC;
(gdb) bt full
#0 0x2ab4d0ac in sdbm_hash (str=0xe <Address 0xe out of bounds>, len=5)
at sdbm_hash.c:89
~ loop = 5
~ n = 0
#1 0x2ab4e01c in apr_sdbm_fetch (db=0x100eb008, val=0x7fff78c0, key=
~ {dptr = 0xe <Address 0xe out of bounds>, dsize = 37}) at sdbm.c:238
~ status = 269369864
#2 0x2ab4f938 in vt_sdbm_exists (dbm=0xe, key={dptr = 0x100e4132
"79beb5b4-c031-444d-871a-82152aac2e5d", dsize = 37})
~ at apr_dbm_sdbm.c:225
~ value = {dptr = 0x2aba1c30 <Address 0x2aba1c30 out of bounds>,
dsize = 716501188}
~ exists = 716492964
#3 0x2ab4f24c in apr_dbm_exists (dbm=0x0, key={dptr = 0x100e4132
"79beb5b4-c031-444d-871a-82152aac2e5d", dsize = 37})
~ at apr_dbm.c:151
No locals.
#4 0x2b3c3cd0 in dav_svn_get_txn (repos=0x100e4208,
activity_id=0x100e4132 "79beb5b4-c031-444d-871a-82152aac2e5d")
~ at subversion/mod_dav_svn/activity.c:58
~ dbm = (apr_dbm_t *) 0x100e4420
~ status = 0
~ pathname = 0x100e4278 "/home/cvs/atomiclinux/dav/activities"
~ key = {dptr = 0x100e4132 "79beb5b4-c031-444d-871a-82152aac2e5d",
dsize = 37}
~ value = {dptr = 0x1000b200 "", dsize = 0}
~ txn_name = 0x0
#5 0x2b3cb8e8 in dav_svn_prep_activity (comb=0x100e4158) at
subversion/mod_dav_svn/repos.c:696
~ txn_name = 0x100e4158 "\006"
#6 0x2b3cb9f8 in dav_svn_prep_resource (comb=0x100e4158) at
subversion/mod_dav_svn/repos.c:748
~ scan = (const struct res_type_handler *) 0x2b41c404
#7 0x2b3cce6c in dav_svn_get_resource (r=0x100ab4d8,
root_path=0x100779c0 "/svn/atomiclinux", label=0x0,
~ use_checked_in=0, resource=0x7fff7a90) at
subversion/mod_dav_svn/repos.c:1231
~ fs_path = 0x10077a30 "/home/cvs/atomiclinux"
~ repo_name = 0x0
~ xslt_uri = 0x0
~ fs_parent_path = 0x0
~ comb = (dav_resource_combined *) 0x100e4158
~ repos = (dav_svn_repos *) 0x100e4208
~ cleaned_uri = 0x100e40d8
"/svn/atomiclinux/!svn/act/79beb5b4-c031-444d-871a-82152aac2e5d"
~ repos_name = 0x100e4118 "atomiclinux"
~ relative = 0x100e4128
"/!svn/act/79beb5b4-c031-444d-871a-82152aac2e5d"
~ repos_path = 0x0
~ repos_key = 0x100e4250 "mod_dav_svn:/home/cvs/atomiclinux"
~ version_name = 0x0
~ serr = (svn_error_t *) 0x2ad8bed0
~ err = (dav_error *) 0x0
~ had_slash = 0
#8 0x0043080c in dav_get_resource (r=0x100ab4d8, label_allowed=0,
use_checked_in=0, res_p=0x7fff7a90) at mod_dav.c:748
~ conf = (dav_dir_conf *) 0x0
~ label = 0x0
~ err = (dav_error *) 0x0
#9 0x004386f0 in dav_method_make_activity (r=0x100ab4d8) at mod_dav.c:4147
~ resource = (dav_resource *) 0x2b38a640
~ vsn_hooks = (const dav_hooks_vsn *) 0x2b41c488
~ err = (dav_error *) 0x0
~ result = 0
#10 0x004396b8 in dav_handler (r=0x100ab4d8) at mod_dav.c:4679
No locals.
#11 0x00464034 in ap_run_handler (r=0x100ab4d8) at config.c:195
~ pHook = (ap_LINK_handler_t *) 0x2ab4d0a4
~ n = 0
~ rv = 0
#12 0x00464c68 in ap_invoke_handler (r=0x100ab4d8) at config.c:401
~ new_handler = 0xe <Address 0xe out of bounds>
~ p2 = 0x100ab4d8 " '\n\020hu\n\020 \002\001\020"
~ handler = 0x1 <Address 0x1 out of bounds>
~ p = 0x0
~ result = 269137112
~ old_handler = 0x49e6bc "dav-handler"
#13 0x0042c5a4 in ap_process_request (r=0x100ab4d8) at http_request.c:288
~ access_status = 716492964
#14 0x00425020 in ap_process_http_connection (c=0x100a7568) at
http_core.c:293
~ r = (request_rec *) 0x100ab4d8
~ csd_set = 1
~ csd = (apr_socket_t *) 0x100a7490
#15 0x0047631c in ap_run_process_connection (c=0x100a7568) at
connection.c:85
~ pHook = (ap_LINK_process_connection_t *) 0x2ab4d0a4
~ n = 0
~ rv = 0
#16 0x004768e0 in ap_process_connection (c=0x100a7568, csd=0x100a7490)
at connection.c:211
~ rc = 716492964
#17 0x004611f8 in child_main (child_num_arg=14) at prefork.c:694
~ ptrans = (apr_pool_t *) 0x100a7458
~ allocator = (apr_allocator_t *) 0x100a4df8
~ current_conn = (conn_rec *) 0x100a7568
~ status = 269120872
~ i = 5
~ lr = (ap_listen_rec *) 0x5
~ curr_pollfd = 14
~ last_pollfd = 0
~ pollset = (apr_pollfd_t *) 0x100a54a8
~ offset = 0
~ csd = (void *) 0x100a7490
~ sbh = (ap_sb_handle_t *) 0x100a5488
~ rv = 0
~ bucket_alloc = (apr_bucket_alloc_t *) 0x100a9498
#18 0x004615f0 in make_child (s=0x10010220, slot=0) at prefork.c:734
~ pid = 1
#19 0x004616dc in startup_children (number_to_start=5) at prefork.c:806
~ i = 1
#20 0x004625cc in ap_mpm_run (_pconf=0x1000d6e0, plog=0x5, s=0x5) at
prefork.c:1022
~ index = 5
~ remaining_children_to_start = 5
~ rv = 0
#21 0x0046cac4 in main (argc=2, argv=0x7fff7dd4) at main.c:660
~ exit_status = 716314096
~ c = 88 'X'
~ configtestonly = 0
~ confname = 0x4a63a0 "conf/httpd.conf"
~ def_server_root = 0x4a63b0 "/usr/local/apache2"
~ temp_error_log = 0x0
~ process = (process_rec *) 0x1000b758
~ server_conf = (server_rec *) 0x10010220
~ pglobal = (apr_pool_t *) 0x1000b6d8
~ pconf = (apr_pool_t *) 0x1000d6e0
~ plog = (apr_pool_t *) 0x1004b7d8
~ ptemp = (apr_pool_t *) 0x100517f0
~ pcommands = (apr_pool_t *) 0x100497d0
~ opt = (apr_getopt_t *) 0x10049868
~ rv = 716492964
~ mod = (module **) 0x10010220
~ optarg = 0x0
~ signal_server = (apr_OFN_ap_signal_server_t *) 0
(gdb) quit
The program is running. Exit anyway? (y or n) y
root@qube ~
#
So something in Subversion is fouling up SDBM. Beyond that, I wouldn't
have a clue.
BTW:
On an unrelated topic, for some reason, if I send to
sussman@collab.net, it bounces -- saying I'm "Spamming", I fail to see
how my emails about this problem are spam. Could something also be done
about this too?
- --
+-------------------------------------------------------------+
| Stuart Longland stuartl at longlandclan.hopto.org |
| Brisbane Mesh Node: 719 http://stuartl.cjb.net/ |
| I haven't lost my mind - it's backed up on a tape somewhere |
| Griffith Student No: Course: Bachelor/IT (Nathan) |
+-------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/V8DEIGJk7gLSDPcRAtY0AJ9JnuOtyfr+ERtTRS2O+jXiDhoeKQCdFEN6
nC+XNzq5QYAPMiWu8i9Jzs4=
=V1xP
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 5 00:47:23 2003