[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cause for segment error of chunk_alloc?
From: |
Andreas Schwab |
Subject: |
Re: cause for segment error of chunk_alloc? |
Date: |
Mon, 05 Jan 2004 11:37:24 +0100 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) |
aihua_park <address@hidden> writes:
> So I want to ask how many causes to "Segmentation fault" of "chunk_alloc()"???
It can be anything, but most likey either writing beyond the bounds of an
object, or writing to a block of memory that has already been freed. Try
valgrind, or run the program with the env var MALLOC_CHECK_ set to
non-zero.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."