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

Bug#756619: apt-get update: SIGBUS when run out of disk space



On Thu, Jul 31, 2014 at 1:52 PM, Jakub Wilk <jwilk@debian.org> wrote:
> Package: apt
> Version: 1.0.6
>
> "apt-get update" dies with SIGBUS when there's very little free space on
> disk:
>
> # rm -f /var/cache/apt/*.*
>
> # df -h /var
> Filesystem                                              Size  Used Avail
> Use% Mounted on
> /dev/disk/by-uuid/0fbbe877-619a-4769-9583-1f6ca4084685  2.0G  1.9G   25M
> 99% /
>
> # apt-get update
> Hit http://ftp.debian.org unstable InRelease
> Hit http://ftp.debian.org unstable/main amd64 Packages/DiffIndex
> Bus error (core dumped). 60%
>

I just wonder how this happens. APT is writing to an mmap. That mmap
has been allocated on the disk already, so it should not fail, unless
the FS lied and has no space anymore, despite having promised it to
APT, or am I wrong?


-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.


Reply to: