Opera crashes on opening Settings
-
mentallymental last edited by
OS: Kubuntu 24.04
This is a relatively fresh installation of the OS (installed about a month ago), and Opera.
Initially there was no problem opening Settings. But since about 2 weeks I have been unable to open Settings. Opera instantly crashes upon trying to open Settings from anywhere (icon in sidebar or Alt+P or Menu > Settings). I have tried disabling all extensions and adblocker.Please help me find a workaround soon. I need to change some keyboard shortcuts asap. (The Ctrl+/ shortcut for Aria clashes with commenting out code for coding interviews).
Opera user since 2008
-
-
mentallymental last edited by mentallymental
Adding more information:
I tried launching opera from command-line and when it crashed on opening Settings, I saw this on the terminal -
$ opera [53330:53346:1023/180908.043838:ERROR:domains_info.cc(38)] Unknown category: consentmanagers [53330:53346:1023/180908.674447:ERROR:domains_info.cc(38)] Unknown category: consentmanagers [53330:53348:1023/180910.201409:ERROR:registration_request.cc(291)] Registration response error message: DEPRECATED_ENDPOINT [1023/180917.421982:ERROR:elf_dynamic_array_reader.h(64)] tag not found [1023/180917.422763:ERROR:elf_dynamic_array_reader.h(64)] tag not found [1023/180917.422857:ERROR:elf_dynamic_array_reader.h(64)] tag not found [1023/180917.423710:ERROR:elf_dynamic_array_reader.h(64)] tag not found [1023/180917.425004:ERROR:elf_dynamic_array_reader.h(64)] tag not found [1023/180917.428949:ERROR:elf_dynamic_array_reader.h(64)] tag not found [1023/180917.429111:ERROR:elf_dynamic_array_reader.h(64)] tag not found [1023/180917.429739:ERROR:elf_dynamic_array_reader.h(64)] tag not found [1023/180917.430043:ERROR:elf_dynamic_array_reader.h(64)] tag not found [54085:54085:1023/180917.588086:ERROR:process_singleton_posix.cc(226)] read() failed: Connection reset by peer (104) Illegal instruction (core dumped)
I also recalled that the last time I remember using Settings was to change some Keyboard Shortcuts. I think setting some new keyboard shortcut back then might have started this issue.
Opera user since 2008
-
sgunhouse Moderator Volunteer last edited by
@mentallymental If you're willing to try, you could start over. Rename your old setup directory (while Opera is closed), then when you next run Opera it'll recreate the directory and it'll be just like a new install. Presuming that doesn't crash, you can then close Opera and replace the newly-created Bookmarks (favorites), passwords (logins) and even cookies with the files from your old setup directory. Sessions ... you could try, but half of the "crash on startup" cases are related to sessions so I'd wait to try that until everything else is working.
-
mentallymental last edited by
@sgunhouse
Discarding the user profile directory and starting from scratch works. But I really do not want to redo all of my preferences again. It's already bad that Opera does not save all the settings.Opera user since 2008
-
mentallymental last edited by
@mentallymental
I think I have identified the exact bug.
I tried starting opera with a fresh new user profile directory (by usingopera --user-data-dir="/tmp/new-profile"
). Now the Settings worked. But I didn't want to lose all my previous preferences. So I compared the~/.config/opera/Default/Preferences
file with/tmp/new-profile/Preferences
file (in text editor). Found that the "KeyBindings" is an additional key in there which stores any customized keyboard shortcuts.The bug is that if I unassign keybindings for Exit, then it crashes Opera on opening Settings.
Example, if this is in your Preferences file, it will crash
{ "Keybindings": { "Basic": { "Exit": [], "ToggleAriaCommandLine": [ "Ctrl+Shift+7" ] }, "Settings": { "AdvancedEnabled": false } } }
Can the mods report this as a bug?
Opera user since 2008
-
burnout426 Volunteer last edited by
@mentallymental So, with the deb package of Opera, just goto the URL
opera://settings/keyboardShortcuts
, remove the default shortcut for "Exit" so that there are none for it, restart Opera and try going toopera://settings
? -
mentallymental last edited by mentallymental
@burnout426 I already resolved it by editing the Preferences file in text editor, thanks!
Opera user since 2008
-
burnout426 Volunteer last edited by
@mentallymental I was asking if I had the correct idea for reproduction steps so I can report it.
-
mentallymental last edited by
@burnout426 Oh, let me try that again and get back to you
Opera user since 2008