Hi, On Tue, Feb 02, 2016 at 10:35:09PM +0100, Balint Reczey wrote: > Unfortunately this commit seems to break apt in the following test: > (gdb) set args build-dep bzip2 > (gdb) run > Starting program: /usr/bin/apt build-dep bzip2 > Reading package lists... Done > > Program received signal SIGSEGV, Segmentation fault. Thanks for testing & reporting! git commit cd907113561d5eb75054f981be3bcc22eee8db27 should fix this (and related) segfaults by avoiding an unneeded roundtrip over a pointer which is no longer initialized at this point – as that is a very costly operation we want to delay until after we have figured out all build-dependencies as we would have to calculate it again then. Before the rewrite it wasn't important then this calculation happened, so the code did it very early on, so later parts "optimized" for code length it seems… Best regards David Kalnischkies
Attachment:
signature.asc
Description: PGP signature