<p>Discovered when working on the gvfs-fuse-less patches.</p>
<p>Steps to reproduce:</p>
<ol>
<li>Enable the saveactions plugin and enable "instant save".</li>
<li>Create new document (File->New).</li>
<li>Close the tab with the document.</li>
</ol>
<p>The corresponding backtrace is</p>
<pre><code>Thread 1 "geany" received signal SIGSEGV, Segmentation fault.
0x00007ffff58ecd8d in g_type_check_instance () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
(gdb) bt
#0  0x00007ffff58ecd8d in g_type_check_instance ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#1  0x00007ffff58e1514 in g_signal_handlers_disconnect_matched ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#2  0x00007ffff79e547c in ScintillaGTKAccessible::~ScintillaGTKAccessible (this=0x1ea0cf0, 
    __in_chrg=<optimized out>) at gtk/ScintillaGTKAccessible.cxx:165
#3  0x00007ffff79e54ea in scintilla_object_accessible_finalize (object=0x387b030)
    at gtk/ScintillaGTKAccessible.cxx:1180
#4  0x00007ffff58ccd9a in g_object_unref () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007ffff662ab04 in atk_focus_tracker_notify ()
   from /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0
#6  0x00007ffff00a43e7 in ?? () from /usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libgail.so
#7  0x00007ffff6a64d57 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#8  0x00007ffff53ed04a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ffff53ed3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff53ed712 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff6e2c6a7 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007ffff79a1527 in main_lib (argc=1, argv=0x7fffffffde98) at libmain.c:1233
#13 0x00007ffff7367830 in __libc_start_main (main=0x4005a0 <main>, argc=1, argv=0x7fffffffde98, 
    init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, 
    stack_end=0x7fffffffde88) at ../csu/libc-start.c:291
#14 0x00000000004005d9 in _start ()
</code></pre>

<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">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ1kCKaxKm_YlFNnKOuXQXPhqDIaFks5rgHoBgaJpZM4MMGil">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ5WNXv4288wUzGnkyYPk1CxgnukWks5rgHoBgaJpZM4MMGil.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"></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":"DESCRIPTION","message":"Saveactions \"instant save\" crash (#1410)"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1410"}}}</script>