Apt constantly sigsevs on edgy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Debian) |
Fix Released
|
Unknown
|
|||
apt (Ubuntu) |
Fix Released
|
High
|
Michael Vogt | ||
Edgy |
Won't Fix
|
High
|
Michael Vogt |
Bug Description
Binary package hint: apt
Under certain circumstance apt segfaults on every operation until the cache is rebuild or deleted. This includes all tools that are build on top of libapt.
It turns out the bug can be fixed by checking for a NULL value in the filename string. The attached (one-liner) patch adresses the issue.
Please accept this as a StableReleaseUp
TEST CASE:
I have not found a way to reliable trigger the bug, so I would suggest we test it indirectly
1. install the apt from -proposed
2. run apt-get update
3. run apt-get dist-upgrade
4. run apt-cache search apt
5. run apt-get install --reinstall synaptic
verify that all of the above commands work as expected and do not segfault or misbehave.
Related branches
Changed in apt: | |
status: | Needs Info → Confirmed |
Changed in apt: | |
status: | Unknown → Fix Released |
description: | updated |
Changed in apt: | |
importance: | Undecided → High |
Changed in apt: | |
status: | Confirmed → Fix Released |
assignee: | nobody → mvo |
Changed in apt: | |
status: | Incomplete → In Progress |
description: | updated |
This file is the GDB backtrace of apt-cache show kubuntu-desktop, before I had cleared /var/lib/ apt/lists/ * .