Paul,
Thanks for the hint, I'll give it a shot and post the result - man, I
have a lot to learn about unix...
Thanks,
Will
On Nov 25, 2005, at 12:27 PM, Paul Sturm wrote:
> Try removing "--with-mpm=worker" from your Apache configure
> parameters. I was having the same problem and that fixed it for me.
>
> AFAIK, "--with-mpm=worker" configures Apache to use a multi-
> threading strategy, while the default is a pre-fork mult-process
> strategy. So something about the threading makes it crash Apache.
> I didn't investigate it any further. Although I'm sure it doesn't
> have anything to do with chunk size -- that's just what the client
> was expecting when the server crashed. The server never got around
> to sending anything, as far as I could tell.
>
>
> FYI here's how I built it (Mac OS X 10.4.3). I was also able to
> get it to work without the ldap, ssl, and deflate stuff.
>
> #!/bin/sh
>
> tar xvjf httpd-2.0.55.tar.bz2
> tar xvjf subversion-1.2.3.tar.bz2
>
> cd httpd-2.0.55
> ./configure --without-berkeley-db --enable-so --enable-dav \
> --enable-ssl --with-ldap --enable-ldap --with-auth-ldap --enable-
> auth-ldap \
> --enable-mods-shared=most --enable-deflate
> make
> sudo make install
>
> cd ../subversion-1.2.3
> ./configure --prefix=/usr/local \
> --mandir=/usr/local/share/man --with-ssl \
> --with-apxs=/usr/local/apache2/bin/apxs --with-zlib \
> --enable-swig-bindings=no --without-berkeley-db \
> --with-apr=/usr/local/apache2 \
> --with-apr-util=/usr/local/apache2
> make
> sudo make install
>
>
>
> On 25 Nov 2005, at 11:44 AM, Will Senn wrote:
>
>> Hi all,
>>
>> I originally posted this to user@, but was directed to post to
>> this list as a more appropriate venue. Could y'all take a look and
>> tell me what might be the matter?
>>
>> Regards,
>>
>> Will
>> ---- snip
>>
>> Hi,
>>
>> Please be kind, I've tried a bunch of stuff (including the
>> ac_cv_func_poll=no workaround from the FAQ) to correct this
>> problem, all to no avail.
>>
>> Problem:
>> Unable to check out repository using HTTP - works fine using file:///
>>
>> SVN Error:
>> svn: REPORT request failed on '/svn/!svn/vcc/default'
>> svn: REPORT of '/svn/!svn/vcc/default': Could not read chunk size:
>> connection was closed by server. (http://localhost:8080)
>>
>> Platform:
>> Mac OS X 10.4.3 (Tiger)
>> 15" Powerbook 1.5Ghz with 1 GB RAM
>> XCode 2.2
>> powerpc-apple-darwin8-gcc-4.0.1
>> Apache 2.0.55
>> Subversion 1.2.3
>> Apr 0.9.7
>> Apr-util 0.9.7
>>
>> Apr and Apr-util 0.9.7 built from source
>> from the release notes:
>> *) Fix issue with poll() followed by net I/O yielding EAGAIN on
>> Mac OS 10.4 (Darwin 8). [Wilfredo Sanchez]
>>
>> Apache 2.0.55 built from source
>> ./configure --enable-mods-shared=most --enable-ssl --with-
>> mpm=worker --without-berkeley-db --with-apr=/usr/local/apr --with-
>> apr-util=/usr/local/apr
>>
>> I checked the httpd binary linkages:
>> $ otool -L /usr/local/apache2/bin/httpd
>> /usr/local/apache2/bin/httpd:
>> /usr/local/apr/lib/libaprutil-0.0.dylib (compatibility
>> version 10.0.0, current version 10.7.0)
>> /usr/local/apr/lib/libexpat.0.dylib (compatibility version
>> 2.0.0, current version 2.0.0)
>> /usr/local/apr/lib/libapr-0.0.dylib (compatibility version
>> 10.0.0, current version 10.7.0)
>>
>> Subversion 1.2.3 built from source
>> ./configure --prefix=/usr/local --mandir=/usr/local/share/man --
>> with-ssl --with-apxs=/usr/local/apache2/bin/apxs --with-zlib --
>> enable-swig-bindings=no --without-berkeley-db --with-apr=/usr/
>> local/apr --with-apr-util=/usr/local/apr
>>
>> NOTE: I have built apr, apr-util, httpd and svn with
>> ac_cv_func_poll set to no and unset as well.
>>
>> I configured the dav stuff in httpd.conf
>> added
>> <Location /svn>
>> DAV svn
>> SVNPath /path/to/repos
>> </Location>
>>
>> make install added these lines to httpd.conf
>> LoadModule dav_svn_module modules/mod_dav_svn.so
>> LoadModule authz_svn_module modules/mod_authz_svn.so
>>
>> I tested svn in the browser
>> http://localhost:8080/svn and everything looked ok.
>>
>> I tested svn from the bash prompt
>> $ svn co http://localhost:8080/svn/trunk .
>>
>> A file
>> A another file
>> A etc...
>> svn: REPORT request failed on '/svn/!svn/vcc/default'
>> svn: REPORT of '/svn/!svn/vcc/default': Could not read chunk size:
>> connection was closed by server. (http://localhost:8080)
>>
>> In the Apache error log
>> [Thu Nov 24 09:27:17 2005] [notice] child pid 18898 exit signal
>> Segmentation fault (11)
>>
>> That was the the pid of the running httpd process:
>> 18898 ?? S 0:00.45 /usr/local/apache2/bin/httpd -k start
>>
>> In the Apache access log
>> access log
>> ::1 - - [24/Nov/2005:09:27:14 -0600] "PROPFIND /svn/trunk HTTP/
>> 1.1" 207 676
>> ::1 - - [24/Nov/2005:09:27:14 -0600] "PROPFIND /svn/!svn/vcc/
>> default HTTP/1.1" 207 390
>> ::1 - - [24/Nov/2005:09:27:14 -0600] "PROPFIND /svn/!svn/bln/325
>> HTTP/1.1" 207 445
>> ::1 - - [24/Nov/2005:09:27:14 -0600] "PROPFIND /svn/trunk HTTP/
>> 1.1" 207 676
>> ::1 - - [24/Nov/2005:09:27:14 -0600] "PROPFIND /svn/!svn/vcc/
>> default HTTP/1.1" 207 390
>> ::1 - - [24/Nov/2005:09:27:14 -0600] "PROPFIND /svn/!svn/bln/325
>> HTTP/1.1" 207 445
>> ::1 - - [24/Nov/2005:09:27:14 -0600] "PROPFIND /svn/trunk HTTP/
>> 1.1" 207 676
>> ::1 - - [24/Nov/2005:09:27:14 -0600] "PROPFIND /svn/!svn/vcc/
>> default HTTP/1.1" 207 445
>> ::1 - - [24/Nov/2005:09:27:14 -0600] "PROPFIND /svn/!svn/bc/325/
>> trunk HTTP/1.1" 207 688
>> ::1 - - [24/Nov/2005:09:27:14 -0600] "PROPFIND /svn/trunk HTTP/
>> 1.1" 207 676
>> ::1 - - [24/Nov/2005:09:27:14 -0600] "PROPFIND /svn/trunk HTTP/
>> 1.1" 207 676
>> ::1 - - [24/Nov/2005:09:27:14 -0600] "PROPFIND /svn/!svn/vcc/
>> default HTTP/1.1" 207 390
>> ::1 - - [24/Nov/2005:09:27:14 -0600] "PROPFIND /svn/!svn/bln/325
>> HTTP/1.1" 207 445
>> ::1 - - [24/Nov/2005:09:27:14 -0600] "PROPFIND /svn/trunk HTTP/
>> 1.1" 207 676
>>
>> In the console log
>> Nov 24 09:27:16 topaz crashdump[18923]: httpd crashed
>> Nov 24 09:27:16 topaz crashdump[18923]: crash report written to: /
>> Library/Logs/CrashReporter/httpd.crash.log
>>
>> In the crash log
>> Host Name: topaz
>> Date/Time: 2005-11-24 09:27:15.430 -0600
>> OS Version: 10.4.3 (Build 8F46)
>> Report Version: 3
>>
>> Command: httpd
>> Path: /usr/local/apache2/bin/httpd
>> Parent: httpd [18811]
>>
>> Version: ??? (???)
>>
>> PID: 18898
>> Thread: 3
>>
>> Exception: EXC_BAD_ACCESS (0x0001)
>> Codes: KERN_INVALID_ADDRESS (0x0001) at 0xeffdc6f0
>>
>> --snip
>>
>> Thread 3 Crashed:
>> 0 libsvn_repos-1.0.dylib 0x00627778 update_entry + 40
>> (reporter.c:631)
>> 1 libsvn_repos-1.0.dylib 0x00627710 delta_dirs + 1084
>> (reporter.c:857)
>> 2 libsvn_repos-1.0.dylib 0x00627b5c update_entry + 1036
>> (reporter.c:719)
>> 3 libsvn_repos-1.0.dylib 0x00627710 delta_dirs + 1084
>> (reporter.c:857)
>> 4 libsvn_repos-1.0.dylib 0x00627b5c update_entry + 1036
>> (reporter.c:719)
>> 5 libsvn_repos-1.0.dylib 0x00627710 delta_dirs + 1084
>> (reporter.c:857)
>> 6 libsvn_repos-1.0.dylib 0x00627b5c update_entry + 1036
>> (reporter.c:719)
>> 7 libsvn_repos-1.0.dylib 0x00627710 delta_dirs + 1084
>> (reporter.c:857)
>> 8 libsvn_repos-1.0.dylib 0x00627b5c update_entry + 1036
>> (reporter.c:719)
>> 9 libsvn_repos-1.0.dylib 0x00627710 delta_dirs + 1084
>> (reporter.c:857)
>> 10 libsvn_repos-1.0.dylib 0x00627b5c update_entry + 1036
>> (reporter.c:719)
>> 11 libsvn_repos-1.0.dylib 0x00627710 delta_dirs + 1084
>> (reporter.c:857)
>> 12 libsvn_repos-1.0.dylib 0x00627b5c update_entry + 1036
>> (reporter.c:719)
>> 13 libsvn_repos-1.0.dylib 0x00627710 delta_dirs + 1084
>> (reporter.c:857)
>> 14 libsvn_repos-1.0.dylib 0x00627b5c update_entry + 1036
>> (reporter.c:719)
>> 15 libsvn_repos-1.0.dylib 0x00627710 delta_dirs + 1084
>> (reporter.c:857)
>> 16 libsvn_repos-1.0.dylib 0x00627b5c update_entry + 1036
>> (reporter.c:719)
>> 17 libsvn_repos-1.0.dylib 0x00627710 delta_dirs + 1084
>> (reporter.c:857)
>> 18 libsvn_repos-1.0.dylib 0x00627b5c update_entry + 1036
>> (reporter.c:719)
>> 19 libsvn_repos-1.0.dylib 0x00627710 delta_dirs + 1084
>> (reporter.c:857)
>> 20 libsvn_repos-1.0.dylib 0x00627b5c update_entry + 1036
>> (reporter.c:719)
>> 21 libsvn_repos-1.0.dylib 0x00627710 delta_dirs + 1084
>> (reporter.c:857)
>> 22 libsvn_repos-1.0.dylib 0x006285fc svn_repos_finish_report +
>> 1128 (reporter.c:913)
>> 23 mod_dav_svn.so 0x005bc6ec dav_svn__update_report +
>> 2456 (update.c:1369)
>> 24 mod_dav_svn.so 0x005be6cc dav_svn_deliver_report +
>> 112 (version.c:1342)
>> 25 mod_dav.so 0x003954c8 dav_method_report + 256
>> (mod_dav.c:4042)
>> 26 mod_dav.so 0x00396f2c dav_handler + 3640
>> (mod_dav.c:4678)
>> 27 httpd 0x00021f18 ap_run_handler + 96
>> (config.c:152)
>> 28 httpd 0x000224e0 ap_invoke_handler + 236
>> (config.c:366)
>> 29 httpd 0x0000888c ap_process_request + 108
>> (http_request.c:253)
>> 30 httpd 0x000032f4 ap_process_http_connection
>> + 116 (http_core.c:253)
>> 31 httpd 0x0001b958 ap_run_process_connection +
>> 96 (connection.c:43)
>> 32 httpd 0x00009f24 worker_thread + 408
>> (worker.c:523)
>> 33 libSystem.B.dylib 0x9002b200 _pthread_body + 96
>>
>> ---snip
>>
>> Thread 3 crashed with PPC Thread State 64:
>> srr0: 0x0000000000627778 srr1:
>> 0x000000000200f030 vrsave: 0x0000000000000000
>> cr: 0x24022422 xer: 0x0000000000000003 lr:
>> 0x0000000000627760 ctr: 0x000000009012c440
>> r0: 0x00000000fffcdf10 r1: 0x00000000f000e7e0 r2:
>> 0x0000000024022422 r3: 0x00000000018d5308
>> r4: 0x0000000000000145 r5: 0x0000000000000000 r6:
>> 0x0000000000000000 r7: 0x0000000001f3dca0
>> r8: 0x0000000001f397b0 r9: 0x0000000001e74da0 r10:
>> 0x0000000001f3dc50 r11: 0x00000000007051e8
>> r12: 0x0000000001f3dcf2 r13: 0x0000000000000001 r14:
>> 0x0000000000000000 r15: 0x0000000000000000
>> r16: 0x0000000000000000 r17: 0x00000000f000e834 r18:
>> 0x0000000000000000 r19: 0x0000000001e74c50
>> r20: 0x0000000000000000 r21: 0x0000000001e74da0 r22:
>> 0x0000000000000145 r23: 0x0000000001e74c98
>> r24: 0x0000000001f3dc50 r25: 0x00000000018d5308 r26:
>> 0x0000000000000000 r27: 0x00000000018d5308
>> r28: 0x0000000001f3dc18 r29: 0x0000000001f3bc18 r30:
>> 0x0000000001f397b0 r31: 0x0000000000627760
>>
>> Binary Images Description:
>> 0x1000 - 0x3cfff httpd /usr/local/apache2/bin/httpd
>> 0x103000 - 0x112fff libaprutil-0.0.dylib /usr/local/apr/lib/
>> libaprutil-0.0.dylib
>> 0x145000 - 0x15efff libexpat.0.dylib /usr/local/apr/lib/
>> libexpat.0.dylib
>> 0x18a000 - 0x1a1fff libapr-0.0.dylib /usr/local/apr/lib/
>> libapr-0.0.dylib
>> 0x1f8000 - 0x1f8fff mod_access.so /usr/local/apache2/modules/
>> mod_access.so
>> 0x305000 - 0x305fff mod_auth.so /usr/local/apache2/modules/
>> mod_auth.so
>> 0x30c000 - 0x30cfff mod_auth_anon.so /usr/local/apache2/
>> modules/mod_auth_anon.so
>> 0x313000 - 0x313fff mod_auth_dbm.so /usr/local/apache2/
>> modules/mod_auth_dbm.so
>> 0x31a000 - 0x31ffff mod_auth_digest.so /usr/local/apache2/
>> modules/mod_auth_digest.so
>> 0x32b000 - 0x32dfff mod_ext_filter.so /usr/local/apache2/
>> modules/mod_ext_filter.so
>> 0x338000 - 0x33ffff mod_include.so /usr/local/apache2/modules/
>> mod_include.so
>> 0x351000 - 0x354fff mod_log_config.so /usr/local/apache2/
>> modules/mod_log_config.so
>> 0x361000 - 0x361fff mod_env.so /usr/local/apache2/modules/
>> mod_env.so
>> 0x368000 - 0x369fff mod_expires.so /usr/local/apache2/modules/
>> mod_expires.so
>> 0x371000 - 0x372fff mod_headers.so /usr/local/apache2/modules/
>> mod_headers.so
>> 0x37b000 - 0x37cfff mod_setenvif.so /usr/local/apache2/
>> modules/mod_setenvif.so
>> 0x384000 - 0x386fff mod_mime.so /usr/local/apache2/modules/
>> mod_mime.so
>> 0x38f000 - 0x3a0fff mod_dav.so /usr/local/apache2/modules/
>> mod_dav.so
>> 0x3d7000 - 0x3dafff mod_status.so /usr/local/apache2/modules/
>> mod_status.so
>> 0x3e3000 - 0x3e8fff mod_autoindex.so /usr/local/apache2/
>> modules/mod_autoindex.so
>> 0x3f5000 - 0x3f5fff mod_asis.so /usr/local/apache2/modules/
>> mod_asis.so
>> 0x505000 - 0x507fff mod_info.so /usr/local/apache2/modules/
>> mod_info.so
>> 0x50f000 - 0x513fff mod_cgid.so /usr/local/apache2/modules/
>> mod_cgid.so
>> 0x521000 - 0x528fff mod_dav_fs.so /usr/local/apache2/modules/
>> mod_dav_fs.so
>> 0x548000 - 0x549fff mod_vhost_alias.so /usr/local/apache2/
>> modules/mod_vhost_alias.so
>> 0x551000 - 0x555fff mod_negotiation.so /usr/local/apache2/
>> modules/mod_negotiation.so
>> 0x563000 - 0x563fff mod_dir.so /usr/local/apache2/modules/
>> mod_dir.so
>> 0x56a000 - 0x56cfff mod_imap.so /usr/local/apache2/modules/
>> mod_imap.so
>> 0x574000 - 0x574fff mod_actions.so /usr/local/apache2/modules/
>> mod_actions.so
>> 0x57b000 - 0x57cfff mod_speling.so /usr/local/apache2/modules/
>> mod_speling.so
>> 0x584000 - 0x584fff mod_userdir.so /usr/local/apache2/modules/
>> mod_userdir.so
>> 0x58b000 - 0x58cfff mod_alias.so /usr/local/apache2/modules/
>> mod_alias.so
>> 0x594000 - 0x59efff mod_rewrite.so /usr/local/apache2/modules/
>> mod_rewrite.so
>> 0x5b1000 - 0x5c5fff mod_dav_svn.so /usr/local/apache2/modules/
>> mod_dav_svn.so
>> 0x61d000 - 0x632fff libsvn_repos-1.0.dylib /usr/local/lib/
>> libsvn_repos-1.0.dylib
>> 0x668000 - 0x66afff libsvn_fs-1.0.dylib /usr/local/lib/
>> libsvn_fs-1.0.dylib
>> 0x678000 - 0x68bfff libsvn_fs_fs-1.0.dylib /usr/local/lib/
>> libsvn_fs_fs-1.0.dylib
>> 0x6ca000 - 0x6d0fff libsvn_delta-1.0.dylib /usr/local/lib/
>> libsvn_delta-1.0.dylib
>> 0x6e6000 - 0x704fff libsvn_subr-1.0.dylib /usr/local/lib/
>> libsvn_subr-1.0.dylib
>> 0x74e000 - 0x755fff libintl.3.dylib /usr/local/lib/libintl.
>> 3.dylib
>> 0x76c000 - 0x76dfff mod_authz_svn.so /usr/local/apache2/
>> modules/mod_authz_svn.so
>> 0x8fe00000 - 0x8fe54fff dyld 44.2 /usr/lib/dyld
>> 0x90000000 - 0x901b3fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
>> 0x9020b000 - 0x9020ffff libmathCommon.A.dylib /usr/lib/system/
>> libmathCommon.A.dylib
>> 0x9073a000 - 0x90813fff com.apple.CoreFoundation 6.4.4 (368.18) /
>> System/Library/Frameworks/CoreFoundation.framework/Versions/A/
>> CoreFoundation
>> 0x9085e000 - 0x90960fff libicucore.A.dylib /usr/lib/
>> libicucore.A.dylib
>> 0x909ba000 - 0x90a3efff libobjc.A.dylib /usr/lib/libobjc.A.dylib
>> 0x90aed000 - 0x90afffff libauto.dylib /usr/lib/libauto.dylib
>> 0x9108c000 - 0x9109afff libz.1.dylib /usr/lib/libz.1.dylib
>> 0x919bd000 - 0x91a83fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.
>> 0.9.7.dylib
>> 0x92cfc000 - 0x92deafff libiconv.2.dylib /usr/lib/libiconv.2.dylib
>> 0x94ce0000 - 0x94d0efff libssl.0.9.7.dylib /usr/lib/libssl.
>> 0.9.7.dylib
>> 0x94d1e000 - 0x94d3bfff libresolv.9.dylib /usr/lib/libresolv.9.dylib
>>
>> Finally, I rebuilt apache and subversion with --enable-maintainer-
>> mode in the hopes of capturing a trace, but the error doesn't
>> occur with these builds...
>>
>> I ran
>> $ sudo gdb httpd
>> gdb>run -X
>>
>> but the error didn't occur when I checked out the repository, so I
>> just ran
>> $ sudo /usr/local/apache2/bin/apachectl start
>>
>> and was able to successfully check out the repository without
>> error, repeatedly.
>>
>> I would rather not be running with maintainer mode, but if that's
>> the best solution, I'll keep doing it. I would appreciate any
>> insight or assistance y'all could provide.
>>
>> Thanks,
>>
>> Will
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: dev-help@subversion.tigris.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 25 19:57:40 2005