Comment 9 for bug 451289

Revision history for this message
Daniel Riedemann (darie) wrote :

Hello Andrew,

I'm afraid to tell you that it doesn't work here :-(
Yes I have a fully encrypted hdd with lvm.

## First Click on "Delete"-button:

debug: clean_operation('system'), options = '['memory']'
debug: disabling swap
debug: running cmd ['swapoff', '-a', '-v']
Traceback (most recent call last):
  File "/usr/share/bleachbit/Worker.py", line 89, in execute
    for ret in cmd.execute(self.really_delete):
  File "/usr/share/bleachbit/Command.py", line 108, in execute
    for func_ret in self.func():
  File "/usr/share/bleachbit/Memory.py", line 241, in wipe_memory
    devices = disable_swap_linux()
  File "/usr/share/bleachbit/Memory.py", line 69, in disable_swap_linux
    % { 'args' : str(args), 'stdout' : stdout, 'stderr' : stderr } )
RuntimeError: Unexpected output:
args='['swapoff', '-a', '-v']'
stdout='swapoff für /dev/mapper/swap
'
stderr=''
debug: deepscans= {}
debug: searches= {}

But it get's umounted correctly !

## Second click on "Delete"-Button:
debug: clean_operation('system'), options = '['memory']'
debug: detected swap devices: None
debug: new nice value 19
Traceback (most recent call last):
  File "/usr/share/bleachbit/Memory.py", line 98, in fill_memory_linux
    login = os.getlogin()
OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden
debug: physical free: 1498976256 B (1429 MB)
debug: wipe_memory() pid 6352 waiting for child pid 6386
info: allocating 1071.00 MB (1123946496 B) memory
debug: wiping 1071.00 MB I just allocated
warning: child process returned code 139
debug: re-enabling swap
debug: deepscans= {}
debug: searches= {}

re-enabling swap works. But the fork still dies with return code 139.

Maybe my many tmpfs mounts are the reason?
Please see my attachments for that.