General protection fault running schroot --all-chroots
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
schroot (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Running the following command causes a segmentation fault:
$ schroot --all-chroots -- echo hello
hello
Segmentation fault (core dumped)
I tried a few times and it seems to have a couple of issues:
[277677.591948] traps: schroot[19714] general protection fault ip:7f5c4a95da2e sp:7ffd4c166540 error:0 in pam_cgfs.
[277730.911628] traps: schroot[20740] general protection fault ip:7f772645f47e sp:7ffcb9d60610 error:0 in libc.so.
Attached is a verbose log of the (original - an `apt update`) process.
Using a for loop is a workaround, but a massive pain (re: `apt update`):
$ for chroot in a b c d; do schroot -c "${chroot}" -u root -- apt update; done
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: schroot 1.6.10-12ubuntu3.1
ProcVersionSign
Uname: Linux 5.15.0-67-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: MATE
Date: Sat Apr 8 18:44:37 2023
SourcePackage: schroot
UpgradeStatus: Upgraded to jammy on 2022-09-26 (193 days ago)
modified.
mtime.conffile.
mtime.conffile.
summary: |
- General protection fault running multiple apt updates + General protection fault running schroot --all-chroots |