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

Assertion: `opt || cstr' failed in marshal.c

From: Andreas Aardal Hanssen <svn-users_at_andreas.hanssen.name>
Date: 2004-02-21 10:00:04 CET

Hi, there.

I'm using 0.37.0 on both client and server side. I'm getting the following
assertion when doing an "svn update":

svn: subversion/libsvn_ra_svn/marshal.c:434: vwrite_tuple: Assertion `opt || cstr' failed.

Now a little more context; originally I had this depot structure:


Then I changed it to this, with "svn move":


I had an original older checkout of the "first" structure at one location,
and when doing a "svn update" there, I got this:

andreaha@schizo:~/code/private/c++/bincimap> svn update
Restored 'trunk/aclocal.m4'
U trunk/bincimap.spec.in
A trunk/src/argparser.cc
U trunk/src/session-initialize-bincimapd.cc
U trunk/src/session.cc
U trunk/src/session-initialize-bincimap-up.cc
U trunk/src/Makefile.am
U trunk/src/session.h
A trunk/src/argparser.h
D trunk/src/arg-error.cc
D trunk/src/arg-arg.h
D trunk/src/arg-arg.cc
D trunk/src/arg-checkers.h
D trunk/src/arg-error.h
D trunk/src/arg-parser.cc
D trunk/src/arg-parser.h
D branches/1.2
D branches/bincimap-1.2.6beta5
svn: subversion/libsvn_ra_svn/marshal.c:434: vwrite_tuple: Assertion `opt || cstr' failed.
Aborted (core dumped)
andreaha@schizo:~/code/private/c++/bincimap> svn update
svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
andreaha@schizo:~/code/private/c++/bincimap> svn cleanup
andreaha@schizo:~/code/private/c++/bincimap> svn update
svn: subversion/libsvn_ra_svn/marshal.c:434: vwrite_tuple: Assertion `opt || cstr' failed.
Aborted (core dumped)

And here's the backtrace from gdb:

(gdb) bt
#0 0x403f3471 in kill () from /lib/libc.so.6
#1 0x40382521 in pthread_kill () from /lib/libpthread.so.0
#2 0x4038283b in raise () from /lib/libpthread.so.0
#3 0x403f3204 in raise () from /lib/libc.so.6
#4 0x403f4830 in abort () from /lib/libc.so.6
#5 0x403ec824 in __assert_fail () from /lib/libc.so.6
#6 0x400a6feb in vwrite_tuple (conn=0x81229c8, pool=0x80a7a50, fmt=0x400a8987 "ccn", ap=0xbfffeae8 "") at subversion/libsvn_ra_svn/marshal.c:451
#7 0x400a707b in svn_ra_svn_write_tuple (conn=0x81229c8, pool=0x80a7a50, fmt=0x400a8986 "nccn") at subversion/libsvn_ra_svn/marshal.c:475
#8 0x400a7d42 in svn_ra_svn_write_cmd_failure (conn=0x81229c8, pool=0x80a7a50, err=0x809cbe0) at subversion/libsvn_ra_svn/marshal.c:837
#9 0x400a608d in svn_ra_svn__drive_editorp (conn=0x81229c8, pool=0x809ccc8, editor=0x81250d0, edit_baton=0x8125110, aborted=0x0) at subversion/libsvn_ra_svn/editorp.c:793
#10 0x400a4605 in svn_ra_svn_drive_editor (conn=0x81229c8, pool=0x8086320, editor=0x81250d0, edit_baton=0x8125110, aborted=0x0) at subversion/libsvn_ra_svn/editor.c:720
#11 0x400a1202 in ra_svn_finish_report (baton=0x8125228, pool=0x8086320) at subversion/libsvn_ra_svn/client.c:356
#12 0x400352c7 in svn_wc_crawl_revisions (path=0x8060d10 "", adm_access=0x8087070, reporter=0x400a9008, report_baton=0x8125228, restore_files=1, recurse=1, use_commit_times=0, notify_func=0x804f0d0 <notify>, notify_baton=0x8060d38, traversal_info=0x8086358, pool=0x8086320) at subversion/libsvn_wc/adm_crawler.c:566
#13 0x4002c635 in svn_client__update_internal (result_rev=0x0, path=0x8060d10 "", revision=0xbfffefa0, recurse=1, timestamp_sleep=0x0, ctx=0x8060310, pool=0x8086320) at subversion/libsvn_client/update.c:147#14 0x4002c752 in svn_client_update (result_rev=0x0, path=0x8060d10 "", revision=0xbfffefa0, recurse=1, ctx=0x8060310, pool=0x8086320) at subversion/libsvn_client/update.c:200
#15 0x08051b2d in svn_cl__update (os=0x805fe80, baton=0x0, pool=0x8060d10) at subversion/clients/cmdline/update-cmd.c:74
#16 0x0804e89f in main (argc=134536576, argv=0xbffff0b4) at subversion/clients/cmdline/main.c:1260
#17 0x403df857 in __libc_start_main () from /lib/libc.so.6

Hope you can find something useful here. If not, please point me to
what more info I can provide.


Andreas Aardal Hanssen
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Feb 21 10:00:16 2004

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.