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

Re: Obstructed update

From: Sebastian Bergmann <lists_at_sebastian-bergmann.de>
Date: 2002-12-16 18:51:09 CET

Philip Martin wrote:
> The error message was "no longer a directory"

  But it's still a directory. The very same that was checked out. I did
  not even configure or build the source after checking it out.

> It's not supposed to leave a lock unless there are log files present,
> and would expect the "no longer a directory" error to get generated
> before any log files get created.
> Is there a file .svn/log? If so, what does it contain?
> Is there a file ac-helpers/.svn/log? If so, what does it contain?

  Neither of those exist.

>> "svn cleanup" yields
>> sb@wopr-mobile:/usr/src/subversion> svn cleanup
>> svn: subversion/libsvn_subr/path.c:149: svn_path_join:
>> Assertion `is_canonical (component, clen)' failed.
>> Aborted
> That should not happen either. Can you print a stack trace:
> $ gdb /path/to/svn
> (gdb) r cleanup
> (gdb) bt

sb@wopr-mobile:/usr/src/subversion> gdb svn
GNU gdb 5.1.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
This GDB was configured as "i386-suse-linux"...
(gdb) r cleanup
Starting program: /usr/local/bin/svn cleanup
[New Thread 1024 (LWP 721)]
svn: subversion/libsvn_subr/path.c:149: svn_path_join: Assertion
`is_canonical (component, clen)' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 1024 (LWP 721)]
0x4035dab1 in kill () from /lib/libc.so.6
(gdb) bt
#0 0x4035dab1 in kill () from /lib/libc.so.6
#1 0x402fe982 in pthread_kill () from /lib/libpthread.so.0
#2 0x402fee6d in raise () from /lib/libpthread.so.0
#3 0x4035eedb in abort () from /lib/libc.so.6
#4 0x40357c1b in Letext () from /lib/libc.so.6
#5 0x400b7808 in svn_path_join (base=0x8076338 "ac-helpers/.svn/tmp",
    component=0x80786a8 ".", pool=0x4044f9c8)
    at subversion/libsvn_subr/path.c:153
#6 0x400b4acc in svn_io_remove_dir (path=0x8076338 "ac-helpers/.svn/tmp",
    pool=0x8069b48) at subversion/libsvn_subr/io.c:1217
#7 0x400359ff in svn_wc__adm_cleanup_tmp_area (adm_access=0x8076338,
    pool=0x8078340) at subversion/libsvn_wc/adm_files.c:1248
#8 0x40041afc in svn_wc_cleanup (path=0x807e340 "ac-helpers",
    optional_adm_access=0x8069e28, pool=0x8069b48)
    at subversion/libsvn_wc/log.c:1396
#9 0x40041b9d in svn_wc_cleanup (path=0x805fc40 "",
    pool=0x8069b48) at subversion/libsvn_wc/log.c:1375
#10 0x4001bd30 in svn_client_cleanup (dir=0x8076338 "ac-helpers/.svn/tmp",
    pool=0x8078340) at subversion/libsvn_client/cleanup.c:49
#11 0x0804b152 in svn_cl__cleanup (os=0x0, baton=0x4030a65c,
    at subversion/clients/cmdline/cleanup-cmd.c:66
#12 0x0804dd37 in main (argc=1074552692, argv=0x0)
    at subversion/clients/cmdline/main.c:875
#13 0x4034c9ed in __libc_start_main () from /lib/libc.so.6

  Sebastian Bergmann
  http://sebastian-bergmann.de/                 http://phpOpenTracker.de/
  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 16 19:41:42 2002

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