python: /build/buildd/subversion-1.7.5/subversion/libsvn_subr/dirent_uri.c:1253: svn_relpath_basename: Assertion `relpath_is_canonical(relpath)' failed.

Bug #1055427 reported by Volodymyr Kolesnykov
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
subversion (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

$ bzr push
Using saved push location: http://username:<email address hidden>/path/to/repo
python: /build/buildd/subversion-1.7.5/subversion/libsvn_subr/dirent_uri.c:1253: svn_relpath_basename: Assertion `relpath_is_canonical(relpath)' failed.

At that 'svn checkout', copy modified files, 'svn commit' work fine without any error.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: bzr-svn 1.2.1-1
ProcVersionSignature: Ubuntu 3.5.0-15.22-generic 3.5.4
Uname: Linux 3.5.0-15-generic x86_64
ApportVersion: 2.5.2-0ubuntu4
Architecture: amd64
Date: Mon Sep 24 13:42:05 2012
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en
 TERM=xterm
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=ru_RU.UTF-8
SourcePackage: bzr-svn
UpgradeStatus: Upgraded to quantal on 2012-09-21 (2 days ago)

Revision history for this message
Volodymyr Kolesnykov (sjinks) wrote :
Revision history for this message
Volodymyr Kolesnykov (sjinks) wrote :
Download full text (53.1 KiB)

Backtrace from gdb:

Program received signal SIGABRT, Aborted.
0x00007ffff6f1c405 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff6f1c405 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff6f1fb6b in __GI_abort () at abort.c:91
#2 0x00007ffff6f150ce in __assert_fail_base (fmt=<optimized out>, assertion=0x7ffff339f225 "relpath_is_canonical(relpath)", file=0x7ffff339f288 "/build/buildd/subversion-1.7.5/subversion/libsvn_subr/dirent_uri.c",
    line=<optimized out>, function=<optimized out>) at assert.c:94
#3 0x00007ffff6f15172 in __GI___assert_fail (assertion=0x7ffff339f225 "relpath_is_canonical(relpath)", file=0x7ffff339f288 "/build/buildd/subversion-1.7.5/subversion/libsvn_subr/dirent_uri.c", line=1253, function=
    0x7ffff339f960 "svn_relpath_basename") at assert.c:103
#4 0x00007ffff33747ac in svn_relpath_basename () from /usr/lib/x86_64-linux-gnu/libsvn_subr-1.so.1
#5 0x00007ffff1b2bd5f in ?? () from /usr/lib/x86_64-linux-gnu/libsvn_ra_neon-1.so.1
#6 0x00007fffee02b0d3 in ?? () from /usr/lib/python2.7/dist-packages/subvertpy/_ra.so
#7 0x000000000045f902 in call_function (oparg=<optimized out>, pp_stack=0x7fffffff9950) at ../Python/ceval.c:4021
#8 PyEval_EvalFrameEx (f=f@entry=
    Frame 0x2412820, for file /usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/commit.py, line 380, in dir_editor_send_changes (.0=(<InventoryRevisionTree(_revision_id='svn-v4:c37a3199-3897-4396-8a2b-d36d91b9cfd9::931', _inventory=<CHKInventory(_fileid_to_entry_cache={'protectedapi-20120519155825-obw57ko2xgexu7ck-1': <CHKInventoryDirectory at remote 0x23c8ef0>, 'run_all_crons.sh-20111008141152-onva8m76t93wgt7p-1': <InventoryFile at remote 0x16dfbb0>, 'yii-20110916110809-lfklylb2m6ou0fc8-1': <CHKInventoryDirectory at remote 0x23c8db8>, 'protected-20110916110805-tx3m9s1x1xhjnu79-1': <CHKInventoryDirectory at remote 0x181cef0>, '0@c37a3199-3897-4396-8a2b-d36d91b9cfd9:%2F': <CHKInventoryDirectory at remote 0x181ce88>, 'public_html-20110916110757-c0f3w2l6yyrf3k8h-1': <CHKInventoryDirectory at remote 0x23c8e20>, 'bzrignore-20110916110938-c9w4z5t8r4mlnlgl-1': <InventoryFile at remote 0x23ca9f0>}, _search_key_name='hash-255-way', root_id='0@c37a3199-3897-4396-8a2b-d36d91b9cfd9:%2F', _fully_cached=False, parent_id_base...(truncated), throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#9 0x00000000004671d9 in PyEval_EvalCodeEx (co=0x16cbd30, globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>, argcount=argcount@entry=9, kws=0x6, kwcount=0, defs=0x0, defcount=0, closure=closure@entry=0x0)
    at ../Python/ceval.c:3253
#10 0x000000000045ff67 in fast_function (nk=<optimized out>, na=9, n=<optimized out>, pp_stack=0x7fffffff9be0, func=<function at remote 0x16d8a28>) at ../Python/ceval.c:4117
#11 call_function (oparg=<optimized out>, pp_stack=0x7fffffff9be0) at ../Python/ceval.c:4042
#12 PyEval_EvalFrameEx (f=f@entry=
    Frame 0x1724da0, for file /usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/commit.py, line 832, in commit (self=<SvnCommitBuilder(_svnprops=<lazy_di...

Revision history for this message
Volodymyr Kolesnykov (sjinks) wrote :

Seems to be a problem with subversion, not with bzr-svn itself

affects: bzr-svn (Ubuntu) → subversion (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in subversion (Ubuntu):
status: New → Confirmed
Revision history for this message
Alexander Gabriel (einalex) wrote :

workaround:
install libsvn1 and subversion both versions 1.6.7 (ubuntu 12.04 versions)
you need libd4.8 for that
this is in conflict with some other packages but lets you push and commit.

please fix this regression bug as soon as possible. it breaks bzr-svn functionality (no push/commit, no fun)

if someone creates a ppa with a working version for ubuntu 12.10. please comment here and let us know!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.