Bug#645322: No lock after recovery can result in data loss

2012-01-11 Thread Jeffrey Ratcliffe
tags 645322 pending
thanks

I've just committed a patch implementing

a. proper (session) file locking
b. support for multiple sessions

Regards

Jeff



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



Bug#645322: No lock after recovery can result in data loss

2011-10-14 Thread martin f krafft
Package: gscan2pdf
Version: 0.9.32-1
Severity: important

If I reboot the system without closing gscan2pdf, it comes back and
recovers the temporary directory, if it can still be found. That's
awesome.

Unfortunately, it seems that it does not recover the lock file. As
a result, it is possible for me to start a second instance, which
I did accidentally. I subsequently closed it and answered Yes,
close with unsaved pages, and that made it delete the temporary
directory, even though the other, recovered instance still used it.
As a result, however, it could not use it anymore and became
useless. All my scans were lost. :(

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-rc4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gscan2pdf depends on:
ii  imagemagick  8:6.6.9.7-5
ii  libconfig-general-perl   2.50-1 
ii  libgoo-canvas-perl   0.06-1+b1  
ii  libgtk2-ex-simple-list-perl  0.50-2 
ii  libgtk2-imageview-perl   0.05-1+b1  
ii  libhtml-parser-perl  3.68-1+b1  
ii  liblocale-gettext-perl   1.05-7 
ii  liblog-log4perl-perl 1.29-1 
ii  libpdf-api2-perl 2.019-1
ii  libproc-processtable-perl0.45-2+b1  
ii  libreadonly-perl 1.03-3 
ii  librsvg2-common  2.34.1-2   
ii  libsane-perl 0.03-1+b1  
ii  libset-intspan-perl  1.16-1 
ii  libtiff-tools3.9.5-2
ii  perlmagick   8:6.6.9.7-5
ii  sane-utils   1.0.22-6   

Versions of packages gscan2pdf recommends:
ii  cuneiform  1.1.0+dfsg-1
ii  djvulibre-bin  3.5.24-8+b1 
ii  gocr   0.48-1  
ii  libgtk2-ex-podviewer-perl  none  
ii  sane   1.0.14-9
ii  tesseract-ocr  2.04-2.1
ii  unpaper0.3-1   
ii  xdg-utils  1.1.0~rc1-2 

gscan2pdf suggests no packages.

-- no debconf information


-- 
 .''`.   martin f. krafft madduck@d.o  Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)