[linux-lvm] Trouble 2.2.14 setup - unresolved symbol lvm_map_ptr (My first time)
ak at suse.de
Sun Jan 30 20:57:42 UTC 2000
On Sun, Jan 30, 2000 at 08:44:56PM +0000, Michael Marxmeier wrote:
> > IMO there's no obvious reason, why it should core there with size == 8.
> > Do you have an old libc in place by accident which might give us a
> > reason to assume an broken malloc()?
> > If so: try with an actual one.
> > Any ideas from other list members?
> Conventional wisdom tells that when malloc crashes the free list
> (aka arena) has been trashed. This can happen eg. by a double free
> (some malloc versions check against this) or by writing beyond the
> end of a buffer.
> You might want to try the following:
> env MALLOC_CHECK_=1 vgcreate ...
Another way is to run it under Electric Fence. This has better
checking than MALLOC_CHECK_.
BTW, the function could be made shorter by using mmap on the file
instead of malloc+read.
More information about the linux-lvm