You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Arild Fines <ar...@broadpark.no> on 2003/04/30 00:27:46 UTC
DSP generator linking against release version of Berkeley DLL's in Debug builds
The debug configurations for the svn*.exe projects generated by
gen-make.py -t dsp link against libdb41.lib instead of libdb41d.lib. This
causes, at least on VC++ 7.0, spurious runtime checks to be triggered since
the memory coming out of BDB isn't allocated on the debug heap. Looking at
gen_win.py it seems like the project configurations are hardcoded to link
against the release versions of the BDB import library.
Incidentally, this very same topic was also the subject of my very first
post[1] to this list. Here's an excerpt from that thread...:
>From: Greg Stein <gs...@lyra.org>
>On Fri, Jun 21, 2002 at 09:54:47PM +0200, Branko Cibej wrote:
>> So, the problem is that we link the release BDB into the debug
>> mod_dav_svn.so? Indeed, you're right! Thanks for the report, I'll fix
>> that ASAP.
>Hey... I bet a .dsp generator wouldn't flub that up...
>*prod prod*
>:-)
>Cheers,
>-g
It seems it did ;-)
--
Arild
[1] http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgId=170102
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
RE: DSP generator linking against release version of Berkeley DLL's in Debug builds
Posted by Arild Fines <ar...@broadpark.no>.
Arild Fines wrote:
> The debug configurations for the svn*.exe projects generated by
> gen-make.py -t dsp link against libdb41.lib instead of libdb41d.lib.
> This causes, at least on VC++ 7.0, spurious runtime checks to be
> triggered since the memory coming out of BDB isn't allocated on the
> debug heap. Looking at gen_win.py it seems like the project
> configurations are hardcoded to link against the release versions of
> the BDB import library.
I couldn't help noticing that this wasn't fixed for 0.22. It _will_ cause
lots of ugly things to happen if someone tries to run debug builds of svn,
svnadmin, svnlook and svnserve.
--
Arild
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org