Alright, I get the crash also without the plugin (or any other plugin) and with the latest master. So it's not saveactions bug, but Geany bug.
@elextr Actually the patch you mention seems to cause the crash.
@frlan I either get the crash, or
``` (geany:18259): GLib-GObject-WARNING **: instance of invalid non-instantiatable type '<invalid>'
(geany:18259): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed ```
or
``` (geany:18302): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(geany:18302): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed ```
in the console.
@b4n Isn't it possible that sci->sci is already unreffed when the destructor is called? That would explain the errors and the crash.