Bug#745795: cache corruption in python-tables on amd64 machines

Wouter Verhelst wouter at debian.org
Fri Apr 25 07:19:32 UTC 2014


Package: python-tables
Version: 2.3.1-3
Severity: important

Hi,

At a customer, a problem was found with python-tables where, if a file
was opened twice, the second (and subsequent) time(s) python-tables
would return junk.

See attached test case. Run like so:

wouter at carillon:~$ python
Python 2.7.6 (default, Mar 22 2014, 15:40:47) 
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import bugTesting as b
>>> b.bugTest('bugged_file.h5')
[208 135 150   2   0   0   0   0 128 230]
[0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0]
>>> b.bugTest('bugged_file.h5')
[112  22 157   2   0   0   0   0 128 230]
[0 0 0 0 0 0 0 0 0 0]
[208 201 160   2   0   0   0   0   0   0]
>>> b.bugTest('bugged_file.h5')
[112  22 157   2   0   0   0   0 128 230]
[0 0 0 0 0 0 0 0 0 0]
[208 133 159   2   0   0   0   0   0   0]
>>> 

On an i386 machine the output of the above is the same every time, as
one would expect. On a machine running the amd64 port, however, this is
not the case.

While I'm filing this bug report on my laptop (which runs unstable), the
customer in question is running stable and has seen the same problem.

Regards,

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-tables depends on:
ii  python              2.7.5-5
ii  python-numexpr      2.2.2-4+b1
ii  python-numpy        1:1.8.1-1
ii  python-tables-data  3.1.1-1
ii  python-tables-lib   3.1.1-1

python-tables recommends no packages.

Versions of packages python-tables suggests:
pn  python-netcdf      <none>
pn  python-tables-doc  <none>
pn  vitables           <none>

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-tables-bug.txz
Type: application/x-xz
Size: 584 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20140425/93f47b43/attachment.bin>


More information about the debian-science-maintainers mailing list