<p>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.</p>
<p><a href="https://github.com/elextr" class="user-mention">@elextr</a> Actually the patch you mention seems to cause the crash.</p>
<p><a href="https://github.com/frlan" class="user-mention">@frlan</a> I either get the crash, or</p>
<pre><code>(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
</code></pre>
<p>or</p>
<pre><code>(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
</code></pre>
<p>in the console.</p>
<p><a href="https://github.com/b4n" class="user-mention">@b4n</a> Isn't it possible that sci->sci is already unreffed when the destructor is called? That would explain the errors and the crash.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1410#issuecomment-282572835">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJw1WC7qMHN2pgmcfgtK6Zt8BpAgkks5rgbmegaJpZM4MMGil">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJzIG9E4l3px-kJL2yDOL9zSNaH5tks5rgbmegaJpZM4MMGil.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1410#issuecomment-282572835"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@techee in #1410: 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.\r\n\r\n@elextr Actually the patch you mention seems to cause the crash.\r\n\r\n@frlan I either get the crash, or\r\n\r\n```\r\n(geany:18259): GLib-GObject-WARNING **: instance of invalid non-instantiatable type '\u003cinvalid\u003e'\r\n\r\n(geany:18259): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed\r\n```\r\n\r\nor\r\n\r\n```\r\n(geany:18302): GLib-GObject-WARNING **: invalid (NULL) pointer instance\r\n\r\n(geany:18302): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed\r\n```\r\n\r\nin the console.\r\n\r\n@b4n Isn't it possible that sci-\u003esci is already unreffed when the destructor is called? That would explain the errors and the crash."}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1410#issuecomment-282572835"}}}</script>