plugin/sizes.py crashes on 32 bit system for big packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-xapian-index (Ubuntu) |
Fix Released
|
High
|
Barry Warsaw | ||
xapian1.3-bindings (Ubuntu) |
Fix Released
|
High
|
Barry Warsaw |
Bug Description
We're seeing crashes in /usr/sbin/
When the plugin calls xapian.
https:/
and this is easily reproducible on a 32 bit system:
$ python3
>>> from xapian import *
>>> sortable_
You first get an OverflowError for the conversion past 32 bits, and then a SystemError because sortable_
Both ultimately are bugs in Xapian, which I will report upstream. For now, in discussion with @cyphermox, it was decided that we'll catch the exception and treat the values as == -1, which the code already handles and declines to add the size for.
Changed in apt-xapian-index (Ubuntu): | |
assignee: | nobody → Barry Warsaw (barry) |
status: | New → In Progress |
importance: | Undecided → High |
Changed in xapian1.3-bindings (Ubuntu): | |
status: | In Progress → Fix Released |
I think the SystemError will require a fix to xapian1.3-bindings.