[Bug 2028454] Re: apt-config crashed with SIGSEGV in _int_malloc()
Julian Andres Klode
2028454 at bugs.launchpad.net
Sun Jul 23 14:45:06 UTC 2023
The bug report description seems unrelated to the bug report, the
reported crash is a crash in apt while trying to open
"/usr/share/dpkg/tupletable". As we can see in the stack trace, the call
arguments all make sense.
So either there's a weird bug in libc6, apt is corrupting the memory
prior to that call (but then the stack trace usually doesn't look that
clean) or your RAM is damaged. Consider running memtest86+ to check your
RAM.
** Changed in: apt (Ubuntu)
Status: New => Incomplete
** Description changed:
- QA Testing Ubuntu 23.10 mantic daily build 20230723
- Same results as bug# 2027713 on different daily build 20230712.1
- While entering install information, entered the first letter of required password.
- The entire install crashed. Reproduced bug 2 times.
- Installed using virtual box.
- Expected results: Enter password, repeat password, click continue to complete install.
-
ProblemType: Crash
DistroRelease: Ubuntu 23.10
Package: apt 2.7.2
ProcVersionSignature: Ubuntu 6.3.0-7.7-generic 6.3.5
Uname: Linux 6.3.0-7-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.26.1-0ubuntu3
Architecture: amd64
CasperMD5CheckMismatches: ./casper/minimal.fr.squashfs
CasperMD5CheckResult: fail
CasperVersion: 1.481
Date: Sun Jul 23 09:14:39 2023
ExecutablePath: /usr/bin/apt-config
JournalErrors:
- Jul 23 09:14:31 hostname kernel: overlayfs: fs on '/tmp/tmpc4daggpg/root.dir' does not support file handles, falling back to xino=off.
- Jul 23 09:14:35 hostname kernel: overlayfs: fs on '/tmp/tmpkuua06i6/root.dir' does not support file handles, falling back to xino=off.
- Jul 23 09:14:37 hostname kernel: overlayfs: fs on '/tmp/tmpkuua06i6/root.dir' does not support file handles, falling back to xino=off.
- Jul 23 09:14:37 hostname kernel: overlayfs: lowerdir is in-use as upperdir/workdir of another mount, accessing files from both mounts will result in undefined behavior.
- Jul 23 09:14:40 hostname pipewire[1573]: spa.alsa: front:0: (0 missed) impossible htimestamp diff:-8420
+ Jul 23 09:14:31 hostname kernel: overlayfs: fs on '/tmp/tmpc4daggpg/root.dir' does not support file handles, falling back to xino=off.
+ Jul 23 09:14:35 hostname kernel: overlayfs: fs on '/tmp/tmpkuua06i6/root.dir' does not support file handles, falling back to xino=off.
+ Jul 23 09:14:37 hostname kernel: overlayfs: fs on '/tmp/tmpkuua06i6/root.dir' does not support file handles, falling back to xino=off.
+ Jul 23 09:14:37 hostname kernel: overlayfs: lowerdir is in-use as upperdir/workdir of another mount, accessing files from both mounts will result in undefined behavior.
+ Jul 23 09:14:40 hostname pipewire[1573]: spa.alsa: front:0: (0 missed) impossible htimestamp diff:-8420
LiveMediaBuild: Ubuntu 23.10 "Mantic Minotaur" - Daily amd64 (20230723)
ProcCmdline: apt-config shell TRUSTEDPARTS Dir::Etc::TrustedParts/d
ProcEnviron:
- LANG=
- LC_MESSAGES=
- PATH=(custom, no user)
- SHELL=/bin/sh
+ LANG=
+ LC_MESSAGES=
+ PATH=(custom, no user)
+ SHELL=/bin/sh
SegvAnalysis:
- Segfault happened at: 0x7fd06012f111 <_int_malloc+737>: cmp 0x10(%r8),%rdx
- PC (0x7fd06012f111) ok
- source "0x10(%r8)" (0x69efc653158d0b5d) not located in a known VMA region (needed readable region)!
- destination "%rdx" ok
+ Segfault happened at: 0x7fd06012f111 <_int_malloc+737>: cmp 0x10(%r8),%rdx
+ PC (0x7fd06012f111) ok
+ source "0x10(%r8)" (0x69efc653158d0b5d) not located in a known VMA region (needed readable region)!
+ destination "%rdx" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: apt
StacktraceTop:
- _int_malloc (av=av at entry=0x7fd060287c80 <main_arena>, bytes=bytes at entry=472) at ./malloc/malloc.c:3994
- __GI___libc_malloc (bytes=bytes at entry=472) at ./malloc/malloc.c:3297
- __fopen_internal (is32=1, mode=0x7fd0604878c3 "r", filename=0x5579117a9860 "/usr/share/dpkg/tupletable") at ./libio/iofopen.c:65
- _IO_new_fopen (filename=0x5579117a9860 "/usr/share/dpkg/tupletable", mode=0x7fd0604878c3 "r") at ./libio/iofopen.c:86
- std::__basic_file<char>::open(char const*, std::_Ios_Openmode, int) () from /lib/x86_64-linux-gnu/libstdc++.so.6
+ _int_malloc (av=av at entry=0x7fd060287c80 <main_arena>, bytes=bytes at entry=472) at ./malloc/malloc.c:3994
+ __GI___libc_malloc (bytes=bytes at entry=472) at ./malloc/malloc.c:3297
+ __fopen_internal (is32=1, mode=0x7fd0604878c3 "r", filename=0x5579117a9860 "/usr/share/dpkg/tupletable") at ./libio/iofopen.c:65
+ _IO_new_fopen (filename=0x5579117a9860 "/usr/share/dpkg/tupletable", mode=0x7fd0604878c3 "r") at ./libio/iofopen.c:86
+ std::__basic_file<char>::open(char const*, std::_Ios_Openmode, int) () from /lib/x86_64-linux-gnu/libstdc++.so.6
Title: apt-config crashed with SIGSEGV in _int_malloc()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
separator:
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/2028454
Title:
apt-config crashed with SIGSEGV in _int_malloc()
Status in apt package in Ubuntu:
Incomplete
Bug description:
ProblemType: Crash
DistroRelease: Ubuntu 23.10
Package: apt 2.7.2
ProcVersionSignature: Ubuntu 6.3.0-7.7-generic 6.3.5
Uname: Linux 6.3.0-7-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.26.1-0ubuntu3
Architecture: amd64
CasperMD5CheckMismatches: ./casper/minimal.fr.squashfs
CasperMD5CheckResult: fail
CasperVersion: 1.481
Date: Sun Jul 23 09:14:39 2023
ExecutablePath: /usr/bin/apt-config
JournalErrors:
Jul 23 09:14:31 hostname kernel: overlayfs: fs on '/tmp/tmpc4daggpg/root.dir' does not support file handles, falling back to xino=off.
Jul 23 09:14:35 hostname kernel: overlayfs: fs on '/tmp/tmpkuua06i6/root.dir' does not support file handles, falling back to xino=off.
Jul 23 09:14:37 hostname kernel: overlayfs: fs on '/tmp/tmpkuua06i6/root.dir' does not support file handles, falling back to xino=off.
Jul 23 09:14:37 hostname kernel: overlayfs: lowerdir is in-use as upperdir/workdir of another mount, accessing files from both mounts will result in undefined behavior.
Jul 23 09:14:40 hostname pipewire[1573]: spa.alsa: front:0: (0 missed) impossible htimestamp diff:-8420
LiveMediaBuild: Ubuntu 23.10 "Mantic Minotaur" - Daily amd64 (20230723)
ProcCmdline: apt-config shell TRUSTEDPARTS Dir::Etc::TrustedParts/d
ProcEnviron:
LANG=
LC_MESSAGES=
PATH=(custom, no user)
SHELL=/bin/sh
SegvAnalysis:
Segfault happened at: 0x7fd06012f111 <_int_malloc+737>: cmp 0x10(%r8),%rdx
PC (0x7fd06012f111) ok
source "0x10(%r8)" (0x69efc653158d0b5d) not located in a known VMA region (needed readable region)!
destination "%rdx" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: apt
StacktraceTop:
_int_malloc (av=av at entry=0x7fd060287c80 <main_arena>, bytes=bytes at entry=472) at ./malloc/malloc.c:3994
__GI___libc_malloc (bytes=bytes at entry=472) at ./malloc/malloc.c:3297
__fopen_internal (is32=1, mode=0x7fd0604878c3 "r", filename=0x5579117a9860 "/usr/share/dpkg/tupletable") at ./libio/iofopen.c:65
_IO_new_fopen (filename=0x5579117a9860 "/usr/share/dpkg/tupletable", mode=0x7fd0604878c3 "r") at ./libio/iofopen.c:86
std::__basic_file<char>::open(char const*, std::_Ios_Openmode, int) () from /lib/x86_64-linux-gnu/libstdc++.so.6
Title: apt-config crashed with SIGSEGV in _int_malloc()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
separator:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2028454/+subscriptions
More information about the foundations-bugs
mailing list