General protection fault running schroot --all-chroots

Bug #2015643 reported by Ken Sharp
6
This bug affects 1 person
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.so[7f5c4a95b000+7000]
[277730.911628] traps: schroot[20740] general protection fault ip:7f772645f47e sp:7ffcb9d60610 error:0 in libc.so.6[7f77263e2000+195000]

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
ProcVersionSignature: Ubuntu 5.15.0-67.74-generic 5.15.85
Uname: Linux 5.15.0-67-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: MATE
Date: Sat Apr 8 18:44:37 2023
SourcePackage: schroot
UpgradeStatus: Upgraded to jammy on 2022-09-26 (193 days ago)
modified.conffile..etc.apport.crashdb.conf: [modified]
mtime.conffile..etc.apport.crashdb.conf: 2019-08-06T11:56:22.315382
mtime.conffile..etc.schroot.default.fstab: 2022-06-02T02:06:17.296556

Revision history for this message
Ken Sharp (kennybobs) wrote :
Ken Sharp (kennybobs)
summary: - General protection fault running multiple apt updates
+ General protection fault running schroot --all-chroots
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.