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

Re: Messages from hooks

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-02-19 18:44:40 CET

Ben Collins-Sussman <sussman@collab.net> writes:

> I'm sure you're capable of finding the segfault. Keep us posted...

The trunk is segfaulting here

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 14972)]
dav_log_err (r=0x81198f0, err=0x8129c60, level=3) at mod_dav.c:585
585 if (errscan->desc == NULL)
(gdb) p errscan
$1 = (dav_error *) 0x230
(gdb) bt
#0 dav_log_err (r=0x81198f0, err=0x8129c60, level=3) at mod_dav.c:585
#1 0x403cd734 in dav_prop_log_errors (ctx=0x0) at mod_dav.c:2175
#2 0x403cd780 in dav_process_ctx_list (func=0x403cd710 <dav_prop_log_errors>,
    ctx_list=0x0, stop_on_error=0, reverse=0) at mod_dav.c:2202
#3 0x403cdb0f in dav_method_proppatch (r=0x81198f0) at mod_dav.c:2358
#4 0x080812d5 in ap_run_handler (r=0x0) at config.c:194
#5 0x080818b0 in ap_invoke_handler (r=0x8129920) at config.c:401
#6 0x0806e5f6 in ap_process_request (r=0x403dc648) at http_request.c:288
#7 0x08069bdc in ap_process_http_connection (c=0x8129920) at http_core.c:293
#8 0x0808c365 in ap_run_process_connection (c=0x0) at connection.c:85
#9 0x0807f924 in child_main (child_num_arg=0) at prefork.c:694
#10 0x0807fb3b in make_child (s=0x3, slot=135436576) at prefork.c:734
#11 0x0807fb98 in startup_children (number_to_start=5) at prefork.c:806
#12 0x080803ea in ap_mpm_run (_pconf=0x80ba040, plog=0x80c2d80, s=0x80c5250)
    at prefork.c:1022
#13 0x080867f8 in main (argc=2, argv=0xbffffc14) at main.c:660

I've switched to the 1.0 branch and it doesn't segfault, but I still
don't see the hook errors properly and the apache log contains

[Thu Feb 19 17:36:29 2004] [error] [client 127.0.0.1] Could not MERGE resource "/obj/repo/!svn/act/76ffe201-b8d3-0310-a82d-f775fc91260c" into "/obj/repo". [409, #0]
[Thu Feb 19 17:36:29 2004] [error] [client 127.0.0.1] An error occurred while committing the transaction. [409, #165001]
[Thu Feb 19 17:36:29 2004] [error] [client 127.0.0.1] (84)Invalid or incomplete multibyte or wide character: 'pre-commit' hook failed with error output:
  [409, #165001]

and

[Thu Feb 19 17:37:53 2004] [error] [client 127.0.0.1] Could not execute PROPPATCH. [500, #206]
[Thu Feb 19 17:37:53 2004] [error] [client 127.0.0.1] 'pre-revprop-change' hook failed with error output:
  [500, #165001]
[Thu Feb 19 17:37:53 2004] [error] [client 127.0.0.1] (84)Invalid or incomplete multibyte or wide character: 'pre-revprop-change' hook failed with error output:
  [500, #165001]

I'm sure we used to send hook errors over ra_dav (apart from
post-commit) or is my memory playing tricks?

I don't understand "Invalid or incomplete multibyte or wide character"
either, everything I amd doing is using ASCII.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 19 18:44:53 2004

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.