Apps Lens doesn't handle Software Center Index Corruption

Bug #762821 reported by seanf101@hotmail.com
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Critical
Mikkel Kamstrup Erlandsen
unity-2d
Invalid
Critical
Unassigned
unity-lens-applications
Fix Released
Critical
Mikkel Kamstrup Erlandsen
unity (Ubuntu)
Fix Released
Undecided
Unassigned
unity-lens-applications (Ubuntu)
Fix Released
Critical
Unassigned

Bug Description

Binary package hint: unity-place-applications

the bug occurs when I try to click applications before files and folders, in this case application will freeze but if I click Files and folders during this time then go back and click applications it will open

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: unity-place-applications 0.2.46-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
CrashCounter: 1
Date: Sat Apr 16 08:00:52 2011
ExecutablePath: /usr/lib/unity-place-applications/unity-applications-daemon
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
ProcCmdline: /usr/lib/unity-place-applications/unity-applications-daemon
ProcEnviron:
 SHELL=/bin/bash
 LANGUAGE=en_CA:en
 LANG=en_CA.UTF-8
Signal: 6
SourcePackage: unity-place-applications
StacktraceTop:
 __kernel_vsyscall ()
 raise () from /lib/i386-linux-gnu/libc.so.6
 abort () from /lib/i386-linux-gnu/libc.so.6
 __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
 ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
Title: unity-applications-daemon crashed with SIGABRT in __kernel_vsyscall()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
seanf101@hotmail.com (seanf101) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __kernel_vsyscall ()
 raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
 abort () at abort.c:92
 __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
 ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in unity-place-applications (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
visibility: private → public
Alex Launi (alexlauni)
Changed in unity:
status: New → Confirmed
Changed in unity-place-applications:
status: New → Confirmed
Changed in unity-place-applications (Ubuntu):
status: New → Confirmed
Changed in unity-place-applications:
importance: Undecided → Medium
Changed in unity:
importance: Undecided → Medium
Changed in unity:
importance: Medium → Critical
Changed in unity-place-applications:
importance: Medium → Critical
Changed in unity-place-applications (Ubuntu):
importance: Medium → Critical
Changed in unity-2d:
status: New → Confirmed
Changed in unity-2d:
importance: Undecided → Critical
Changed in unity-2d:
status: Confirmed → Invalid
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote : Re: unity-applications-daemon crashed with SIGABRT in __kernel_vsyscall()

This particular crash seems to have happened while retrieving the PKGNAME value from Software Center's Xapian index. Xapian raises a DatabaseError, probably because the index is corrupted.

The solution for the apps lens is to somehow gracefully handle the case where the S-C index is corrupted. There are a few options; none very compelling though, so I will need a think about this. Problem is we can't regenerate the index our selves and we can't easily know when it has been fixed again...

Changed in unity-lens-applications:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
Changed in unity:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
summary: - unity-applications-daemon crashed with SIGABRT in __kernel_vsyscall()
+ Apps Lens doesn't handle Software Center Index Corruption
Changed in unity-lens-applications:
milestone: none → 0.4.6
Changed in unity-lens-applications:
milestone: 0.4.6 → 0.4.8
Changed in unity:
milestone: none → 4.18.0
Neil J. Patel (njpatel)
Changed in unity:
milestone: 4.18.0 → 4.20.0
affects: unity-place-applications (Ubuntu) → unity-lens-applications (Ubuntu)
Changed in unity-lens-applications:
status: Confirmed → Fix Released
Changed in unity:
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-lens-applications - 0.4.8-0ubuntu1

---------------
unity-lens-applications (0.4.8-0ubuntu1) oneiric; urgency=low

  * New upstream release.
    - unity-applications-daemon crash in
      dee_shared_model_flush_revision_queue() (LP: #740561)
    - Apps Lens doesn't handle Software Center Index Corruption (LP: #762821)
    - Star rating filter in apps lens not respected (LP: #855324)
    - configure needs to test for xapian.h (LP: #736051)
    - Random available apps does not belong to selected category (LP: #857409)
  * debian/control:
    - add libdb4.8-dev build-dep
 -- Didier Roche <email address hidden> Fri, 23 Sep 2011 16:23:48 +0200

Changed in unity-lens-applications (Ubuntu):
status: Confirmed → Fix Released
Changed in unity (Ubuntu):
status: New → Fix Released
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.