Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#251378: zsh: segfaults when globing includes too many files



> > when globbing in /usr/share/doc.  The source shown below includes 19920.
> 
> So this happens with both 4.2.0 and the latest, and therefore isn't
> (directly) related to the mmap reorganisation of heap allocation?

No, 19920 is the heap allocation patch.  I don't know if this happens
without it.

> Is it possible a memory allocator is returning 0?  It could be another
> case where the shell is trying to allocate way too much memory, not
> getting it, and not handling the failure gracefully.

Guys, are you using a non-default overcommit_memory setting on Linux?



Messages sorted by: Reverse Date, Date, Thread, Author