[Aptitude-devel] Bug#980053: Bug#980035: Bug#980035: aptitude: segmentation fault when starting aptitude

Vincent Lefevre vincent at vinc17.net
Wed Jan 13 14:52:56 GMT 2021


[moved to Cc: 980053]

Hi,

On 2021-01-13 15:33:00 +0100, Axel Beckert wrote:
> Vincent Lefevre wrote:
> > Hmm... I think that you should forget that test. I thought
> > that aptitude-run-state-bundle would only depend on files from
> > aptitude-segv.bundle, but it still reads some other files from
> > /var/lib according to strace. And now I get
> > 
> > --- Upgradable Packages (65)
> > 
> > instead of
> > 
> > --- Upgradable Packages (61)
> > 
> > Since the crashes are very sensitive to the system status, the
> > above test might not be reliable.
> 
> Ack. That's now https://bugs.debian.org/980053 :-)

Well, 980053 is about aptitude-create-state-bundle. The above issue
is about aptitude-run-state-bundle. Perhaps this is due to the
aptitude-create-state-bundle bug, but I think that if a file is
missing, aptitude-run-state-bundle should fail, not fall back to
/var/lib files.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Aptitude-devel mailing list