[Bug 1704766] Re: Tests die with core dump on python2.7-dbg with negative ref count
Launchpad Bug Tracker
1704766 at bugs.launchpad.net
Mon Jul 17 17:07:26 UTC 2017
This bug was fixed in the package pyparted - 3.11.1-1ubuntu1
---------------
pyparted (3.11.1-1ubuntu1) artful; urgency=medium
* debian/rules:
- Re-enable tests (LP: #1695058).
* debian/patches/fix-unit-tests.patch:
- Add patch for fixing some of the flag tests as _ped now returns a
different exceptions for those.
* debian/control:
- Add python-six and parted to the build-dependencies as those are required
for unit testing.
- Remove the python*-all-dbg build-deps as they do not seem to be needed
and otherwise cause strange fatal Python errors when running the test
suite during build (LP: #1704766).
-- Łukasz 'sil2100' Zemczak <lukasz.zemczak at ubuntu.com> Fri, 14 Jul
2017 14:14:11 +0200
** Changed in: pyparted (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pyparted in Ubuntu.
https://bugs.launchpad.net/bugs/1704766
Title:
Tests die with core dump on python2.7-dbg with negative ref count
Status in pyparted package in Ubuntu:
Fix Released
Bug description:
After installing additional required build-deps and fixing some of the
obviously failing unit-tests, the pyparted test suite fails during
build on all architectures with a Fatal Python error:
----------------------------------------------------------------------
Ran 271 tests in 0.514s
OK (skipped=114)
Fatal Python error: ../Objects/dictobject.c:1040 object at 0xf6c4a8a4 has negative ref count -606348326
Aborted (core dumped)
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=134: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y-dbg_2.7/build; python2.7-dbg -m unittest discover -v
dh_auto_test: pybuild --test -i python{version}-dbg -p 2.7 returned exit code 13
debian/rules:9: recipe for target 'build-arch' failed
make: *** [build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
--------------------------------------------------------------------------------
Example log: https://launchpadlibrarian.net/329251008/buildlog_ubuntu-
artful-armhf.pyparted_3.11.1-1ubuntu1~test3_BUILDING.txt.gz
This only happens on the -dbg targets like python2.7-dbg. I assume
same would happen for python3-dbg.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyparted/+bug/1704766/+subscriptions
More information about the foundations-bugs
mailing list