elementary / shortcut-overlay

A native, OS-wide shortcut overlay

Home Page:https://elementary.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

io.elementary.shortcut-overlay GLib-CRITICAL segfault

silverdr opened this issue · comments

At some point the overlay stopped showing up. Unfortunately I can't tell the exact moment. So I tried to run it manually, and:

$ io.elementary.shortcut-overlay 

** (io.elementary.shortcut-overlay:84383): CRITICAL **: 14:30:26.088: gee_abstract_collection_get_size: assertion 'self != NULL' failed

** (io.elementary.shortcut-overlay:84383): CRITICAL **: 14:30:26.088: gee_abstract_collection_add: assertion 'self != NULL' failed

(io.elementary.shortcut-overlay:84383): GLib-CRITICAL **: 14:30:26.089: g_strsplit: assertion 'string != NULL' failed
Segmentation fault

I get the segfault as above. System is the latest elementary with all updates installed. Here's the content of my sources.d directory if that helps:

$ ll /etc/apt/sources.list.d/
total 36
drwxr-xr-x 2 root root 4096 Oct  1 17:19 ./
drwxr-xr-x 7 root root 4096 Oct  1 13:30 ../
-rw-r--r-- 1 root root  141 Sep 29 15:32 brave-browser-release.list
-rw-r--r-- 1 root root  143 Aug 31 21:00 elementary.list
-rw-r--r-- 1 root root   39 Sep 29 19:38 enpass.list
-rw-r--r-- 1 root root   63 Oct  1 13:32 erlang-solutions.list
-rw-r--r-- 1 root root  202 Oct  1 00:36 nodesource.list
-rw-r--r-- 1 root root  151 Aug 31 21:00 patches.list
-rw-r--r-- 1 root root  138 Oct  1 17:19 vscodium.list

Hi! Thank you for your reporting.

Have you customized some shortcut keys? I'm using elementary OS with the latest update and no shortcut key modifications and can't confirm your issue yet.

Hello and thank you for your response - yes, I have customised some. Please let me know where I should pull the config (file?) from and I'll add it to the report.

If you open System Settings and go to Keyboard→Shortcuts, you can see a list of shortcut keys. Then you can take a screenshot for each category there and attach them here.

I see - I hoped I could either provide the config file or dump the configuration from whatever data store it uses. Anyway - here come the screenshots.
Screenshot from 2021-10-20 20-06-12
Screenshot from 2021-10-20 20-06-21
Screenshot from 2021-10-20 20-06-25
Screenshot from 2021-10-20 20-06-29
Screenshot from 2021-10-20 20-06-43
Screenshot from 2021-10-20 20-06-46
Screenshot from 2021-10-20 20-06-49
Screenshot from 2021-10-20 20-06-52

Thanks for your screenshots! As I try setting your custom shortcut keys, I found disabling "Cycle workspace" shortcut key will cause this issue. I'll investigate the code.

I submitted a fix for this issue.