Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#251378: zsh: segfaults when globing includes too many files
- X-seq: zsh-workers 20135
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#251378: zsh: segfaults when globing includes too many files
- Date: Tue, 6 Jul 2004 15:22:23 -0400
- Cc: Matt Zimmerman <mdz@xxxxxxxxxx>, 251378@xxxxxxxxxxxxxxx, 251378-submitter@xxxxxxxxxx
- In-reply-to: <20040706185926.GA14980@xxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20040528131425.GC2289@xxxxxxxxxx> <20040528135026.GA21637@xxxxxxxxxxx> <20040528135729.GD2289@xxxxxxxxxx> <20040528141431.GA30024@xxxxxxxxxxx> <20040528142505.GE2289@xxxxxxxxxx> <20040528174021.GA5975@xxxxxxxxxxx> <20040528190653.GA2661@xxxxxxxxxx> <20040706181235.GA32727@xxxxxxxxxxx> <20040706184752.GC1881@xxxxxxxxx> <20040706185926.GA14980@xxxxxxxxxxx>
> 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--
Messages sorted by:
Reverse Date,
Date,
Thread,
Author