git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [bug] Stashes lost after out-of-memory situation
@ 2020-10-23 14:53 Marek Mrva
  2020-10-24 17:06 ` René Scharfe
  0 siblings, 1 reply; 4+ messages in thread
From: Marek Mrva @ 2020-10-23 14:53 UTC (permalink / raw)
  To: git

Hello, hopefully this is the correct mailing list - apologies if it is not.

After issuing "git stash pop" while being low on memory, the following 
was printed to the console:

       0 [main] git 2061 fhandler_disk_file::fixup_mmap_after_fork: 
requested 0x6FFFC1550000 != 0x0 mem alloc base 0x0, state 0x10000,
size 17545957736448, Win32 error 1455
   36836 [main] git 2061 C:\cygwin64\bin\git.exe: *** fatal error in 
forked process - recreate_mmaps_after_fork_failed
   37523 [main] git 2061 cygwin_exception::open_stackdumpfile: Dumping 
stack trace to git.exe.stackdump
       0 [main] git 2056 dofork: child -1 - forked process 12100 died 
unexpectedly, retry 0, exit code 0x100, errno 11
error: cannot fork() for status: Resource temporarily unavailable
Dropped refs/stash@{0} (06d44ccc5ed2ac93b370100f481147ae4f0065db)
error: cannot fork() for rev-parse: Resource temporarily unavailable

Afterwards, the result of "git stash list" is empty, even though there 
used to be more than 10+ stashes saved.

Obviously while being low on memory, one should not expect commands to 
run properly. Losing all the *other* stashes could hopefully be somehow 
avoided, if possible. It is worth mentioning this happened in a cygwin 
environment on Windows.

Any help would be greatly appreciated! :)


With best regards,
Marek Mrva


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-25 15:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-23 14:53 [bug] Stashes lost after out-of-memory situation Marek Mrva
2020-10-24 17:06 ` René Scharfe
2020-10-25 12:27   ` Thomas Braun
2020-10-25 15:42     ` René Scharfe

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).