apt assert failure: malloc(): mismatching next->prev_size (unsorted)

Bug #1868988 reported by Raymond Kimathi on 2020-03-25

This bug report will be marked for expiration in 10 days if no further activity occurs. (find out why)

10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Medium
Unassigned

Bug Description

libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5

ProblemType: Crash
DistroRelease: Ubuntu 20.04
Package: apt 2.0.0
ProcVersionSignature: Ubuntu 5.4.0-18.22-generic 5.4.24
Uname: Linux 5.4.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu21
Architecture: amd64
AssertionMessage: malloc(): mismatching next->prev_size (unsorted)
Date: Wed Mar 25 14:19:48 2020
ExecutablePath: /usr/bin/apt
InstallationDate: Installed on 2020-03-17 (7 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200315)
ProcCmdline: apt upgrade
Signal: 6
SourcePackage: apt
StacktraceTop:
 __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f5e92ba0285 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
 malloc_printerr (str=str@entry=0x7f5e92ba2aa0 "malloc(): mismatching next->prev_size (unsorted)") at malloc.c:5347
 _int_malloc (av=av@entry=0x7f5e92bd1b80 <main_arena>, bytes=bytes@entry=128) at malloc.c:3741
 __GI___libc_malloc (bytes=128) at malloc.c:3058
 operator new(unsigned long) () from /lib/x86_64-linux-gnu/libstdc++.so.6
Title: apt assert failure: malloc(): mismatching next->prev_size (unsorted)
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

separator:

Raymond Kimathi (rmkimathi) wrote :

StacktraceTop:
 raise () from /tmp/apport_sandbox_lw3sm71t/lib/x86_64-linux-gnu/libc.so.6
 abort () from /tmp/apport_sandbox_lw3sm71t/lib/x86_64-linux-gnu/libc.so.6
 ?? () from /tmp/apport_sandbox_lw3sm71t/lib/x86_64-linux-gnu/libc.so.6
 ?? () from /tmp/apport_sandbox_lw3sm71t/lib/x86_64-linux-gnu/libc.so.6
 ?? () from /tmp/apport_sandbox_lw3sm71t/lib/x86_64-linux-gnu/libc.so.6

tags: added: apport-failed-retrace
tags: removed: need-amd64-retrace
information type: Private → Public

StacktraceTop:
 __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f5e92ba0285 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
 malloc_printerr (str=str@entry=0x7f5e92ba2aa0 "malloc(): mismatching next->prev_size (unsorted)") at malloc.c:5347
 _int_malloc (av=av@entry=0x7f5e92bd1b80 <main_arena>, bytes=bytes@entry=128) at malloc.c:3741
 __GI___libc_malloc (bytes=128) at malloc.c:3058
 operator new(unsigned long) () from /srv/vms/apport-sandbox-dir/Ubuntu 20.04/amd64/report-sandbox/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28

Changed in apt (Ubuntu):
importance: Undecided → Medium
tags: removed: apport-failed-retrace
Julian Andres Klode (juliank) wrote :

There is a memory corruption somewhere, but it's not evident from the data where, so this needs someone to reproduce the issue in valgrind.

Changed in apt (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers