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

Re: Assertion failed: is_canonical (base, blen)

From: Maxim Abrashkin <max-av_at_yandex.ru>
Date: 2005-09-12 21:32:51 CEST

Hello,

>
> We have received a similar error message running svnserve on the
> svn-1.2.3 3 windows runtime.
>
> C:\>svnserve -d -r \tmp\merge\test_repository
> Assertion failed: is_canonical (path->data, path->len), file
> C:\Home\brane\src\svn\releases\subversion-1.2.3\subversion\libsvn_subr\path.c,
> line 343
>
> This has forced us back to the 1.1.4 runtime.
>
> Anyone have any insight into what is causing this issue?
>
> Thanks,
> -Mark

The problem is trivial: incorrect project file generation for Visual
Studio.

To disable assert in release configuration preprocessor definition
NDEBUG must be defined, but it missing in generated project file.

The fix:
after line 601,602 in gen_win.py
     if cfg == 'Debug':
       fakedefines.extend(["_DEBUG","SVN_DEBUG"])
add this lines
     else:
       fakedefines.extend(["NDEBUG"])

then regenerate project files and rebuild subversion.

--
Maxim
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 12 21:35:15 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.