From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Cc: Matt Zimmerman <mdz@debian.org>,
251378@bugs.debian.org, 251378-submitter@debian.org
Subject: Re: Bug#251378: zsh: segfaults when globing includes too many files
Date: Tue, 6 Jul 2004 15:22:23 -0400 [thread overview]
Message-ID: <20040706192223.GA378@scowler.net> (raw)
In-Reply-To: <20040706185926.GA14980@scowler.net>
> 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.
Also this. So h->next is getting corrupted somewhere?
--Fwd--
(gdb) list
348 #endif
349
350 /* find a heap with enough free space */
351
352 for (h = ((fheap && ARENA_SIZEOF(fheap) >= (size + fheap->used))
353 ? fheap : heaps);
354 h; h = h->next) {
355 if (ARENA_SIZEOF(h) >= (n = size + h->used)) {
356 void *ret;
357
(gdb) print fheap
$8 = 0x40343000
(gdb) print fheap->used
Cannot access memory at address 0x40343008
(gdb)
--Fwd--
next prev parent reply other threads:[~2004-07-06 19:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20040528125647.GA21000@scowler.net>
[not found] ` <20040528131425.GC2289@via.ecp.fr>
[not found] ` <20040528135026.GA21637@scowler.net>
[not found] ` <20040528135729.GD2289@via.ecp.fr>
[not found] ` <20040528141431.GA30024@scowler.net>
[not found] ` <20040528142505.GE2289@via.ecp.fr>
[not found] ` <20040528174021.GA5975@scowler.net>
[not found] ` <20040528190653.GA2661@via.ecp.fr>
[not found] ` <20040706181235.GA32727@scowler.net>
[not found] ` <20040706184752.GC1881@alcor.net>
2004-07-06 18:59 ` Clint Adams
2004-07-06 19:22 ` Clint Adams [this message]
2004-07-13 11:06 ` Peter Stephenson
2004-07-16 17:56 ` Clint Adams
2004-07-16 19:46 ` Clint Adams
2004-07-17 19:06 ` Peter Stephenson
2004-07-17 19:20 ` PATCH: " Peter Stephenson
2004-07-07 11:01 ` Peter Stephenson
2004-07-07 12:36 ` Clint Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040706192223.GA378@scowler.net \
--to=clint@zsh.org \
--cc=251378-submitter@debian.org \
--cc=251378@bugs.debian.org \
--cc=mdz@debian.org \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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 NNTP newsgroup(s).