[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#588348: marked as done (offlineimap: Looses mails if PYTHONOPTIMIZE is set)



Your message dated Tue, 03 Aug 2010 13:02:18 +0000
with message-id <E1OgH8M-00060w-7H@franck.debian.org>
and subject line Bug#588348: fixed in offlineimap 6.2.0.2-2
has caused the Debian Bug report #588348,
regarding offlineimap: Looses mails if PYTHONOPTIMIZE is set
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
588348: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588348
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: offlineimap
Version: 6.2.0.2
Severity: critical
Justification: causes serious data loss


offlineimap calls critical code paths only via assert.
If PYTHONOPTIMIZE is set, python will - besides other optimisations - ignore all assert statements.
In combination, this caused my entire "sent" folder to get lost as I tried to sync it with a courier-imap server (on which the folder had just been created).

I had reported a similar issue in 2008 (Bug #80: improper use of assert statement), though at that time it just duplicated mails instead of loosing them.

(Python) upstream considers assert a mere debugging tool. See e.g. "Language Reference" section 6.3, first paragraph:

> Assert statements are a convenient way to insert debugging assertions into a program:

The same section also explains that enabling optimization will cause assert statements not to be evaluated.

Thus this is definitely a bug in offlineimap. assert should not be used to invoke regular code paths.


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

Kernel: Linux 2.6.31.6-xo1.5-2-00377-g7f5e423 (PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages offlineimap depends on:
ii  python                        2.6.5-5    An interactive high-level object-o
ii  python-support                1.0.8      automated rebuilding support for P

offlineimap recommends no packages.

Versions of packages offlineimap suggests:
pn  python-kerberos               <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: offlineimap
Source-Version: 6.2.0.2-2

We believe that the bug you reported is fixed in the latest version of
offlineimap, which is due to be installed in the Debian FTP archive:

offlineimap_6.2.0.2-2.debian.tar.gz
  to main/o/offlineimap/offlineimap_6.2.0.2-2.debian.tar.gz
offlineimap_6.2.0.2-2.dsc
  to main/o/offlineimap/offlineimap_6.2.0.2-2.dsc
offlineimap_6.2.0.2-2_all.deb
  to main/o/offlineimap/offlineimap_6.2.0.2-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 588348@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Serafeim Zanikolas <sez@debian.org> (supplier of updated offlineimap package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 02 Aug 2010 20:00:41 +0200
Source: offlineimap
Binary: offlineimap
Architecture: source all
Version: 6.2.0.2-2
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Serafeim Zanikolas <sez@debian.org>
Description: 
 offlineimap - IMAP/Maildir synchronization and reader support
Closes: 588348
Changes: 
 offlineimap (6.2.0.2-2) unstable; urgency=low
 .
   * QA upload.
   * Apply patch to replace assert statements with proper tests. Thanks to
     Johann Felix Soden <johfel@gmx.de> (Closes: #588348).
   * Convert to dpkg-source 3.0 (quilt) format
   * Depend on ${misc:Depends} for debhelper.
   * Drop unnecessary Build-Depends-Indep on python-dev
   * Bump Standards-Version to 3.9.0 (no changes).
   * Use proper copyright symbol in debian/copyright.
   * Register FAQ with doc-base, and add Suggests: doc-base
Checksums-Sha1: 
 18d19304e9a0bda8376b7cfce6301068736cc7a9 1991 offlineimap_6.2.0.2-2.dsc
 94eab89a7612979bb5bcb351dea747d0e7407122 21328 offlineimap_6.2.0.2-2.debian.tar.gz
 3b00710abd6f86bc3ebe232b085ef76513b76425 158008 offlineimap_6.2.0.2-2_all.deb
Checksums-Sha256: 
 54debe53ea26ccd1825f096f3aa085c35845d85be840519c8880f8d15165dacc 1991 offlineimap_6.2.0.2-2.dsc
 0f7e676e68498315938ac84d1149b682202f0309a72eb424c3cb1ce4758dd3af 21328 offlineimap_6.2.0.2-2.debian.tar.gz
 ee66ab971b947284cbefc801d9f70f6e3b93b9757062c81da0277428dc8105a1 158008 offlineimap_6.2.0.2-2_all.deb
Files: 
 eeec3de298bb598f71bc951885c0dae0 1991 mail optional offlineimap_6.2.0.2-2.dsc
 3780f4aff6399df1d53646a93ea0efae 21328 mail optional offlineimap_6.2.0.2-2.debian.tar.gz
 17eb3c6b9849d916db83d4d6439bbf41 158008 mail optional offlineimap_6.2.0.2-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJMWBCgAAoJEE+fbVUO1hIqfFsQANYSyAzS3mWCiBBqz5DjSrpZ
HSAPB4QwGIRmit25HgVTTCVp9BeV+KRXsL5eoiXcqWdrjl3cOGvll74XyD6foUpc
x8MccCRXWz6i/hnQUuNAyNQrnW0FovbosMy4Ek/siIlModhluHeTALOjaGd/WLjG
pmIhBmZ/HOpg2wj3p+7MLounIsktwttQUsxlOEDGBI8wyDSiK3NOJdjXBEd4R6l1
6VGnLEC8ghPm7vw949QPlHLGNkkrURf6f9gTwDKlR12Fm8vjyzYbTnTg4T11uf2G
mcQUrtyLuI6trwpz/t3UuG0q1WiayJ2VkzfGF777khsfo2EDqyXSXmbZMfncjYAE
7PAWcb2IUF8WS9ecyGKNQeiCh45fqu/UUzU+pqUr0RFV3n73nup7z0cxfKf3CE2h
QFKEe9U2MJjjQ+u/MQUywhlGnrSLXWSEJWfNjqZR83hy/LpUZ5HM5nanEMlnAys7
HOLFfZD/wwuEsqfy56tnWr740S8CYM5UQvpEi2t7pdb/9sOpjerlGIljxFAYpix+
d8Z4QCvKLDfponCs2T3gSb+0iw72gZbzfAMckQ2FsCbp+JzK0c6grTYr/P+Q0rdN
vvEokzQoqwT88DlSSQ3Ky2SZIqbfQQGxwJFqJP/NS/WvkbSBV5xg1CraBz1nMLCo
IKMxsTMdoBvoTiXINWtg
=rxWX
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: