Bug 2044442 - The gpaste ui crashes on launch
Summary: The gpaste ui crashes on launch
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gpaste
Version: 35
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Mohamed El Morabity
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-24 15:55 UTC by klaussemmler
Modified: 2022-02-27 04:08 UTC (History)
1 user (show)

Fixed In Version: gpaste-3.42.5-1.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-27 04:08:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
gpaste launch crash message. (5.96 KB, image/png)
2022-01-24 15:55 UTC, klaussemmler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github Keruspe GPaste issues 341 0 None open gpaste-ui segfaults when save-history is disabled and ~/.local/share/GPaste is missing 2022-02-06 18:45:09 UTC

Description klaussemmler 2022-01-24 15:55:17 UTC
Created attachment 1853104 [details]
gpaste launch crash message.

Description of problem:

The gpaste-ui application crashes on launch. When launching from terminal it just indicates a crash and nothing more. When launched from gnome shell, it just does not open.

Version-Release number of selected component (if applicable):

3.42.2

How reproducible:

This crash is reproducible on every try to launch the gpaste-ui application.

Steps to Reproduce:

Gnome Shell

1. Open Gnome Shell Overview and search for gpaste.
2. Click on the gpaste entry.

Terminal

1. Run /usr/libexec/gpaste/gpaste-ui

Actual results:

The gpaste-ui application crashes.

Expected results:

The gpaste ui application should launch.

Additional info:

The error messages when launched with the terminal command is added as an attachment.

Comment 1 Mohamed El Morabity 2022-02-02 17:00:07 UTC
Hello,

could you run the following command (as your usual user), and paste their results here?

1. > LANG=C /usr/libexec/gpaste/gpaste-ui

   (to have the error message in English, even if I suppose it should be a segmentation fault).

2. > ls -l ~/.local/share/

Comment 2 klaussemmler 2022-02-03 18:34:10 UTC
Hello,

here are the answers to all points:

1.: LANG=C /usr/libexec/gpaste/gpaste-ui does not change the language of the message. It is still "Speicherzugriffsfehler (Speicherabzug geschrieben)". But you are right, it is just the german translation for segmentation fault. So sadly nothing more than an segmentation fault message.

2.: 

total 624
drwx------. 1 someusername someusername    964  3. Feb 13:01 applications
drwxr-xr-x. 1 someusername someusername      0 19. Sep 22:54 apps
drwxr-xr-x. 1 someusername someusername     28 27. Jun 2021  arcmenu
drwxr-xr-x. 1 someusername someusername    158 27. Aug 22:15 backgrounds
drwxr-xr-x. 1 someusername someusername     36 21. Apr 2021  contacts
drwx------. 1 someusername someusername     24  2. Okt 16:50 containers
drwxr-xr-x. 1 someusername someusername     16 13. Jan 2021  dbus-1
drwxr-xr-x. 1 someusername someusername     80 19. Sep 22:45 desktop-directories
drwxrwxr-x. 1 someusername someusername     40 19. Nov 20:41 emoji-picker
drwx------. 1 someusername someusername     94 13. Jan 2021  evolution
drwx------. 1 someusername someusername    114  8. Aug 11:44 flatpak
drwxr-xr-x. 1 someusername someusername     34 13. Jan 2021  folks
drwxr-xr-x. 1 someusername someusername     10  6. Aug 20:02 fonts
drwxr-xr-x. 1 someusername someusername     36 24. Apr 2021  gedit
drwx------. 1 someusername someusername     16 13. Jan 2021  gegl-0.4
drwxr-xr-x. 1 someusername someusername     46 13. Jan 2021  gnome-settings-daemon
drwx------. 1 someusername someusername    162  3. Feb 19:25 gnome-shell
drwxr-xr-x. 1 someusername someusername    104 10. Jan 00:06 grilo-plugins
-rw-r--r--. 1 someusername someusername    542 13. Jan 2021  gsettings-data-convert
drwxr-xr-x. 1 someusername someusername     14 22. Feb 2021  gstreamer-1.0
drwx------. 1 someusername someusername   1686  3. Feb 18:36 gvfs-metadata
drwxr-xr-x. 1 someusername someusername     26 31. Jan 2021  gwenview
drwxrwxr-x. 1 someusername someusername    394  3. Feb 13:02 ibus-typing-booster
drwxr-xr-x. 1 someusername someusername   1394 11. Nov 14:29 icc
drwxr-xr-x. 1 someusername someusername     14 12. Okt 20:56 icons
drwxrwxr-x. 1 someusername someusername      0 16. Jan 01:39 inxi
drwx------. 1 someusername someusername     80  2. Okt 21:21 JetBrains
drwxr-xr-x. 1 someusername someusername     68  2. Feb 15:13 kate
drwxr-xr-x. 1 someusername someusername     14  4. Aug 2021  kcookiejar
drwxr-xr-x. 1 someusername someusername     52  3. Feb 13:01 keyrings
drwxr-xr-x. 1 someusername someusername     62  4. Aug 2021  kget
drwxr-xr-x. 1 someusername someusername      0  2. Aug 2021  konsole
drwxr-xr-x. 1 someusername someusername     54  3. Mär 2021  kpeoplevcard
drwxr-xr-x. 1 someusername someusername     24 22. Feb 2021  kxmlgui5
drwxr-xr-x. 1 someusername someusername     48 21. Apr 2021  local-mail
drwxr-xr-x. 1 someusername someusername    222 10. Jan 00:00 lollypop
drwx------. 1 someusername someusername    228 19. Sep 22:50 mime
drwxr-xr-x. 1 someusername someusername     76 13. Jan 2021  nautilus
drwxr-xr-x. 1 someusername someusername     20 13. Jan 2021  nautilus-python
drwxr-xr-x. 1 someusername someusername     20 13. Jan 2021  nemo-python
drwxr-x---. 1 someusername someusername      8 13. Jan 2021  openrazer
drwxr-xr-x. 1 someusername someusername    268  8. Mai 2021  org.gnome.SoundRecorder
drwxr-xr-x. 1 someusername someusername     12  9. Dez 19:10 org.kde.syntax-highlighting
drwxr-xr-x. 1 someusername someusername     20 14. Jan 2021  phishingurl
drwx------. 1 someusername someusername     40 22. Mai 2021  pixmaps
drwxr-----. 1 someusername someusername     10 13. Jan 2021  pki
drwxr-xr-x. 1 someusername someusername    552  2. Feb 15:13 RecentDocuments
-rw-------. 1 someusername someusername 616282  3. Feb 19:25 recently-used.xbel
drwx------. 1 someusername someusername     84 10. Jan 00:10 rhythmbox
drwx------. 1 someusername someusername     16 20. Apr 2021  sounds
drwx------. 1 someusername someusername   1130 27. Jan 10:20 Steam
drwxr-xr-x. 1 someusername someusername     20  9. Jan 23:51 strawberry
drwxr-xr-x. 1 someusername someusername    162  2. Sep 21:05 Terraria
drwxr-xr-x. 1 someusername someusername      8 13. Jan 2021  tracker
drwx------. 1 someusername someusername     34 13. Jan 2021  Trash
-rw-r--r--. 1 someusername someusername   5991  3. Mär 2021  user-places.xbel
-rw-r--r--. 1 someusername someusername   5702  3. Mär 2021  user-places.xbel.bak
-rw-r--r--. 1 someusername someusername      0  3. Mär 2021  user-places.xbel.tbcache
drwxr-xr-x. 1 someusername someusername     32 13. Jan 2021  vulkan
drwx------. 1 someusername someusername    142 13. Jan 2021  webkitgtk
drwxr-xr-x. 1 someusername someusername     96  8. Jan 17:58 xorg

Comment 3 Mohamed El Morabity 2022-02-06 18:45:09 UTC
Probably related to this upstream issue: https://github.com/Keruspe/GPaste/issues/341

A workaround would be to create the missing ~/.local/share/gpaste directory:
> mkdir -p ~/.local/share/gpaste

Could you try and then relaunch gpaste-ui?

Comment 4 klaussemmler 2022-02-07 21:16:34 UTC
I have created the folder ~/local/share/gpaste and set gsettings set org.gnome.GPaste save-history true and now it works. I also needed to restart the gpaste daemon for it to work. Thank you for the tip!

Comment 5 Fedora Update System 2022-02-18 10:17:24 UTC
FEDORA-2022-6fb021d858 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-6fb021d858

Comment 6 Fedora Update System 2022-02-19 01:58:51 UTC
FEDORA-2022-6fb021d858 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-6fb021d858`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-6fb021d858

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2022-02-27 04:08:11 UTC
FEDORA-2022-6fb021d858 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.