You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Kevin Pilch-Bisson ke...@pilch-bisson.net on 2003/01/24 12:22:24 UTC

Re: crash in import

On Fri, Jan 24, 2003 at 08:16:57PM +0100, Ich Selbst wrote:
 ok, now comes the strangest part (for me at least):
 when I use the release build _outside_ the debugger
 then it works! Only when I start the program inside
 the debugger then it crashes. ??? I'm confused...
 
 Stefan
 
If you launch a process within VS it gets a different heap than if it is
launched outside of VS.  This is done specifically to be able to find bugs
like this when running in the debugger.  I.e. it gets a debug heap that does
puts some guards on allocations.

This is probably why it won't repro outside of the debugger.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention. - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: crash in import

Posted by Kevin Pilch-Bisson ke...@pilch-bisson.net.
On Fri, Jan 24, 2003 at 08:29:34PM +0100, Ich Selbst wrote:
 If you launch a process within VS it gets a different heap than if it is
 launched outside of VS.  This is done specifically to be able to find bugs
 like this when running in the debugger.  I.e. it gets a debug heap that
 does
 puts some guards on allocations.
 
 This is probably why it won't repro outside of the debugger.
 
 I figured that too. But wouldn't that mean that at least those guards
 are overwritten? So there would still be a bug in the subversion client?
 
 Stefan
Yes, it most likely does indicate a problem in svn.  I just meant to say that
it was reasonable for the crash to disapear when run outside of the debugger.
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention. - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: crash in import

Posted by Ich Selbst ic...@gmx.ch.
If you launch a process within VS it gets a different heap than if it is
launched outside of VS.  This is done specifically to be able to find bugs
like this when running in the debugger.  I.e. it gets a debug heap that
does
puts some guards on allocations.

This is probably why it won't repro outside of the debugger.

I figured that too. But wouldn't that mean that at least those guards
are overwritten? So there would still be a bug in the subversion client?

Stefan


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org