Problems with 0.10.0 on Windows

"Törrönen, Paul-Erik" paul-erik.torronen@cardinal.fi
Fri, 20 Sep 2002 12:41:02 +0300


Following up on myself:

> Just a thought, why not support encapsulation on the remote-end as

Well, and then I checked up the duplicity-project and said
'duh!' :-)

Gotta check it out asap, see if it works on Windows.

> the morning. The task manager showed no action until I hit the
> enter-key in the console window. The program resumed after that
> just as nothing had happened. Weird...

And prompty died half an hour later, this time it puked the
following error-log:

  File
"/var/tmp/rdiff-backup-root/usr/lib/python2.2/site-packages/rdiff_backup/ite
rfile.py", line 240, in read
    array_buf.fromstring(self.file.read(max(self.bufsize, l)))
  File
"/var/tmp/rdiff-backup-root/usr/lib/python2.2/site-packages/rdiff_backup/con
nection.py", line 510, in read
    return self.connection.VirtualFile.readfromid(self.id, length)
  File
"/var/tmp/rdiff-backup-root/usr/lib/python2.2/site-packages/rdiff_backup/con
nection.py", line 443, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File
"/var/tmp/rdiff-backup-root/usr/lib/python2.2/site-packages/rdiff_backup/con
nection.py", line 365, in reval
    if isinstance(result, Exception): raise result

Exception '' raised of class 'exceptions.MemoryError':
  File "/usr/lib/python2.2/site-packages/rdiff_backup/highlevel.py", line
270, in patch_w_datadir_writes
    for indexed_tuple in collated:
  File "/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py", line
150, in Collate2Iters
    try: relem1 = riter1.next()
  File "/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py", line 46,
in FromRaw
    for index, data, num_files in raw_iter:
  File "/usr/lib/python2.2/site-packages/rdiff_backup/iterfile.py", line 66,
in next
    type, data = self._get()
  File "/usr/lib/python2.2/site-packages/rdiff_backup/iterfile.py", line 45,
in _get
    buf = self.file.read(length)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/iterfile.py", line
240, in read
    array_buf.fromstring(self.file.read(max(self.bufsize, l)))
  File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py", line
510, in read
    return self.connection.VirtualFile.readfromid(self.id, length)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py", line
443, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py", line
365, in reval
    if isinstance(result, Exception): raise result

Writing checkpoint time 1032505643.69
Renaming
/cygdrive/e/host.domain.net/rdiff-backup-data/rdiff-backup.tmp.51442 to
/cygdrive/e/host.domain.net/rdiff-backup-data/checkpoint-data.2002-09-19T13_
12_11+02_00.data
Renaming
/cygdrive/e/host.domain.net/rdiff-backup-data/rdiff-backup.tmp.51443 to
/cygdrive/e/host.domain.net/rdiff-backup-data/last-file-incremented.2002-09-
19T13_12_11+02_00.data
Touching
/cygdrive/e/host.domain.net/rdiff-backup-data/last-file-definitive.2002-09-1
9T13_12_11+02_00.data
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 24, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 229, in
Main
    take_action(rps)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 205, in
take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 263, in
Backup
    else: HighLevel.Mirror(rpin, rpout, incdir, RSI)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/highlevel.py", line
59, in Mirror
    DestS.patch_w_datadir_writes(dest_rpath, diffiter, inc_rpath)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/highlevel.py", line
281, in patch_w_datadir_writes
    except: cls.handle_last_error(finished_dsrp, finalizer, ITR)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/highlevel.py", line
270, in patch_w_datadir_writes
    for indexed_tuple in collated:
  File "/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py", line
150, in Collate2Iters
    try: relem1 = riter1.next()
  File "/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py", line 46,
in FromRaw
    for index, data, num_files in raw_iter:
  File "/usr/lib/python2.2/site-packages/rdiff_backup/iterfile.py", line 66,
in next
    type, data = self._get()
  File "/usr/lib/python2.2/site-packages/rdiff_backup/iterfile.py", line 45,
in _get
    buf = self.file.read(length)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/iterfile.py", line
240, in read
    array_buf.fromstring(self.file.read(max(self.bufsize, l)))
  File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py", line
510, in read
    return self.connection.VirtualFile.readfromid(self.id, length)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py", line
443, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py", line
365, in reval
    if isinstance(result, Exception): raise result
MemoryError
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 24, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File
"/var/tmp/rdiff-backup-root/usr/lib/python2.2/site-packages/rdiff_backup/Mai
n.py", line 229, in Main
    take_action(rps)
  File
"/var/tmp/rdiff-backup-root/usr/lib/python2.2/site-packages/rdiff_backup/Mai
n.py", line 204, in take_action
    if action == "server": PipeConnection(sys.stdin, sys.stdout).Server()
  File
"/var/tmp/rdiff-backup-root/usr/lib/python2.2/site-packages/rdiff_backup/con
nection.py", line 350, in Server
    self.get_response(-1)
  File
"/var/tmp/rdiff-backup-root/usr/lib/python2.2/site-packages/rdiff_backup/con
nection.py", line 313, in get_response
    try: req_num, object = self._get()
  File
"/var/tmp/rdiff-backup-root/usr/lib/python2.2/site-packages/rdiff_backup/con
nection.py", line 219, in _get
    raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string
(problem probably originated remotely)

The memory has been checked (memtestx86) and there was at the time
about 100 MB of free physical memory. The python2.2 process used
about 250 MB when it died, this had been buildin up slowly from
the start.

Poltsi

_________________________________________
Paul-Erik Törrönen
Cardinal Information Systems Ltd
Pursimiehenkatu 29-31 C, 00150 Helsinki, FINLAND
E-mail: paul-erik.torronen@cardinal.fi
Mobile: +358 (0) 40 703 1231
Phone: +358 (0) 424 162 4204
Fax: +358 (0) 424 162 4207
Web: <www.cardinal.fi>

____________________________________________________________________________
_____
PLEASE NOTE: The information contained in this message or any of its
attachments may be privileged and confidential
and intended for the exclusive use of the addressee. If you are not the
addressee any disclosure, reproduction,
distribution or other dissemination or use of this communication is strictly
prohibited