You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Bill McCormick <wp...@gmail.com> on 2014/02/27 03:37:09 UTC

Assertion svn_uri_is_canonical failed

Hello

Not sure if this is the right place to with this issue, but the issue I 
am having does end in a failed assertion at 
subversion/libsvn_subr/dirent_uri.c:1499. I think this is more than 
likely some issue in a Perl module that isn't doing something correctly, 
but maybe somebody here could help me track it down. I have the issue 
narrowed down to  repo paths that have spaces, since renaming the path 
to NOT include spaces resolves the issue. But since my repository is 
already created and has many paths with spaces and I won't always be 
able to control this, renaming is not my first best option.

Cheers!

Details:

svn, version 1.8.5 (r1542147)
    compiled Nov 19 2013, 15:29:58 on x86_64-unknown-linux-gnu

Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_svn : Module for accessing a repository using the svn network protocol.
   - with Cyrus SASL authentication
   - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using 
serf.
   - using serf 1.3.2
   - handles 'http' scheme
   - handles 'https' scheme


[Wed Feb 26 19:55:59.727571 2014] [cgi:error] [pid 16064] [client 
10.10.1.10:38518] AH01215: [Wed Feb 26 19:55:59 2014] xmlrpc.cgi: 
Class::MOP::load_class is deprecated at 
/usr/local/lib/perl/5.14.2/Class/MOP.pm line 73.
[Wed Feb 26 19:55:59.727641 2014] [cgi:error] [pid 16064] [client 
10.10.1.10:38518] AH01215: [Wed Feb 26 19:55:59 2014] xmlrpc.cgi: 
\tClass::MOP::load_class("VCI::VCS::Svn") called at 
/usr/local/share/perl/5.14.2/VCI.pm line 40
[Wed Feb 26 19:55:59.727667 2014] [cgi:error] [pid 16064] [client 
10.10.1.10:38518] AH01215: [Wed Feb 26 19:55:59 2014] xmlrpc.cgi: \teval 
{...} called at /usr/local/share/perl/5.14.2/VCI.pm line 40
[Wed Feb 26 19:55:59.727726 2014] [cgi:error] [pid 16064] [client 
10.10.1.10:38518] AH01215: [Wed Feb 26 19:55:59 2014] xmlrpc.cgi: 
\tVCI::connect("VCI", "type", "Svn", "repo", 
"svn://localhost/svn/FIBER_ENGINE_TEST") called at 
/loader/0x27700a0/Bugzilla/Extension/VCS/Commit.pm line 289
[Wed Feb 26 19:55:59.727784 2014] [cgi:error] [pid 16064] [client 
10.10.1.10:38518] AH01215: [Wed Feb 26 19:55:59 2014] xmlrpc.cgi: 
\tBugzilla::Extension::VCS::Commit::_check_repo("Bugzilla::Extension::VCS::Commit", 
"svn://localhost/svn/FIBER_ENGINE_TEST", "repo", HASH(0x18d2d28)) called 
at Bugzilla/Object.pm line 517
[Wed Feb 26 19:55:59.727848 2014] [cgi:error] [pid 16064] [client 
10.10.1.10:38518] AH01215: [Wed Feb 26 19:55:59 2014] xmlrpc.cgi: 
\tBugzilla::Object::run_create_validators("Bugzilla::Extension::VCS::Commit", 
HASH(0x34a4748)) called at 
/loader/0x27700a0/Bugzilla/Extension/VCS/Commit.pm line 109
[Wed Feb 26 19:55:59.727895 2014] [cgi:error] [pid 16064] [client 
10.10.1.10:38518] AH01215: [Wed Feb 26 19:55:59 2014] xmlrpc.cgi: 
\tBugzilla::Extension::VCS::Commit::run_create_validators("Bugzilla::Extension::VCS::Commit", 
HASH(0x34a4748)) called at 
/loader/0x27700a0/Bugzilla/Extension/VCS/Commit.pm line 164
[Wed Feb 26 19:55:59.727938 2014] [cgi:error] [pid 16064] [client 
10.10.1.10:38518] AH01215: [Wed Feb 26 19:55:59 2014] xmlrpc.cgi: 
\tBugzilla::Extension::VCS::Commit::create("Bugzilla::Extension::VCS::Commit", 
HASH(0x34a4748)) called at 
/loader/0x27700a0/Bugzilla/Extension/VCS/WebService.pm line 37
[Wed Feb 26 19:55:59.727982 2014] [cgi:error] [pid 16064] [client 
10.10.1.10:38518] AH01215: [Wed Feb 26 19:55:59 2014] xmlrpc.cgi: 
\tBugzilla::Extension::VCS::WebService::add_commit("Bugzilla::Extension::VCS::WebService", 
HASH(0x34a4748)) called at /usr/local/share/perl/5.14.2/SOAP/Lite.pm 
line 2875
[Wed Feb 26 19:55:59.728007 2014] [cgi:error] [pid 16064] [client 
10.10.1.10:38518] AH01215: [Wed Feb 26 19:55:59 2014] xmlrpc.cgi: \teval 
{...} called at /usr/local/share/perl/5.14.2/SOAP/Lite.pm line 2860
[Wed Feb 26 19:55:59.728033 2014] [cgi:error] [pid 16064] [client 
10.10.1.10:38518] AH01215: [Wed Feb 26 19:55:59 2014] xmlrpc.cgi: \teval 
{...} called at /usr/local/share/perl/5.14.2/SOAP/Lite.pm line 2826
[Wed Feb 26 19:55:59.728103 2014] [cgi:error] [pid 16064] [client 
10.10.1.10:38518] AH01215: [Wed Feb 26 19:55:59 2014] xmlrpc.cgi: 
\tSOAP::Server::handle(Bugzilla::WebService::Server::XMLRPC=HASH(0x30db020), 
"<?xml version=\\"1.0\\" 
encoding=\\"us-ascii\\"?><methodCall><methodN"...) called at 
/usr/local/share/perl/5.14.2/SOAP/Transport/HTTP.pm line 438
[Wed Feb 26 19:55:59.728232 2014] [cgi:error] [pid 16064] [client 
10.10.1.10:38518] AH01215: [Wed Feb 26 19:55:59 2014] xmlrpc.cgi: 
\tSOAP::Transport::HTTP::Server::handle(Bugzilla::WebService::Server::XMLRPC=HASH(0x30db020)) 
called at /usr/local/share/perl/5.14.2/SOAP/Transport/HTTP.pm line 603
[Wed Feb 26 19:55:59.728292 2014] [cgi:error] [pid 16064] [client 
10.10.1.10:38518] AH01215: [Wed Feb 26 19:55:59 2014] xmlrpc.cgi: 
\tSOAP::Transport::HTTP::CGI::handle(Bugzilla::WebService::Server::XMLRPC=HASH(0x30db020)) 
called at /var/www/bugzilla/xmlrpc.cgi line 39
[Wed Feb 26 19:56:58.050061 2014] [cgi:error] [pid 15881] [client 
10.10.1.10:38523] AH01215: [Wed Feb 26 19:56:58 2014] xmlrpc.cgi: 
Class::MOP::load_class is deprecated at 
/usr/local/lib/perl/5.14.2/Class/MOP.pm line 73.
[Wed Feb 26 19:56:58.050125 2014] [cgi:error] [pid 15881] [client 
10.10.1.10:38523] AH01215: [Wed Feb 26 19:56:58 2014] xmlrpc.cgi: 
\tClass::MOP::load_class("VCI::VCS::Svn") called at 
/usr/local/share/perl/5.14.2/VCI.pm line 40
[Wed Feb 26 19:56:58.050150 2014] [cgi:error] [pid 15881] [client 
10.10.1.10:38523] AH01215: [Wed Feb 26 19:56:58 2014] xmlrpc.cgi: \teval 
{...} called at /usr/local/share/perl/5.14.2/VCI.pm line 40
[Wed Feb 26 19:56:58.050192 2014] [cgi:error] [pid 15881] [client 
10.10.1.10:38523] AH01215: [Wed Feb 26 19:56:58 2014] xmlrpc.cgi: 
\tVCI::connect("VCI", "type", "Svn", "repo", 
"svn://localhost/svn/FIBER_ENGINE_TEST") called at 
/loader/0x23940a0/Bugzilla/Extension/VCS/Commit.pm line 289
[Wed Feb 26 19:56:58.050239 2014] [cgi:error] [pid 15881] [client 
10.10.1.10:38523] AH01215: [Wed Feb 26 19:56:58 2014] xmlrpc.cgi: 
\tBugzilla::Extension::VCS::Commit::_check_repo("Bugzilla::Extension::VCS::Commit", 
"svn://localhost/svn/FIBER_ENGINE_TEST", "repo", HASH(0x14f6d28)) called 
at Bugzilla/Object.pm line 517
[Wed Feb 26 19:56:58.050283 2014] [cgi:error] [pid 15881] [client 
10.10.1.10:38523] AH01215: [Wed Feb 26 19:56:58 2014] xmlrpc.cgi: 
\tBugzilla::Object::run_create_validators("Bugzilla::Extension::VCS::Commit", 
HASH(0x30c8848)) called at 
/loader/0x23940a0/Bugzilla/Extension/VCS/Commit.pm line 109
[Wed Feb 26 19:56:58.050339 2014] [cgi:error] [pid 15881] [client 
10.10.1.10:38523] AH01215: [Wed Feb 26 19:56:58 2014] xmlrpc.cgi: 
\tBugzilla::Extension::VCS::Commit::run_create_validators("Bugzilla::Extension::VCS::Commit", 
HASH(0x30c8848)) called at 
/loader/0x23940a0/Bugzilla/Extension/VCS/Commit.pm line 164
[Wed Feb 26 19:56:58.050422 2014] [cgi:error] [pid 15881] [client 
10.10.1.10:38523] AH01215: [Wed Feb 26 19:56:58 2014] xmlrpc.cgi: 
\tBugzilla::Extension::VCS::Commit::create("Bugzilla::Extension::VCS::Commit", 
HASH(0x30c8848)) called at 
/loader/0x23940a0/Bugzilla/Extension/VCS/WebService.pm line 37
[Wed Feb 26 19:56:58.050467 2014] [cgi:error] [pid 15881] [client 
10.10.1.10:38523] AH01215: [Wed Feb 26 19:56:58 2014] xmlrpc.cgi: 
\tBugzilla::Extension::VCS::WebService::add_commit("Bugzilla::Extension::VCS::WebService", 
HASH(0x30c8848)) called at /usr/local/share/perl/5.14.2/SOAP/Lite.pm 
line 2875
[Wed Feb 26 19:56:58.050493 2014] [cgi:error] [pid 15881] [client 
10.10.1.10:38523] AH01215: [Wed Feb 26 19:56:58 2014] xmlrpc.cgi: \teval 
{...} called at /usr/local/share/perl/5.14.2/SOAP/Lite.pm line 2860
[Wed Feb 26 19:56:58.050518 2014] [cgi:error] [pid 15881] [client 
10.10.1.10:38523] AH01215: [Wed Feb 26 19:56:58 2014] xmlrpc.cgi: \teval 
{...} called at /usr/local/share/perl/5.14.2/SOAP/Lite.pm line 2826
[Wed Feb 26 19:56:58.050571 2014] [cgi:error] [pid 15881] [client 
10.10.1.10:38523] AH01215: [Wed Feb 26 19:56:58 2014] xmlrpc.cgi: 
\tSOAP::Server::handle(Bugzilla::WebService::Server::XMLRPC=HASH(0x2cff020), 
"<?xml version=\\"1.0\\" 
encoding=\\"us-ascii\\"?><methodCall><methodN"...) called at 
/usr/local/share/perl/5.14.2/SOAP/Transport/HTTP.pm line 438
[Wed Feb 26 19:56:58.050614 2014] [cgi:error] [pid 15881] [client 
10.10.1.10:38523] AH01215: [Wed Feb 26 19:56:58 2014] xmlrpc.cgi: 
\tSOAP::Transport::HTTP::Server::handle(Bugzilla::WebService::Server::XMLRPC=HASH(0x2cff020)) 
called at /usr/local/share/perl/5.14.2/SOAP/Transport/HTTP.pm line 603
[Wed Feb 26 19:56:58.050653 2014] [cgi:error] [pid 15881] [client 
10.10.1.10:38523] AH01215: [Wed Feb 26 19:56:58 2014] xmlrpc.cgi: 
\tSOAP::Transport::HTTP::CGI::handle(Bugzilla::WebService::Server::XMLRPC=HASH(0x2cff020)) 
called at /var/www/bugzilla/xmlrpc.cgi line 39
[Wed Feb 26 19:56:58.360939 2014] [cgi:error] [pid 15881] [client 
10.10.1.10:38523] AH01215: perl: 
subversion/libsvn_subr/dirent_uri.c:1499: uri_skip_ancestor: Assertion 
`svn_uri_is_canonical(child_uri, ((void *)0))' failed.
[Wed Feb 26 19:56:58.470178 2014] [cgi:error] [pid 15881] [client 
10.10.1.10:38523] End of script output before headers: xmlrpc.cgi
[

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com



Re: Assertion svn_uri_is_canonical failed

Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag Bill McCormick,
am Donnerstag, 27. Februar 2014 um 03:37 schrieben Sie:

> [Wed Feb 26 19:56:58.360939 2014] [cgi:error] [pid 15881] [client
> 10.10.1.10:38523] AH01215: perl: 
> subversion/libsvn_subr/dirent_uri.c:1499: uri_skip_ancestor: Assertion
> `svn_uri_is_canonical(child_uri, ((void *)0))' failed.

Sounds like you need to debug VCI/Bugzilla until you get the path with
which svn_uri_is_canonical gets called, otherwise I don't see how one
can tell where the problem is. I would suspect the SVN classes of VCI
are calling functions for URIs with local paths or unencoded spaces or
such. But I have no idea from your stacktrace where to start looking
at beyond "add_commit".

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow


Re: Assertion svn_uri_is_canonical failed

Posted by Bill McCormick <wp...@gmail.com>.
On 2/26/2014 8:37 PM, Bill McCormick wrote:
> Hello
>
> Not sure if this is the right place to with this issue, but the issue I
> am having does end in a failed assertion at
> subversion/libsvn_subr/dirent_uri.c:1499. I think this is more than
> likely some issue in a Perl module that isn't doing something correctly,
> but maybe somebody here could help me track it down. I have the issue
> narrowed down to  repo paths that have spaces, since renaming the path
> to NOT include spaces resolves the issue. But since my repository is
> already created and has many paths with spaces and I won't always be
> able to control this, renaming is not my first best option.
>

It's probably worth noting that that none of the paths that have spaces 
give TortoiseSVN any problem.


---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com