<p>Well, I got into a loop on Linux by changing the permission of the current file to read-only ... once, but could not repeat it.  All other times the popup showed twice only, and when oked then went away until the next timeout.  <a href="https://github.com/kugel-" class="user-mention">@kugel-</a> could not make it fail at all. Maybe there is a race condition somewhere or some other condition is needed.</p>

<p>While it was hung I attached gdb which showed it was in mainloop poll with document_save up the backtrace, all as expected.  But it was too hard to try to trace when the mainloop returned.  </p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/issues/815#issuecomment-165742461">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ39TOAMVfMonmu4DeOB9LHjIjZU1ks5pQ9f4gaJpZM4G04_e.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/815#issuecomment-165742461"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>