On Fri, Feb 12, 2010 at 11:57:55AM +0100, Vincent Torri wrote:
> On Fri, Feb 12, 2010 at 11:29 AM, <[email protected]> wrote:
> > >
> > >I have a program that fails on realloc. dbx reports:
> > >
> > >t...@1 (l...@1) signal SEGV (no mapping at the fault address) in t_splay at
> > >0xd078b710
> > >0xd078b710: t_splay+0x007e:    movl     %ebx,0x00000008(%eax)
> > >Current function is _eina_strbuf_resize
> > >  521      buffer = realloc(buf->buf, new_size);
> >
> >
> > Typically this indicates "memory corruption", specifically inside the
> > heap.
> >
> > Use a debugging memory allocator such as watchmalloc, libumem, etc.
> >
> >
> what is the package name for watchmalloc ?

SUNWcsl

This is the Core Solaris, (Shared Libs) so it should be installed.  See
man watchmalloc for more info.  I've got a blog entry about using
watchmalloc and libumem that may be of help:
http://blogs.sun.com/wfiveash/entry/playing_with_solaris_memory_debuggers

-- 
Will Fiveash
Sun Microsystems Inc.
http://opensolaris.org/os/project/kerberos/
Sent from mutt, a sweet text MUA
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to