← Back to issue list

Mantic s390x install fails: grep-status: *** stack smashing detected ***: terminated

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2036424
Type
issue
State
open
Author
~dbungert
Labels
installation iso-testing mantic s390x
Created
Updated
Closed
—

Current evaluation

Snapcraft-built Subiquity on Mantic s390x had a missing ELF RPATH, mixing core22's loader with host glibc. Edge core22 worked, but stable core22 still failed on LPAR; the issue remains open.

Suggested action: keep open

Reason: The readelf evidence showed that grep-status revisions 5095 and 5108 differed by a missing core22 library RPATH, and an edge-core22 build passed ISO testing. However, fheimes reproduced the crash on LPAR with the stable-core22 build, after which dbungert explicitly said the issue was being kept open to track the eventual stable-core22 fix.

Evaluated by: mr-cal-bot

Impact: 66 Quick Win: 17 Complexity: 64 Confidence: 86 Actionability: 72

Issue body

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@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>.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 66
Quick Win: 17
Complexity: 64
Confidence: 86
Actionability: 72
keep open Snapcraft-built Subiquity on Mantic s390x had a missing ELF RPATH, mixing core22's loader with host glibc. Edge core22 worked, but stable core22 still failed on LPAR; the issue remains open.
stealth/space-bunny-alpha
Impact: 78
Quick Win: 25
Complexity: 58
Confidence: 86
Actionability: 75
needs triage Mantic s390x installation remains blocked because Subiquity's grep-status aborts after missing RPATH patching; edge core22 was a workaround, while stable core22 still failed on LPAR.
stealth/space-bunny-alpha
Impact: 65
Quick Win: 21
Complexity: 55
Confidence: 78
Actionability: 72
needs triage Mantic s390x installer ISOs built since 20230916 fail because grep-status aborts with a stack-smashing error; the report identifies a regression window but no fix.
qwen3.6-35b-a3b-mtp-q6
Impact: 40
Quick Win: 32
Staleness: 90
Complexity: 20
Confidence: 75
Support Request: 0
close stale grep-status crashes with stack smashing on s390x during Mantic installation, causing subiquity to fail. Issue is 1081 days old with no maintainer comments.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 30
Confidence: 85
Support Request: 5
close stale Reports a stack smashing crash in grep-status causing s390x installation failure on Ubuntu Mantic ISOs. The issue has been inactive for over 2.5 years with no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 45
Confidence: 90
Support Request: 5
close stale s390x Mantic ISO installation fails due to grep-status stack smashing crash. Reported in Sept 2023 with no maintainer response or updates.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 45
Confidence: 90
Support Request: 10
close stale s390x Mantic ISO installation fails due to grep-status stack smashing. Reported Sept 2023, no maintainer response, Mantic is EOL.

Update history

Date Change
created

Related work

  • Related To: ubuntu#1995362 (confidence 78%)

    mwhudson cited this glibc s390x fix as a possible cause of Snapcraft's changed ELF dependency detection.

  • Related To: ubuntu#2007599 (confidence 68%)

    This glibc loader change was also suggested as a possible new-libc/old-loader incompatibility, though it does not fully explain the affected release scope.

Related issues

No related issues found above the similarity threshold.