Hide Forgot
Description of problem: Not sure why but currently notejot segfaults in F35. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: $ io.github.lainsce.Notejot (io.github.lainsce.Notejot:6481): Gtk-CRITICAL **: 17:20:10.222: Error building template class 'NotejotMainWindow' for an instance of type 'NotejotMainWindow': .:0:0 Duplicate object ID 'placeholder' (previously on line 0) (io.github.lainsce.Notejot:6481): Gtk-CRITICAL **: 17:20:10.272: gtk_menu_button_set_popover: assertion 'GTK_IS_MENU_BUTTON (menu_button)' failed (io.github.lainsce.Notejot:6481): Gtk-CRITICAL **: 17:20:10.272: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed (io.github.lainsce.Notejot:6481): Gtk-CRITICAL **: 17:20:10.272: gtk_widget_get_style_context: assertion 'GTK_IS_WIDGET (widget)' failed (io.github.lainsce.Notejot:6481): Gtk-CRITICAL **: 17:20:10.272: gtk_style_context_add_class: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed (io.github.lainsce.Notejot:6481): GLib-GObject-WARNING **: 17:20:10.272: invalid (NULL) pointer instance (io.github.lainsce.Notejot:6481): GLib-GObject-CRITICAL **: 17:20:10.272: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (io.github.lainsce.Notejot:6481): Gtk-CRITICAL **: 17:20:10.272: gtk_menu_button_set_menu_model: assertion 'GTK_IS_MENU_BUTTON (menu_button)' failed (io.github.lainsce.Notejot:6481): Gtk-CRITICAL **: 17:20:10.272: gtk_list_box_set_filter_func: assertion 'GTK_IS_LIST_BOX (box)' failed (io.github.lainsce.Notejot:6481): Gtk-CRITICAL **: 17:20:10.272: gtk_list_box_set_filter_func: assertion 'GTK_IS_LIST_BOX (box)' failed (io.github.lainsce.Notejot:6481): GLib-GObject-WARNING **: 17:20:10.272: invalid (NULL) pointer instance (io.github.lainsce.Notejot:6481): GLib-GObject-CRITICAL **: 17:20:10.272: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (io.github.lainsce.Notejot:6481): Gtk-CRITICAL **: 17:20:10.272: gtk_widget_add_controller: assertion 'GTK_IS_WIDGET (widget)' failed (io.github.lainsce.Notejot:6481): Gtk-CRITICAL **: 17:20:10.272: gtk_list_box_bind_model: assertion 'GTK_IS_LIST_BOX (box)' failed (io.github.lainsce.Notejot:6481): Gtk-CRITICAL **: 17:20:10.272: gtk_list_box_bind_model: assertion 'GTK_IS_LIST_BOX (box)' failed Segmentation fault (core dumped) Actual results: Thread 1 "io.github.lains" received signal SIGSEGV, Segmentation fault. gtk_action_bar_set_center_widget (action_bar=0x0, center_widget=0x55555573ab90) at ../gtk/gtkactionbar.c:302 Downloading source file /usr/src/debug/gtk4-4.4.0-2.fc35.x86_64/redhat-linux-build/../gtk/gtkactionbar.c... 302 gtk_center_box_set_center_widget (GTK_CENTER_BOX (action_bar->center_box), center_widget); (gdb) bt #0 gtk_action_bar_set_center_widget (action_bar=0x0, center_widget=0x55555573ab90) at ../gtk/gtkactionbar.c:302 #1 0x000055555556cdcd in notejot_main_window_constructor () #2 0x00007ffff7da3c08 in g_object_new_with_custom_constructor (n_params=4, params=0x7fffffffd7b0, class=0x5555556acd00) at ../gobject/gobject.c:1863 #3 g_object_new_internal (class=class@entry=0x5555556acd00, params=params@entry=0x7fffffffd7b0, n_params=n_params@entry=4) at ../gobject/gobject.c:1943 #4 0x00007ffff7da5228 in g_object_new_valist (object_type=93824993503344, first_property_name=<optimized out>, var_args=var_args@entry=0x7fffffffda80) at ../gobject/gobject.c:2288 #5 0x00007ffff7da575d in g_object_new (object_type=<optimized out>, first_property_name=<optimized out>) at ../gobject/gobject.c:1788 #6 0x000055555556234a in notejot_main_window_construct () #7 0x00005555555637d0 in notejot_application_real_activate () #8 0x00007ffff7db29ea in _g_closure_invoke_va (param_types=0x0, n_params=<optimized out>, args=0x7fffffffdd50, instance=0x5555555bf120, return_value=0x0, closure=0x5555555a53d0) at ../gobject/gclosure.c:893 #9 g_signal_emit_valist (instance=0x5555555bf120, signal_id=<optimized out>, detail=0, var_args=var_args@entry=0x7fffffffdd50) at ../gobject/gsignal.c:3406 #10 0x00007ffff7db2b33 in g_signal_emit (instance=instance@entry=0x5555555bf120, signal_id=<optimized out>, detail=detail@entry=0) at ../gobject/gsignal.c:3553 #11 0x00007ffff7eb7e93 in g_application_activate (application=application@entry=0x5555555bf120) at ../gio/gapplication.c:2308 #12 0x00007ffff7ebb048 in g_application_real_local_command_line (application=0x5555555bf120, arguments=0x7fffffffde98, exit_status=0x7fffffffde94) at ../gio/gapplication.c:1144 #13 0x00007ffff7ebb226 in g_application_run (application=0x5555555bf120, argc=-8556, argv=<optimized out>) at ../gio/gapplication.c:2538 #14 0x00005555555609d5 in main () Expected results: no crash Additional info: It worked fine for me some weeks ago.
I managed to reproduce the issue too in a toolbox container based in Fedora 35. I posted a fix upstream https://github.com/lainsce/notejot/pull/285
Thanks for the report! And thanks even more for finding the root cause, which saved me quite a bit of time. This upstream is *very* (five releases in about a month), so I expect they’ll respond to your PR shortly. If they haven’t cut a new release with your fix by the end of the F35 beta freeze, I’ll apply it downstream.
> This upstream is *very* (five releases in about a month)… I meant to say that this upstream is very active.
FEDORA-2021-832700cd64 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2021-832700cd64
FEDORA-2021-832700cd64 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-f2213db090 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-f2213db090
FEDORA-2021-f2213db090 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-2021-f2213db090` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-f2213db090 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-0f31720f4d 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-2021-0f31720f4d` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-0f31720f4d See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-0f31720f4d has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.