Bug#535218: apt-get / aptitude segfault when Cache-Limit is too small
On Mon, Jul 20, 2009 at 03:38:06PM +0100, Steve Cotton wrote:
> package apt
> severity 535218 important
> merge 295051 535218
> thanks
>
> > That is no solution. libapt should never ever ever ever
> > segfault.
[..]
> That is likely to make this segfault unreproducible. It's not a
> fix to this bug; but it seems this bug only triggers after the Dynamic
> MMap bug has already broken apt.
> (I'm guessing that the Dynamic MMap bug is creating a structure
> with null pointers, and other code isn't ready for that.)
That is pretty likely, the current bzr code contains a bunch of extra
checks that (hopefully) fixes the issue with the segfaults. Thanks to
David Kalnischkies for his work on this.
We plan to do a new upload very soon, its a ABI break, but it adds
some nice features and fixes.
Cheers,
Michael
Reply to: