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

Recursion of copy_source_ops() causes stack overflow in Apache

From: Robin Boerdijk <robin_boerdijk_at_yahoo.com>
Date: 2007-01-22 10:07:20 CET

Hi,

I am investigating an Apache crash on our production SVN server. It
happens during a working copy update of one specific file in one
specific SVN repository. Our production SVN server is a Windows 2000
server running Apache 2.0.54 and SVN 1.2.3. When the Apache worker
process crashes it leaves behind a message box showing exception code
0xC00000FD (stack overflow).

To investigate this problem, I built a clean sandbox environment from
scratch using Apache 2.0.59 and SVN 1.4.2. I imported the production
repository into this environment and ran the same working copy update.
Again the Apache worker process crashed, but this time without leaving
any message box behind, it seemed to simply exit.

I have instrumented my copy of the SVN 1.4.2 source code tree to trace
this problem, all the way from dav_svn_deliver_report() in mod_dav_svn
to copy_source_ops() in libsvn_delta. My conclusion is that the
recursion of copy_source_ops() causes the stack overflow. In my case,
the stack overflow occurred at a recursion depth of 2183.

My question: Is this a bug or is it normal for copy_source_ops() to
recurse so deep?

Thanks,

Robin Boerdijk

 
____________________________________________________________________________________
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 22 10:07:37 2007

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.