jendrikseipp / rednotebook

RedNotebook is a cross-platform journal
https://rednotebook.app
GNU General Public License v2.0
477 stars 109 forks source link

Segmentation fault On Ubuntu 23.04 Wayland #720

Closed richwein3 closed 11 months ago

richwein3 commented 11 months ago

Describe the bug

The problem is related to which desktop environment I am logged in with.

  1. Runs: With the Ubuntu 23.04 desktop environment "Ubuntu on Xorg" rednotebook runs well
  2. Core dumped: With the default DE 'Ubuntu' (Wayland) I see : Segmentation fault (core dumped)

When run in a terminal with python3 I get this log:

`python3 rednotebook/journal.py INFO Using GtkSourceView 4 Adding /usr/share/rednotebook to sys.path INFO Available versions of the WebKit2 namespace: ['4.0', '4.1']

(journal.py:30103): Gtk-WARNING **: 09:53:52.904: Theme parsing error: gtk.css:1649:16: '-gtk-icon-size' is not a valid property name

(journal.py:30103): Gtk-WARNING **: 09:53:52.904: Theme parsing error: gtk.css:1652:16: '-gtk-icon-size' is not a valid property name INFO Loaded version of the WebKit2 namespace: 4.1 INFO Locale path: /usr/share/locale 2023-08-16 09:53:52,950 INFO Writing log to file "/home/rich/.rednotebook/rednotebook.log" 2023-08-16 09:53:52,950 INFO System encoding: utf-8 2023-08-16 09:53:52,950 INFO Language code: en_US 2023-08-16 09:53:52,966 INFO Spell checking languages: ['en', 'en_AU', 'en_CA', 'en_GB', 'en_US'] 2023-08-16 09:53:52,966 INFO Spell checking dictionaries: [('en', ), ('en_AU', ), ('en_CA', ), ('en_GB', ), ('en_US', )] 2023-08-16 09:53:53,024 INFO Using LibYAML 2023-08-16 09:53:53,025 INFO Connected Signals: [<Signals.SIGHUP: 1>, <Signals.SIGINT: 2>, <Signals.SIGQUIT: 3>, <Signals.SIGABRT: 6>, <Signals.SIGTERM: 15>, <Signals.SIGTSTP: 20>] 2023-08-16 09:53:53,027 INFO Running in portable mode: False 2023-08-16 09:53:53,027 INFO First Start: False 2023-08-16 09:53:53,027 INFO RedNotebook version: 2.30 2023-08-16 09:53:53,028 INFO System info: machine: x86_64, platform: Linux-6.2.0-27-generic-x86_64-with-glibc2.37, processor: x86_64, python_version: 3.11.4, release: 6.2.0-27-generic, system: Linux, GTK: (3, 24, 37), Glib: (2, 76, 0), PyGObject: (3, 44, 1), YAML: 6.0, WebKit2: (2, 40, 5) 2023-08-16 09:53:53,206 DEBUG Default font: Noto Sans 10 2023-08-16 09:53:53,206 DEBUG Default size: 10.0 Segmentation fault (core dumped)`

rednotebook version = 2.30

jendrikseipp commented 11 months ago

Thanks for the report! Do you know how to extract useful information from the core dump?

kathenas commented 11 months ago

I cannot reproduce this issue on Ubuntu 23.04 with all current updates.

Is yours the 'normal' install from ISO media?

Anything different in your general setup?

richwein3 commented 11 months ago

I upgraded from 22.04 to 23.10 then right away to 23.04. I have a work around, so not a problem for me. I'll post if I find something. It is certainly possible that something is messed up on my system that doesn't affect others.

Thanks for looking.