[Github-comments] [geany/geany] Closing a project with a large number of files open causes Geany to terminate (#2809)

ctp52 notifications at xxxxx
Thu May 13 12:15:01 UTC 2021


Help->Debug Messages provides a list of files opened during startup, plus a few other notes. The last two entries were:
```
07:19:43: GLib DEBUG	: posix_spawn avoided (child_setup specified)
07:19:43: GLib DEBUG	: posix_spawn avoided (child_setup specified)
```
It seems the message content did not survive the crash and all that shows is from a restart of Geany.

My file count was 166, not counting Geany own-use files. All are text files (various languages) in UTF-8.
The total byte count for the complete project (281 files) is 2.857 megabytes and I have never had all of
them in an open Geany session. That byte count is from the scc program. I had checked memory usage
and at the time only 1.8 GB of 3.8 GB available was in use, so running out of memory is not likely to be
the source of the fault.

I have not yet used gdb to diagnose further because I don't know it and will need to take time for that.

I tried a variety of trial to start Geany, with existing open project, close project resulting in crash. I have
many projects and the failure has been evident in large file counts (120+). But I tried a small project
with 14 files and had a crash first time. I have not been able to repeat it, suggesting Geany might be
reading uninitialised memory.

It seems that taking some actions within Geany will clear the issue and it operates as expected. I
have not clearly identified a set of operations prior to failure.

I read \#267 and conclude that i need "Use project-based session files" activated for my normal use
case. I don't want to reload manually a long list of files within each project on each switch to it.

More to come later.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2809#issuecomment-840516545
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210513/d33326c1/attachment.htm>


More information about the Github-comments mailing list