InvalidEntryName: Invalid entry name: te\*st

Lars Wirzenius liw at iki.fi
Tue Jan 2 23:10:49 GMT 2007


Mostly just for kicks (not because I expect to use the result) I thought
I'd see if I can import the entire Debian source archive, unpacked, into
a single bzr branch. It's almost 60 gigabytes of source code, in about 4
million files. After over 24 hours of real time and about 15 hours of
CPU time, it crashed with the stack trace below. I'm sending it to the
developers in the hope it is useful in finding and fixing a bug.

I used a checkout of the bzr.dev branch, latest revision is 2215,
according to bzr log. I hope you'll excuse me if I don't try to update
and re-run the test before reporting. I'm willing to re-run it with a
newer version if it helps find the problem.

Incidentally, the test was run on a Linux (Debian, not entirely
up-to-date sid) machine with 1 GB of physical memory, and five gigabytes
of swap space. During the test, I increased swap space from one to five
gigabytes, since space was running out. The bzr RSS size was hovering at
around 800 megabytes for at least 12 hours, the VIRT slowly grew to two
gigabytes. There was no space for disk caching, so I assume the test
would run significantly faster if bzr used less memory. I'm not faulting
bzr for using so much memory, though, this is pretty extreme a case.

added "main/f/fslint/fslint/tstlnt/findnl/te\*st"
bzr: ERROR: bzrlib.errors.InvalidEntryName: Invalid entry name: te\*st

Traceback (most recent call last):
  File "/home/liw/bzr.dev/bzr.liw/bzrlib/commands.py", line 650, in
run_bzr_catch_errors
    return run_bzr(argv)
  File "/home/liw/bzr.dev/bzr.liw/bzrlib/commands.py", line 612, in
run_bzr
    ret = run(*run_argv)
  File "/home/liw/bzr.dev/bzr.liw/bzrlib/commands.py", line 304, in
run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/liw/bzr.dev/bzr.liw/bzrlib/builtins.py", line 350, in run
    action=action, save=not dry_run)
  File "/home/liw/bzr.dev/bzr.liw/bzrlib/add.py", line 148, in smart_add
    return smart_add_tree(tree, file_list, recurse, action=action,
save=save)
  File "/home/liw/bzr.dev/bzr.liw/bzrlib/add.py", line 284, in
smart_add_tree
    __add_one(tree, inv, parent_ie, directory, kind, action)
  File "/home/liw/bzr.dev/bzr.liw/bzrlib/add.py", line 374, in __add_one
    file_id=file_id)
  File "/home/liw/bzr.dev/bzr.liw/bzrlib/inventory.py", line 1300, in
make_entry    return InventoryFile(file_id, name, parent_id)
  File "/home/liw/bzr.dev/bzr.liw/bzrlib/inventory.py", line 668, in
__init__
    super(InventoryFile, self).__init__(file_id, name, parent_id)
  File "/home/liw/bzr.dev/bzr.liw/bzrlib/inventory.py", line 292, in
__init__
    raise errors.InvalidEntryName(name=name)
InvalidEntryName: Invalid entry name: te\*st

bzr 0.14.0dev0 on python 2.4.4.final.0 (linux2)
arguments: ['/home/liw/bzr.dev/bzr.liw/bzr', 'add', '.']


-- 
Wolfen one, you are my midday moon and I your midnight sun.





More information about the bazaar mailing list