Package: obnam
Version: 1.1-1
Severity: normal

After getting around #682798 (by getting rid of a ridiculously large Maildir
folder), I've hit the following error:

06h34m08s 717659 files; 1.56 GiB (0 B/s) making checkpointERROR: We have 
already locked shared B-trees, oops

Log excerpt:

2012-07-31 09:20:28 DEBUG making checkpoint in the middle of a file
2012-07-31 09:20:28 INFO Making checkpoint
2012-07-31 09:20:29 DEBUG Initializing Journal for chunksums
2012-07-31 09:20:29 DEBUG Automatically rolling back remaining changes
2012-07-31 09:20:32 DEBUG Initializing Journal for chunklist
2012-07-31 09:20:32 DEBUG Automatically rolling back remaining changes
2012-07-31 09:21:10 ERROR Can't back up <FILENAME OMITTED>: Cannot allocate 
memory
2012-07-31 09:21:10 DEBUG OSError(12, 'Cannot allocate memory')
2012-07-31 09:21:10 INFO Making checkpoint
2012-07-31 09:21:10 DEBUG Handling exception We have already locked shared 
B-trees, oops
2012-07-31 09:21:10 DEBUG Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/obnamlib/plugins/backup_plugin.py", 
line 258, in backup
    self.backup_roots(roots)
  File "/usr/lib/python2.7/dist-packages/obnamlib/plugins/backup_plugin.py", 
line 365, in backup_roots
    self.make_checkpoint()
  File "/usr/lib/python2.7/dist-packages/obnamlib/plugins/backup_plugin.py", 
line 392, in make_checkpoint
    self.repo.lock_shared()
  File "/usr/lib/python2.7/dist-packages/obnamlib/repo.py", line 383, in 
lock_shared
    self.require_no_shared_lock()
  File "/usr/lib/python2.7/dist-packages/obnamlib/repo.py", line 246, in 
require_no_shared_lock
    raise obnamlib.Error('We have already locked shared B-trees, oops')
Error: We have already locked shared B-trees, oops

2012-07-31 09:21:10 INFO Unlocking client because of error
2012-07-31 09:21:10 INFO Unlocking shared trees because of error
2012-07-31 09:21:10 CRITICAL Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 169, in _run
    self.process_args(args)
  File "/usr/lib/python2.7/dist-packages/obnamlib/app.py", line 170, in 
process_args
    cliapp.Application.process_args(self, args)
  File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 416, in 
process_args
    method(args[1:])
  File "/usr/lib/python2.7/dist-packages/obnamlib/plugins/backup_plugin.py", 
line 258, in backup
    self.backup_roots(roots)
  File "/usr/lib/python2.7/dist-packages/obnamlib/plugins/backup_plugin.py", 
line 365, in backup_roots
    self.make_checkpoint()
  File "/usr/lib/python2.7/dist-packages/obnamlib/plugins/backup_plugin.py", 
line 392, in make_checkpoint
    self.repo.lock_shared()
  File "/usr/lib/python2.7/dist-packages/obnamlib/repo.py", line 383, in 
lock_shared
    self.require_no_shared_lock()
  File "/usr/lib/python2.7/dist-packages/obnamlib/repo.py", line 246, in 
require_no_shared_lock
    raise obnamlib.Error('We have already locked shared B-trees, oops')
Error: We have already locked shared B-trees, oops


This looks like another case of mishandling ENOMEM.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32.33-kvm-i386-20111128-dirty (SMP w/1 CPU core)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages obnam depends on:
ii  libc6             2.13-33
ii  python            2.7.3~rc2-1
ii  python-cliapp     1.20120630-1
ii  python-larch      1.20120527-1
ii  python-paramiko   1.7.7.1-3
ii  python-tracing    0.6-2
ii  python-ttystatus  0.19-1

obnam recommends no packages.

obnam suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to