apport crashed with : struct.error: unpack requires a bytes object of length 4 in problem_report.py, line 75, in write
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python |
Fix Released
|
Unknown
|
|||
apport (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Quantal armhf up to date
Apport crashed with the error below following an apt-xapian-index crash. apport crash file attached.
Traceback:
Traceback (most recent call last):
File "/usr/share/
GLib.
File "/usr/lib/
icthread.
File "/usr/lib/
raise self._exception
File "/usr/lib/
self._retval = self.__
File "/usr/lib/
report.
File "/usr/lib/
self[
File "/usr/lib/
block = gz.read(1048576)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
crc32 = read32(
File "/usr/lib/
return struct.unpack("<I", input.read(4))[0]
struct.error: unpack requires a bytes object of length 4
It seems that apport showed up and started reporting the bug while the crash file (apt-xapian-index in this case) was not completely written to disk.
Changed in apport (Ubuntu): | |
importance: | Undecided → High |
Changed in python: | |
status: | Unknown → New |
Changed in apport (Ubuntu): | |
assignee: | Martin Pitt (pitti) → nobody |
Changed in python: | |
status: | New → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.