search crashes wingpanel

Bug #1600705 reported by Jonas Bulik
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Slingshot
Confirmed
Medium
Unassigned

Bug Description

I am using the ElementaryOS 0.4 Loki Beta 64bit.

I tried to remove the desktop entries for fcitx from the app view but now when I try to use the search wingpanel restarts. I managed to fix it by removing all these files:

~/.local/share/applications/fcitx-config-gtk3.desktop
~/.local/share/applications/fcitx-configtool.desktop
~/.local/share/applications/fcitx-qimpanel-configtool.desktop
~/.local/share/applications/fcitx-skin-installer.desktop
~/.local/share/applications/fcitx.desktop

Sadly I didn't save them so I can't get you the contents of them.
I first tried to delete the entries with alacarte though, maybe that helps.
Here is also the debug log:

[INFO 09:51:16.407273] Application.vala:155: Systemleiste version: 2.0
[INFO 09:51:16.407305] Application.vala:157: Kernel version: 4.4.0-28-generic
[DEBUG 09:51:16.408478] [Gtk] Connecting to session manager
[DEBUG 09:51:16.419571] Slingshot.vala:80: Activating Slingshot
[DEBUG 09:51:16.419741] IndicatorManager.vala:314: app-launcher registered
[DEBUG 09:51:16.426861] Indicator.vala:94: Activating Power Indicator
[DEBUG 09:51:16.426945] IndicatorManager.vala:314: network registered
[DEBUG 09:51:16.427525] Indicator.vala:214: Activating Notifications Indicator
[DEBUG 09:51:16.427621] IndicatorManager.vala:314: messages registered
[DEBUG 09:51:16.428214] Indicator.vala:100: Activating Power Indicator
[DEBUG 09:51:16.428298] IndicatorManager.vala:314: power registered
[DEBUG 09:51:16.428802] Indicator.vala:73: Activating Bluetooth Indicator
[DEBUG 09:51:16.429450] Indicator.vala:42: Bluetooth Indicator started
[DEBUG 09:51:16.429513] IndicatorManager.vala:314: bluetooth registered
[DEBUG 09:51:16.430225] Indicator.vala:98: Activating Keyboard Indicator
[DEBUG 09:51:16.430319] IndicatorManager.vala:314: keyboard registered
[DEBUG 09:51:16.430823] Indicator.vala:158: Activating Sample Indicator
[DEBUG 09:51:16.430903] IndicatorManager.vala:314: session registered
[DEBUG 09:51:16.432943] Indicator.vala:396: Activating Sound Indicator
[DEBUG 09:51:16.447305] Settings.vala:163: Loading settings from schema 'org.pantheon.desktop.wingpanel.indicators.sound'
[DEBUG 09:51:16.447641] IndicatorManager.vala:314: sound registered
[DEBUG 09:51:16.464591] Indicator.vala:152: Activating DateTime Indicator
[DEBUG 09:51:16.464701] IndicatorManager.vala:314: datetime registered
[DEBUG 09:51:16.501490] User.vala:60: Connection to user account established. User path: /org/freedesktop/login1/user/_1000
[DEBUG 09:51:16.527831] Settings.vala:163: Loading settings from schema 'org.pantheon.desktop.slingshot'
[DEBUG 09:51:16.528118] Settings.vala:163: Loading settings from schema 'org.pantheon.desktop.gala.behavior'
[FATAL 09:51:16.529794] wingpanel_widgets_overlay_icon_set_main_icon_name: assertion 'self != NULL' failed
[DEBUG 09:51:16.529921] Volume-control.vala:210: headphone plugged in
[DEBUG 09:51:16.529993] Volume-control.vala:657: Setting volume to 0,161423 for profile -1 because 0
[FATAL 09:51:16.530337] wingpanel_widgets_overlay_icon_set_main_icon_name: assertion 'self != NULL' failed
[DEBUG 09:51:16.532221] sql-schema.vala:204: schema_version is 10
[DEBUG 09:51:16.533087] AppSystem.vala:50: Updating Applications menu tree...
[DEBUG 09:51:16.555142] sql-schema.vala:204: schema_version is 10
[07:51:16.633813 GLib-GIO-Critical] g_file_get_child: assertion 'G_IS_FILE (file)' failed
[07:51:16.633867 GLib-GIO-Critical] g_file_query_exists: assertion 'G_IS_FILE(file)' failed
[07:51:16.633874 GLib-GIO-Critical] g_file_get_child: assertion 'G_IS_FILE (file)' failed
[07:51:16.633879 GLib-GIO-Critical] g_file_query_exists: assertion 'G_IS_FILE(file)' failed
[07:51:16.633885 Critical] gee_abstract_collection_get_size: assertion 'self != NULL' failed
[07:51:16.633891 Warning] Theme.vala:508: Currently selected gtk+ theme 'elementary' does not provide a dock theme, fallback to the built-in defaults!
[INFO 09:51:17.126532] DBusService.vala:64: Service registration suceeded
[07:51:17.239064 Warning] [DesktopFileInfo] Die Schlüsselwertedatei hat keinen Schlüssel »Type« in der Gruppe »Desktop Entry«
[07:51:17.239763 Warning] [DesktopFileInfo] Unable to create AppInfo

** (process:3180): CRITICAL **: string_contains: assertion 'self != NULL' failed

** (process:3180): CRITICAL **: string_contains: assertion 'self != NULL' failed
[07:51:17.407000 Info] Tweaks.vala:68: Activating tweaks plug
[07:51:35.631564 GLib-GIO-Critical] g_desktop_app_info_list_actions: assertion 'G_IS_DESKTOP_APP_INFO (info)' failed
Speicherzugriffsfehler (Speicherabzug geschrieben)

If you tell me where I can find a traceback file or something, I'd be glad to provide it.
If you need more info about my system, just ask.

ProblemType: Bug
DistroRelease: elementary 0.4
Package: wingpanel 0.4~r136-0+pkg28~daily~ubuntu0.4.1 [origin: LP-PPA-elementary-os-daily]
ProcVersionSignature: Ubuntu 4.4.0-28.47-generic 4.4.13
Uname: Linux 4.4.0-28-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CrashDB: wingpanel
CurrentDesktop: Pantheon
Date: Mon Jul 11 09:53:00 2016
ExecutablePath: /usr/bin/wingpanel
GSettings: org.pantheon.desktop.wingpanel use-transparency true
GsettingsChanges:

InstallationDate: Installed on 2016-07-09 (1 days ago)
InstallationMedia: elementary OS 0.4 "Loki" - Daily amd64 (20160613)
SourcePackage: wingpanel
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jonas Bulik (mrlordalfred) wrote :
affects: wingpanel → slingshot
Changed in slingshot:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Cody Garver (codygarver)
Changed in slingshot:
milestone: none → juno-beta1
Cody Garver (codygarver)
Changed in slingshot:
assignee: Cody Garver (codygarver) → nobody
milestone: juno-beta1 → none
status: Fix Committed → Incomplete
Revision history for this message
Adam Bieńkowski (donadigo) wrote :

Sorry, we can't reproduce this issue, the file you provided on G+ does not cause any issue for me, we can't solve it until you provide the contents of removed files, or someone will have the same issue or figure out where it exists in the code.

Revision history for this message
svan001 (stephane-gronowski) wrote :

If it can help, I had the same issue yesterday when updating IntelliJ from 2016.2 to 2016.3. The all IDE is in one folder and after I deleted it I searched for "idea" in slingshot, it crashed, but it was smart enought to restart and remove the intelliJ entry.
Slingshot shouldn't crash because file are missing.

Revision history for this message
Eric Karnes (eric-karnes1) wrote :

Just tracked down this issue so I can explain what's happening, at least in my case. Wingpanel/Slingshot were crashing because I had copied some .desktop files from /usr/share/application over to .local/share/applications and had added "Hidden=true". I couldn't reproduce this with a generic .desktop file just in .local/share/applications so I assume it's just an issue with the same desktop file being in both locations but with the .local/share/applications one containing "Hidden=true".

Revision history for this message
Eric Karnes (eric-karnes1) wrote :

Since this bug is about to expire I'm going to change it from incomplete to confirmed since I can verify this is an actual bug and I can reproduce it.

Changed in slingshot:
status: Incomplete → Confirmed
Revision history for this message
Alexander Maiburg (80995-maiburg) wrote :

In my case the file vim.desktop caused this error. Removing it from ~/.local/share/applications fixed it. See attached file.

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.