[Bug 2036424] [NEW] Mantic s390x install fails: grep-status: *** stack smashing detected ***: terminated

Launchpad Bug Tracker 2036424 at bugs.launchpad.net
Thu Sep 21 15:31:45 UTC 2023


You have been subscribed to a public bug by Dan Bungert (dbungert):

mantic-live-server-s390x ISOs (serial: 20230918) are failing to install,
as subiquity crashes with the error reported at the end of this message.
By jumping to a shell in the installer live system, I found of that the
culprit is grep-status failing to run:

root at ubuntu-server:/# grep-status
*** stack smashing detected ***: terminated
Aborted (core dumped)

What we expect is:

$ grep-status
grep-status: unexpected end of filter.

>From the test history I can tell that ISOs with serials:

 * Up to 20230915 are working
 * From 20230916 up to (at least) 20230918 are failing.

--------------------

2023-09-18 11:59:52,651 DEBUG subiquitycore.utils:132 arun_command ['grep-status', '--whole-pkg', '-FProvides', 'linux-image', '--and', '-FStatus', 'installed', '--show-field=Package', '--no-field-names', '/target/var/lib/dpkg/status'] exited with code -6
2023-09-18 11:59:52,651 ERROR root:30 finish: subiquity/Install/install/curtin_install: FAIL: Command '['grep-status', '--whole-pkg', '-FProvides', 'linux-image', '--and', '-FStatus', 'installed', '--show-field=Package', '--no-field-names', '/target/var/lib/dpkg/status']' died with <Signals.SIGABRT: 6>.
2023-09-18 11:59:52,651 DEBUG subiquity.common.errorreport:394 generating crash report
2023-09-18 11:59:52,695 INFO subiquity.common.errorreport:415 saving crash report 'install failed crashed with CalledProcessError' to /var/crash/1695038392.651862621.install_fail.crash
2023-09-18 11:59:52,695 ERROR root:30 finish: subiquity/Install/install: FAIL: Command '['grep-status', '--whole-pkg', '-FProvides', 'linux-image', '--and', '-FStatus', 'installed', '--show-field=Package', '--no-field-names', '/target/var/lib/dpkg/status']' died with <Signals.SIGABRT: 6>.
2023-09-18 11:59:52,695 INFO root:30 start: subiquity/ErrorReporter/1695038392.651862621.install_fail/add_info: 
2023-09-18 11:59:52,699 ERROR subiquity.server.server:415 top level error
Traceback (most recent call last):
  File "/snap/subiquity/5108/lib/python3.10/site-packages/subiquity/server/controllers/shutdown.py", line 74, in _wait_install
    await self.app.controllers.Install.install_task
subprocess.CalledProcessError: Command '['grep-status', '--whole-pkg', '-FProvides', 'linux-image', '--and', '-FStatus', 'installed', '--show-field=Package', '--no-field-names', '/target/var/lib/dpkg/status']' died with <Signals.SIGABRT: 6>.
2023-09-18 11:59:52,701 ERROR subiquity.server.server:415 top level error
Traceback (most recent call last):
  File "/snap/subiquity/5108/lib/python3.10/site-packages/subiquity/server/controllers/shutdown.py", line 74, in _wait_install
    await self.app.controllers.Install.install_task
subprocess.CalledProcessError: Command '['grep-status', '--whole-pkg', '-FProvides', 'linux-image', '--and', '-FStatus', 'installed', '--show-field=Package', '--no-field-names', '/target/var/lib/dpkg/status']' died with <Signals.SIGABRT: 6>.

** Affects: snapcraft
     Importance: Undecided
         Status: New

** Affects: subiquity
     Importance: Undecided
         Status: Triaged

** Affects: ubuntu-z-systems
     Importance: Critical
         Status: New

** Affects: subiquity (Ubuntu)
     Importance: Undecided
         Status: Triaged

** Affects: subiquity (Ubuntu Mantic)
     Importance: Undecided
         Status: Triaged


** Tags: foundations-todo installation iso-testing mantic s390x
-- 
Mantic s390x install fails: grep-status: *** stack smashing detected ***: terminated
https://bugs.launchpad.net/bugs/2036424
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to the bug report.



More information about the foundations-bugs mailing list