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

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



Clint Adams wrote:
> I can't reproduce this yet, but some people are experiencing segfaults
> when globbing in /usr/share/doc.  The source shown below includes 19920.
> This also happens with HEAD, I think.

So this happens with both 4.2.0 and the latest, and therefore isn't
(directly) related to the mmap reorganisation of heap allocation?

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.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



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