Comment 1 for bug 297831

Revision history for this message
Martin Pool (mbp) wrote : Re: problems running bzr

On Fri, Nov 14, 2008 at 1:53 AM, Bonnie Lucas <email address hidden> wrote:
> I could not find traceback in the ~/.bzr.log. Here is the the last
> lines bzr.log
>
> 0.076 Plugin name __init__ already loaded
> accelerator_tree, hardlink)
> File "/usr/local/lib/python2.5/site-packages/bzrlib/transform.py", line
> 2042,
> in _create_files
> in iter if not (c or e[0] != e[1]))
> File "/usr/local/lib/python2.5/site-packages/bzrlib/transform.py", line
> 2041,
> in <genexpr>
> unchanged = dict((f, p[1]) for (f, p, c, v, d, n, k, e)
> File "_dirstate_helpers_c.pyx", line 1347, in
> _dirstate_helpers_c.ProcessEntry
> C.__next__
> File "_dirstate_helpers_c.pyx", line 1511, in
> _dirstate_helpers_c.ProcessEntry
> C._iter_next
> File "_dirstate_helpers_c.pyx", line 1488, in
> _dirstate_helpers_c._iter_next
> File "/usr/local/lib/python2.5/site-packages/bzrlib/osutils.py", line
> 1313, in
> _walkdirs_utf8
> dirblock = sorted(read_dir(relroot, top))
> File "_readdir_pyx.pyx", line 229, in _readdir_pyx.UTF8DirReader.read_dir
> File "_readdir_pyx.pyx", line 344, in _readdir_pyx._read_dir
> OSError: [Errno 14] Bad address
>
> 0.573 return code 3

That's the traceback, thanks. I filed
<https://bugs.launchpad.net/bzr/+bug/297831> regarding this. It looks
like there is a bug, probably a portability bug, in readdir._pyx, in
how it's dealing with the OS.

You may be able to work around this for the moment by moving the
_readdir_pyx.so file in the bzlib directory, eg to
_readdir_pyx.so.bad. It would be helpful to know if that fixes it.

--
Martin <http://launchpad.net/~mbp/>