Attached is a patch that fixes the issue and allows all unit tests to pass.

I committed the quilt patch to a clone of the debian packaging 

It's a pretty simple fix that just changes the inheritance for index.Index. I 
also submitted the fix upstream.

Diane
>From d411dd6fe6fb36ccf47bd34b9c680ff8768b2685 Mon Sep 17 00:00:00 2001
From: Diane Trout <di...@ghic.org>
Date: Wed, 23 Mar 2016 16:12:33 -0700
Subject: [PATCH] Add fix-issue532.patch to fix segfaults creating index.Index
 objects

---
 debian/patches/fix-issue532.patch | 18 ++++++++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 19 insertions(+)
 create mode 100644 debian/patches/fix-issue532.patch

diff --git a/debian/patches/fix-issue532.patch b/debian/patches/fix-issue532.patch
new file mode 100644
index 0000000..b64086f
--- /dev/null
+++ b/debian/patches/fix-issue532.patch
@@ -0,0 +1,18 @@
+Author: Diane Trout <di...@ghic.org>
+Bug: https://github.com/PyTables/PyTables/issues/532
+Forwarded: https://github.com/PyTables/PyTables/pull/533
+Description: Fixes segfault when creating Index objects
+ A number of unit tests failed with segfaults due to
+ tables.index.Index not being initialized correctly.
+===================================================================
+--- pytables-3.2.2.orig/tables/index.py
++++ pytables-3.2.2/tables/index.py
+@@ -105,7 +105,7 @@ def _table_column_pathname_of_index(inde
+ _tableColumnPathnameOfIndex = previous_api(_table_column_pathname_of_index)
+ 
+ 
+-class Index(NotLoggedMixin, indexesextension.Index, Group):
++class Index(NotLoggedMixin, Group, indexesextension.Index):
+     """Represents the index of a column in a table.
+ 
+     This class is used to keep the indexing information for columns in a Table
diff --git a/debian/patches/series b/debian/patches/series
index 5900800..f3dfbe6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 0002-Use-system-compression-libs.patch
 0003-Never-use-the-msse2-flag-explicitly.patch
 0004-Do-not-fetch-icons-for-external-web-sites.patch
+fix-issue532.patch
-- 
2.8.0.rc3

Reply via email to