[Aptitude-devel] Bug#810020: aptitude: sometimes crashes when reading changelogs

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Sat Feb 6 14:19:34 UTC 2016

Hi Manuel,

On 05.02.2016 20:47, Manuel A. Fernandez Montecelo wrote:
> 2016-01-12 23:39 Axel Beckert:
>> Andreas Cadhalpun wrote:
>>> On 05.01.2016 18:46, Andreas Cadhalpun wrote:
>>> > since upgrading to apt > 1.1 aptitude sometimes crashes, when reading changelogs.
>>> > So far it happened four times in the last month.
>>> I have found a quite reliable way to reproduce the crash:
>>>  * open the aptitude ncurses interface
>>>  * select one package (e.g. aptitude)
>>>  * press 'C' multiple times (at least twice) in a row, fast
>>>  * watch the segfault...
>> Indeed. With those instructions I can reproduce the issue with
>> aptitude 0.7.5-3 on amd64.
>> Thanks for bug report and the followup with more details.
> This turned out to be incredibly complicated to debug, and I couldn't
> find out in the end the exact cause of the crash after several
> afternoons and evenings looking into it.  Threading make this kind of
> debugging very complicate.

I can understand your pain.

> I believe that the crashes don't happen anymore with this fix, though.

Thanks for fixing it!

Best regards,

More information about the Aptitude-devel mailing list