[GH-ISSUE #3260] [Bug] Plasmashell crashes when executing .desktop file #1434

Open
opened 2026-03-23 20:49:09 +00:00 by mirror · 6 comments
Owner

Originally created by @Ghoelian on GitHub (Aug 23, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/3260

Bug Description

When trying to open the start menu shortcut for AppFlowy, the entire plasma shell crashes, and it does not launch.

When executing the Exec line in the .desktop file manually, AppFlowy launches like normal.

How to Reproduce

Install AppFlowy 0.3.0 on Kubuntu, and try to launch it through the start menu.

Tested on my regular system and a fresh Kubuntu 23.04 VM.

Expected Behavior

The app launches.

Operating System

Kubuntu 23.04

AppFlowy Version(s)

0.3.0

Screenshots

No response

Additional Context

Plasmashell logs:

aug 23 10:42:37 asdf plasmashell[5855]: dbus[5855]: arguments to dbus_message_new_method_call() were incorrect, assertion "destination == NULL || _dbus_check_is_valid_bus_name (destination)" failed in file ../../../dbus/dbus-message.c line 1375.
aug 23 10:42:37 asdf plasmashell[5855]: This is normally a bug in some application using the D-Bus library.
aug 23 10:42:37 asdf plasmashell[5855]:   D-Bus not built with -rdynamic so unable to print a backtrace
aug 23 10:42:38 asdf plasmashell[3169]: QSocketNotifier: Invalid socket 80 and type 'Read', disabling...
aug 23 10:42:39 asdf plasmashell[3169]: Unable to start Dr. Konqi
aug 23 10:42:39 asdf plasmashell[3169]: Re-raising signal for core dump handling.
aug 23 10:42:40 asdf systemd[1675]: plasma-plasmashell.service: Main process exited, code=dumped, status=6/ABRT
aug 23 10:42:40 asdf systemd[1675]: plasma-plasmashell.service: Failed with result 'core-dump'.
aug 23 10:42:40 asdf systemd[1675]: plasma-plasmashell.service: Consumed 14.638s CPU time.
aug 23 10:42:41 asdf systemd[1675]: plasma-plasmashell.service: Scheduled restart job, restart counter is at 2.
aug 23 10:42:41 asdf systemd[1675]: Stopped plasma-plasmashell.service - KDE Plasma Workspace.
aug 23 10:42:41 asdf systemd[1675]: plasma-plasmashell.service: Consumed 14.638s CPU time.
Originally created by @Ghoelian on GitHub (Aug 23, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/3260 ### Bug Description When trying to open the start menu shortcut for AppFlowy, the entire plasma shell crashes, and it does not launch. When executing the Exec line in the .desktop file manually, AppFlowy launches like normal. ### How to Reproduce Install AppFlowy 0.3.0 on Kubuntu, and try to launch it through the start menu. Tested on my regular system and a fresh Kubuntu 23.04 VM. ### Expected Behavior The app launches. ### Operating System Kubuntu 23.04 ### AppFlowy Version(s) 0.3.0 ### Screenshots _No response_ ### Additional Context Plasmashell logs: ``` aug 23 10:42:37 asdf plasmashell[5855]: dbus[5855]: arguments to dbus_message_new_method_call() were incorrect, assertion "destination == NULL || _dbus_check_is_valid_bus_name (destination)" failed in file ../../../dbus/dbus-message.c line 1375. aug 23 10:42:37 asdf plasmashell[5855]: This is normally a bug in some application using the D-Bus library. aug 23 10:42:37 asdf plasmashell[5855]: D-Bus not built with -rdynamic so unable to print a backtrace aug 23 10:42:38 asdf plasmashell[3169]: QSocketNotifier: Invalid socket 80 and type 'Read', disabling... aug 23 10:42:39 asdf plasmashell[3169]: Unable to start Dr. Konqi aug 23 10:42:39 asdf plasmashell[3169]: Re-raising signal for core dump handling. aug 23 10:42:40 asdf systemd[1675]: plasma-plasmashell.service: Main process exited, code=dumped, status=6/ABRT aug 23 10:42:40 asdf systemd[1675]: plasma-plasmashell.service: Failed with result 'core-dump'. aug 23 10:42:40 asdf systemd[1675]: plasma-plasmashell.service: Consumed 14.638s CPU time. aug 23 10:42:41 asdf systemd[1675]: plasma-plasmashell.service: Scheduled restart job, restart counter is at 2. aug 23 10:42:41 asdf systemd[1675]: Stopped plasma-plasmashell.service - KDE Plasma Workspace. aug 23 10:42:41 asdf systemd[1675]: plasma-plasmashell.service: Consumed 14.638s CPU time. ```
Author
Owner

@Ghoelian commented on GitHub (Aug 23, 2023):

If I manually set DBusActivatable to false in the desktop file, the app launches normally.

<!-- gh-comment-id:1689557879 --> @Ghoelian commented on GitHub (Aug 23, 2023): If I manually set DBusActivatable to false in the desktop file, the app launches normally.
Author
Owner

@LucasXu0 commented on GitHub (Aug 23, 2023):

Hi, @Ghoelian. How did you install it? by deb or zip file?

<!-- gh-comment-id:1689559990 --> @LucasXu0 commented on GitHub (Aug 23, 2023): Hi, @Ghoelian. How did you install it? by deb or zip file?
Author
Owner

@Ghoelian commented on GitHub (Aug 23, 2023):

@LucasXu0 I installed it using the deb file.

<!-- gh-comment-id:1689561783 --> @Ghoelian commented on GitHub (Aug 23, 2023): @LucasXu0 I installed it using the deb file.
Author
Owner

@LucasXu0 commented on GitHub (Aug 23, 2023):

I installed the deb file on my Ubuntu 22.04, and it's working fine. Therefore, I suspect there might be a system issue related to the D-Bus service.

the new desktop entry file

[Desktop Entry]
Type=Application
Name=AppFlowy
Icon=io.appflowy.AppFlowy
Exec=env GDK_GL=gles AppFlowy %U
Categories=Network;Productivity;
Keywords=Notes
DBusActivatable=true
Implements=io.appflowy.Appflowy;
<!-- gh-comment-id:1689574617 --> @LucasXu0 commented on GitHub (Aug 23, 2023): I installed the deb file on my Ubuntu 22.04, and it's working fine. Therefore, I suspect there might be a system issue related to the D-Bus service. the new desktop entry file ``` [Desktop Entry] Type=Application Name=AppFlowy Icon=io.appflowy.AppFlowy Exec=env GDK_GL=gles AppFlowy %U Categories=Network;Productivity; Keywords=Notes DBusActivatable=true Implements=io.appflowy.Appflowy; ```
Author
Owner

@Ghoelian commented on GitHub (Aug 23, 2023):

I can reproduce this issue on a fresh Kubuntu 22.04 install as well, so might have something to do with KDE Plasma in particular.

<!-- gh-comment-id:1689679067 --> @Ghoelian commented on GitHub (Aug 23, 2023): I can reproduce this issue on a fresh Kubuntu 22.04 install as well, so might have something to do with KDE Plasma in particular.
Author
Owner

@chrisdebian commented on GitHub (Apr 6, 2025):

@Ghoelian Do you know whether this problem still occurs with the current release?

<!-- gh-comment-id:2781473777 --> @chrisdebian commented on GitHub (Apr 6, 2025): @Ghoelian Do you know whether this problem still occurs with the current release?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#1434
No description provided.