[Bug 2043713] Re: TestApportValgrind.test_valgrind_min_installed fails on armhf: Invalid write of size 4

Mate Kukri 2043713 at bugs.launchpad.net
Thu Dec 7 16:19:20 UTC 2023


It should be fixed by the last libselinux upload which has migrated, but
keeping it "In Progress" until a successful autopkgtest run of apport

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2043713

Title:
  TestApportValgrind.test_valgrind_min_installed fails on armhf: Invalid
  write of size 4

Status in apport package in Ubuntu:
  In Progress

Bug description:
  autopkgtests are pretty reliably failing[1] on armhf due to the
  following (single) test failure:

  517s =================================== FAILURES ===================================
  517s ________________ TestApportValgrind.test_valgrind_min_installed ________________
  517s
  517s self = <tests.integration.test_apport_valgrind.TestApportValgrind testMethod=test_valgrind_min_installed>
  517s
  517s def test_valgrind_min_installed(self):
  517s """Valgrind is installed and recent enough."""
  517s cmd = ["valgrind", "-q", "--extra-debuginfo-path=./", "ls"]
  517s (ret, out, err) = self._call(cmd)
  517s > self.assertEqual(err, "")
  517s E AssertionError: "==2567== Invalid write of size 4\n==2567[1064 chars]= \n" != ''
  517s E - ==2567== Invalid write of size 4
  517s E - ==2567== at 0x4843040: ??? (in /usr/lib/arm-linux-gnueabihf/libselinux.so.1)
  517s E - ==2567== Address 0xfec9a7e4 is on thread 1's stack
  517s E - ==2567== 64 bytes below stack pointer
  517s E - ==2567==
  517s E - ==2567== Invalid write of size 4
  517s E - ==2567== at 0x4842F96: ??? (in /usr/lib/arm-linux-gnueabihf/libselinux.so.1)
  517s E - ==2567== Address 0xfec9a758 is on thread 1's stack
  517s E - ==2567== 160 bytes below stack pointer
  517s E - ==2567==
  517s E - ==2567== Invalid write of size 4
  517s E - ==2567== at 0x484958C: selinuxfs_exists (in /usr/lib/arm-linux-gnueabihf/libselinux.so.1)
  517s E - ==2567== Address 0xfec9a7bc is on thread 1's stack
  517s E - ==2567== 48 bytes below stack pointer
  517s E - ==2567==
  517s E - ==2567== Invalid write of size 4
  517s E - ==2567== at 0x4842F0E: ??? (in /usr/lib/arm-linux-gnueabihf/libselinux.so.1)
  517s E - ==2567== Address 0xfec9a690 is on thread 1's stack
  517s E - ==2567== 16 bytes below stack pointer
  517s E - ==2567==
  517s E - ==2567== Invalid write of size 4
  517s E - ==2567== at 0x4842E62: ??? (in /usr/lib/arm-linux-gnueabihf/libselinux.so.1)
  517s E - ==2567== Address 0xfec9a6a0 is on thread 1's stack
  517s E - ==2567== 8 bytes below stack pointer
  517s E - ==2567==
  517s
  517s tests/integration/test_apport_valgrind.py:45: AssertionError
  517s =============================== warnings summary ===============================

  This is caused by -fstack-clash-protection.

  Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=1522678
  [1] https://autopkgtest.ubuntu.com/packages/a/apport/noble/armhf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2043713/+subscriptions




More information about the foundations-bugs mailing list