[Bug 2036424] Re: Mantic s390x install fails: grep-status: *** stack smashing detected ***: terminated
Frank Heimes
2036424 at bugs.launchpad.net
Sun Oct 8 20:22:29 UTC 2023
@dbungert, sorry for the delay,
I just tried beta/s390x-stable-core22 (based on the image 2023-10-05, but of course updated the subiquity):
subiquity 22.02.2+git1772.4a76b65e 5196
snap refresh subiquity --channel=beta/s390x-stable-core22 --ignore-running
subiquity 22.02.2+git1793.3841511f 5227 latest/beta/…
but I unfortunately still face the grep-status issue on an LPAR install:
2023-10-08 20:11:02,365 DEBUG subiquitycore.utils:121 arun_command called: ['gr
ep-status', '--whole-pkg', '-FProvides', 'linux-image', '--and', '-FStatus', 'in
stalled', '--show-field=Package', '--no-field-names', '/target/var/lib/dpkg/stat
us']
2023-10-08 20:11:02,481 DEBUG subiquitycore.utils:135 arun_command ['grep-statu
s', '--whole-pkg', '-FProvides', 'linux-image', '--and', '-FStatus', 'installed'
, '--show-field=Package', '--no-field-names', '/target/var/lib/dpkg/status'] exi
ted with code -6
2023-10-08 20:11:02,481 ERROR root:30 finish: subiquity/Install/install/curtin_
install: FAIL: Command '['grep-status', '--whole-pkg', '-FProvides', 'linux-imag
e', '--and', '-FStatus', 'installed', '--show-field=Package', '--no-field-names'
, '/target/var/lib/dpkg/status']' died with <Signals.SIGABRT: 6>.
2023-10-08 20:11:02,481 DEBUG subiquity.common.errorreport:394 generating crash report
2023-10-08 20:11:02,484 INFO subiquity.common.errorreport:415 saving crash report 'install failed crashed with CalledProcessError' to /var/crash/1696795862.481621742.install_fail.crash
2023-10-08 20:11:02,484 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-10-08 20:11:02,484 INFO root:30 start: subiquity/ErrorReporter/1696795862.481621742.install_fail/add_info:
...
These are all the snap versions that I see during the installation:
Name Version Rev Tracking Publisher Notes
core22 20230801 865 latest/stable canonical** base
lxd 5.18-db8c6f9 25850 latest/stable/… canonical** -
snapd 2.60.3 20099 latest/stable canonical** snapd
subiquity 22.02.2+git1793.3841511f 5227 latest/beta/… canonical** classic
I've also attached the logs and crash files.
** Attachment added: "08102023.tgz"
https://bugs.launchpad.net/subiquity/+bug/2036424/+attachment/5707875/+files/08102023.tgz
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2036424
Title:
Mantic s390x install fails: grep-status: *** stack smashing detected
***: terminated
Status in Snapcraft:
New
Status in subiquity:
Triaged
Status in Ubuntu on IBM z Systems:
New
Status in subiquity package in Ubuntu:
Triaged
Status in subiquity source package in Mantic:
Triaged
Bug description:
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>.
To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/2036424/+subscriptions
More information about the foundations-bugs
mailing list