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

Bug#304296: Segfault in CppOwnedDealloc<PkgSrcRecordsStruct>



On Tue, Apr 12, 2005 at 09:03:00AM +0200, Christian 'Greek0' Aichinger wrote:
> Package: python-apt
> Version: 0.6.10
> Severity: normal
> Tags: patch

Thanks for your bugreport and your patch.
 
> I've hit a segfault python-apt while trying to write a class that
> nicely encapsulates a package.

I tried to reproduce the problem with the latest tla version of
python-apt and it seems to work with it (at least I didn't managed to
make it segfault). Could you verify this? The source is available via
gnu arch (tla) at:
http://people.debian.org/~mdz/arch/
as
apt@packages.debian.org/python-apt--main--0

it also contains a implementation of many bits of the
depcache. Looking over your example code it looks like it contains
many bits that you may want (what version is the candidate, is it
upgradable etc). See the doc/examples/depcache.py code for example
usage. There is some work going on to improve python-apt, if you are
interessted in helping/testing, please let me know :)

Cheers,
 Michael
 
-- 
Linux is not The Answer. Yes is the answer. Linux is The Question. - Neo



Reply to: