[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#947279: apt SIGABRT's with `malloc(): unsorted double linked list corrupted`



On Mon, Dec 23, 2019 at 02:04:13PM -0800, Kip Warner wrote:
> Package: apt
> Version: 1.9.4
> 
> I experienced an unexpected SIGABRT signal being raised with apt(1). I
> saw the following:
> 
>    $ sudo apt install trousers
>    Reading package lists... Done
>    Building dependency tree       
>    Reading state information... Done
>    The following NEW packages will be installed:
>      trousers
>    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
>    Need to get 119 kB of archives.
>    After this operation, 369 kB of additional disk space will be used.
>    Get:1 http://ca.archive.ubuntu.com/ubuntu eoan/universe amd64
>    trousers amd64 0.3.14+fixed1-1build1 [119 kB]
>    Fetched 119 kB in 0s (257 kB/s)  
>    malloc(): unsorted double linked list corrupted
>    Aborted
> 
> This appears to be a very difficult bug to reproduce. It only appeared
> once and with the second invocation succeeding without issue.
> 
> Fortunately apport managed to preserve the core dump. After unpacking
> it with apport-unpack and loading the core dump with gdb, the full
> stack trace is as follows:

The coredump should be useless, as this sounds like a memory corruption
issue, which would need debugging in valgrind to find the first illegal
write.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en

Attachment: signature.asc
Description: PGP signature


Reply to: