python-apt segfaults when listing priorities on Hardy
Bug #196233 reported by
Marc Tardif
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Debian |
New
|
Undecided
|
Unassigned | ||
Ubuntu |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When I list the priority of packages using the apt.cache module, I reliably get a segfault on the latest update of Hardy:
Python 2.5.2 (r252:60911, Feb 26 2008, 14:43:53)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from apt.cache import Cache
/usr/lib/
warnings.
>>> for i in Cache(): j = i.priority
...
Segmentation fault (core dumped)
To post a comment you must log in.
It would be helpful to know what specific version of the package you have installed rather than latest update which isn't that informative a week or a month down the line. I have apt version 0.7.9ubuntu12 and python2.5 version 2.5.2-0ubuntu4 have been unable to recreate this bug report using the steps you have provided. This is the case on my desktop with 2GB of memory and my laptop with 1GB of memory.