in recommendations upload: software-center crashed with DatabaseModifiedError in __init__(): The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Crashed when trying to view "Recommendations"
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: software-center 5.1.12
ProcVersionSign
Uname: Linux 3.2.0-15-generic x86_64
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Thu Mar 15 18:02:54 2012
ExecutablePath: /usr/share/
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111129.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
PythonArgs: ['/usr/
SourcePackage: software-center
Title: software-center crashed with DatabaseModifie
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dip floppy fuse lpadmin plugdev sambashare sudo
tags: | removed: need-duplicate-check |
visibility: | private → public |
Changed in software-center (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
This looks like its a race-condition, maybe with the update- software- center- agent process. What is puzzling is that the code is not doing any glib event processing so the for loop should have a valid db.
Is this reproducable for you? Can you outline the steps that triggered the crash? Was it just enabling recommendations and after that it crashed?