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

Re: mod_dav_svn segfaults on MKACTIVITY

From: Joachim Feise <jfeise_at_ics.uci.edu>
Date: 2003-05-20 00:11:54 CEST

Ben Collins-Sussman wrote:
> Joachim Feise <jfeise@ics.uci.edu> writes:
>
>
>>>Are you issuing a direct MKACTIVITY with some non-svn client?
>>
>>Yes.
>>
>
>
> Do you have a tool for doing that? I'd like to reproduce the segfault
> locally, but cadaver only allows me to issue WebDAV requests, not
> DeltaV ones.

here is a backtrace.
MKACTIVITY without any body is enough to reproduce it.

-Joe

telnet localhost 8081
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
MKACTIVITY /svn/test1 HTTP/1.1
Host: localhost

(gdb) run -X -f /home/jfeise/source/httpd.conf
Starting program: /usr/local/apache2/bin/httpd -X -f /home/jfeise/source/httpd.conf

Program received signal SIGSEGV, Segmentation fault.
0x40286c03 in dav_svn_store_activity (repos=0x81b79b8, activity_id=0x0,
    txn_name=0x81b7d00 "1i") at ./subversion/mod_dav_svn/activity.c:98
98 key.dsize = strlen(activity_id) + 1; /* null-term'd */
(gdb) backtrace
#0 0x40286c03 in dav_svn_store_activity (repos=0x81b79b8, activity_id=0x0,
    txn_name=0x81b7d00 "1i") at ./subversion/mod_dav_svn/activity.c:98
#1 0x4028dcff in dav_svn_make_activity (resource=0x81b7930)
    at ./subversion/mod_dav_svn/version.c:809
#2 0x8091e2a in dav_method_make_activity (r=0x81b5f68) at mod_dav.c:4074
#3 0x80925fa in dav_handler (r=0x81b5f68) at mod_dav.c:4571
#4 0x80b0f5c in ap_run_handler (r=0x81b5f68) at config.c:194
#5 0x80b140a in ap_invoke_handler (r=0x81b5f68) at config.c:401
#6 0x808c292 in ap_process_request (r=0x81b5f68) at http_request.c:288
#7 0x80882cf in ap_process_http_connection (c=0x81a7128) at http_core.c:293
#8 0x80b93f8 in ap_run_process_connection (c=0x81a7128) at connection.c:85
#9 0x80b963c in ap_process_connection (c=0x81a7128, csd=0x81a7070) at connection.c:211
#10 0x80afdbf in child_main (child_num_arg=0) at prefork.c:696
#11 0x80afe63 in make_child (s=0x810e570, slot=0) at prefork.c:736
#12 0x80aff39 in startup_children (number_to_start=5) at prefork.c:808
#13 0x80b021e in ap_mpm_run (_pconf=0x810a4c0, plog=0x814a5c0, s=0x810e570)
    at prefork.c:1024
#14 0x80b4f24 in main (argc=4, argv=0xbffffb98) at main.c:660
(gdb)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 20 00:13:27 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.