unity-applications-daemon crash when Software Center index is corrupted

Bug #620294 reported by Markus Korn
50
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Mikkel Kamstrup Erlandsen
Unity Foundations
Fix Released
High
Mikkel Kamstrup Erlandsen
unity-lens-applications
Fix Released
High
Mikkel Kamstrup Erlandsen
unity (Ubuntu)
Fix Released
Undecided
Unassigned
unity-place-applications (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: unity-place-applications

This bug happens reproducible whenever I click on the applications icon in unity. The result is an endless loop of restarting unity.

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: unity-place-applications 0.2.10-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-15.21-generic 2.6.35.1
Uname: Linux 2.6.35-15-generic i686
Architecture: i386
CrashCounter: 1
Date: Thu Aug 19 08:23:20 2010
EcryptfsInUse: Yes
ExecutablePath: /usr/lib/unity-place-applications/unity-applications-daemon
InstallationMedia: Ubuntu-Netbook 10.10 "Maverick Meerkat" - Alpha i386 (20100818)
ProcCmdline: /usr/lib/unity-place-applications/unity-applications-daemon
ProcCwd: /
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.utf8
SegvAnalysis:
 Segfault happened at: 0x804c1f5: mov (%ecx),%esi
 PC (0x0804c1f5) ok
 source "(%ecx)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%esi" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: unity-place-applications
StacktraceTop:
 ?? ()
 ?? ()
 ?? () from /usr/lib/libzeitgeist-1.0.so.0
 g_simple_async_result_complete () from /usr/lib/libgio-2.0.so.0
 ?? () from /usr/lib/libzeitgeist-1.0.so.0
Title: unity-applications-daemon crashed with SIGSEGV in g_simple_async_result_complete()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Markus Korn (thekorn) wrote :
Revision history for this message
Markus Korn (thekorn) wrote :

StacktraceTop:
 _vala_strcmp0 (self=<value optimized out>, search=0x0) at daemon.c:1703
 unity_applications_place_daemon_search_is_invalid (self=<value optimized out>, search=0x0) at daemon.c:894
 unity_applications_place_daemon_find_pkg_icon (self=<value optimized out>,
 unity_applications_place_daemon_update_pkg_search (self=<value optimized out>, search=<value optimized out>,
 ?? ()

visibility: private → public
Revision history for this message
Markus Korn (thekorn) wrote : Stacktrace.txt
Revision history for this message
Markus Korn (thekorn) wrote : ThreadStacktrace.txt
Changed in unity-place-applications (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Revision history for this message
Alex Launi (alexlauni) wrote : Re: unity-applications-daemon crashed with SIGSEGV in g_simple_async_result_complete()

This bug was reported against an old version of Unity. The new version of Unity is almost an entire rewrite based on very different technologies. Could you please check if this issue is present in the current version, and if it is reopen the bug to a NEW status.

Changed in unity:
status: New → Invalid
Changed in unity-place-applications:
status: New → Invalid
Changed in unity-place-applications (Ubuntu):
status: New → Invalid
Revision history for this message
Kenny Strawn (realkstrawn93) wrote :

Apparently, this bug happens to occur as a regression in the current version of Unity in Ubuntu 11.04 as well, because I am experiencing it. Only in this case, it occurs when I try to resize the Dash.

Changed in unity:
status: Invalid → Confirmed
Changed in unity-place-applications:
status: Invalid → Confirmed
Revision history for this message
Omer Akram (om26er) wrote :

if you are seeing a similar crash can you please report a new bug instead of opening an old bug.

Changed in unity:
status: Confirmed → Invalid
Changed in unity-place-applications:
status: Confirmed → Invalid
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote : Re: unity-applications-daemon crash in unity_applications_place_daemon_search_is_invalid()

I just got this one myself. On the top of stdout from the apps daemon I see:

  Error loading package indexes: /var/cache/software-center/xapian/iamchert: Chert version file should be 28 bytes, actually 0

Which indicates that the index from Ubuntu Software Center could not be loaded. When I do a search I see the following on stdout right before the crash:

  ** (process:2700): CRITICAL **: UnityPackageSearchResult* unity_package_searcher_get_random_apps(UnityPackageSearcher*, const gchar*, guint): assertion `searcher != NULL' failed

  (process:2700): unity-applications-daemon-CRITICAL **: unity_applications_place_daemon_add_pkg_search_result: assertion `results != NULL' failed

summary: - unity-applications-daemon crashed with SIGSEGV in
- g_simple_async_result_complete()
+ unity-applications-daemon crash in
+ unity_applications_place_daemon_search_is_invalid()
Changed in unity-place-applications:
status: Invalid → Triaged
milestone: none → 0.2.44
Changed in unity:
status: Invalid → Triaged
milestone: none → 3.8
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → High
Changed in unity-place-applications:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → High
Changed in unity-foundations:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → High
milestone: none → unity-3.8.0-beta
status: New → Triaged
Changed in unity-foundations:
status: Triaged → Fix Committed
Changed in unity:
status: Triaged → Fix Committed
Changed in unity-place-applications:
status: Triaged → Fix Committed
summary: - unity-applications-daemon crash in
- unity_applications_place_daemon_search_is_invalid()
+ unity-applications-daemon crash when Software Center index is corrupted
Changed in unity-place-applications (Ubuntu):
status: Invalid → Fix Committed
Changed in unity-place-applications:
status: Fix Committed → Fix Released
Changed in unity-foundations:
status: Fix Committed → Fix Released
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-place-applications - 0.2.44-0ubuntu1

---------------
unity-place-applications (0.2.44-0ubuntu1) natty; urgency=low

  * New upstream release.
    - unity-applications-daemon crash when Software Center index is corrupted
      (LP: #620294)
    - Dash: Alt-F2 "nautilus ~/" errors to "Could not find '/~'" (LP: #734762)
    - unity-applications-daemon crash in unity_package_searcher_search()
      (LP: #739698)
    - unity-applications-daemon crash because of invalid docid 0 (LP: #744261)
    - Gnome-terminal doesn't start in user home directory when started from
      alt+F2 (LP: #736471)
 -- Didier Roche <email address hidden> Thu, 31 Mar 2011 15:09:07 +0200

Changed in unity-place-applications (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
3vi1 (launchpad-net-eternaldusk) wrote :

I was having this same problem until I realized that unity-place-applications wasn't installed when I installed ubuntu-desktop on top of Kubuntu.

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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