<p></p>
<p>Thanks for providing the detail of Geany and the system, but next time you can just copy from the top of "Help->Debug messages" to get it all in one go.</p>
<p>Certainly opening and closing projects with large numbers of files works for other people.</p>
<p>First thought from segfault is running out of memory, you don't say how big your files are, but in-memory files use about 2.5-3 times their size to accommodate highlighting and symbols and editing space.  And at save it takes a copy from the buffer to make it contiguous, and if encoding to non-UTF-8 makes another copy which is then written.  Whilst these copies are freed that doesn't mean the memory system will re-use them, that depends on their sizes.  So memory use is likely to grow during saving many files.</p>
<p>Since it doesn't happen to anyone else, can you run Geany under gdb and when it fails get a backtrace <code>bt</code> and paste here, note you may need to press return several times to get all of it.</p>
<p>The apparent leaving files open (actually they are closed and opened again) happens when the user session file list matches the project session file list.  See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="33223372" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/267" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/267/hovercard" href="https://github.com/geany/geany/issues/267">#267</a>.</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/2809#issuecomment-840171570">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ52BS3I7ONSXADFVWLTNMGWDANCNFSM44ZECK3Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJYFPLXBTKCUSF5LWCTTNMGWDA5CNFSM44ZECK32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGIKAAMQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2809#issuecomment-840171570",
"url": "https://github.com/geany/geany/issues/2809#issuecomment-840171570",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>