Acquire.run(): crash with "double free or corruption"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-apt (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
We tried to implement a function returning an Acquire object "fetcher". Whenever we called "fetcher.run()" after generating the object using this function our program crashed with "*** Error in `/usr/bin/python': double free or corruption (fasttop): ...... ***.
You can reproduce this with the attached example code ("func=1"); the package to download must not be in the local archive. When you set "func=0" in this example the code works as expected.
Our researches indicate that Acquire.run() seems to depend on data structures (memory) of the PackageManager object "pm". In "pm.get_
# lsb_release -rd
Description: Ubuntu 14.04.5 LTS
Release: 14.04
python-apt 0.9.3.5ubuntu2 amd64
Changed in python-apt (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: trusty |