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

Bug #956216 reported by Trond Aasan
10
This bug affects 1 person
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
ProcVersionSignature: Ubuntu 3.2.0-15.24-generic 3.2.5
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/software-center/software-center
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111129.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center
PythonArgs: ['/usr/bin/software-center']
SourcePackage: software-center
Title: software-center crashed with DatabaseModifiedError in __init__(): The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dip floppy fuse lpadmin plugdev sambashare sudo

Revision history for this message
Trond Aasan (trond-aasan) wrote :
tags: removed: need-duplicate-check
Michael Vogt (mvo)
visibility: private → public
Changed in software-center (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Michael Vogt (mvo) wrote :

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?

Changed in software-center (Ubuntu):
status: In Progress → Incomplete
summary: - software-center crashed with DatabaseModifiedError in __init__(): The
- revision being read has been discarded - you should call
- Xapian::Database::reopen() and retry the operation
+ 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
Revision history for this message
Trond Aasan (trond-aasan) wrote :

It crashed after enabling recommendations.

I have done an apt-get distupgrade since the crash.

No crash now, it just says "Submitting inventory" forever, with no network activity.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks Trond for this additional information. You will have to close/ropen it again for the "submitting inventory" to go away.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for software-center (Ubuntu) because there has been no activity for 60 days.]

Changed in software-center (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.