[Bug 1704766] [NEW] Tests die with core dump on python2.7-dbg with negative ref count

Łukasz Zemczak 1704766 at bugs.launchpad.net
Mon Jul 17 10:02:54 UTC 2017


Public bug reported:

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.

** Affects: pyparted (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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