Newsgroups: comp.unix.solaris
From: Seongbae Park <Seongbae.P...@Sun.COM>
Date: Fri, 30 Jul 2004 15:17:43 +0000 (UTC)
Local: Fri, Jul 30 2004 11:17 am
Subject: Re: dbx SIGSEGV on Solaris 9 w/ libmalloc.so.1
Mike Morgan <mmor...@lucent.com> wrote: No, it's not your fault. > Could anyone tell me if this happens on their systems? > When I export LD_PRELOAD=libmalloc.so.1 on Solaris 9 and run dbx, it > truss reports: > dbx version: > This problem does not appear on Solaris 7 with dbx version: > However dbx appears to run fine with any other malloc replacement > Just want to make sure it's not some configuration issue on my end. > thanks, This is yet another manifestation of the bug 4846556. libmalloc doesn't have valloc() and memalign(), so any program that uses those to allocate a memory will get SEGV when it frees the memory because valloc() and memalign() are libc's version but free() is from libmalloc. The cpu performance counters library libcpc is used by dbx and collector and calls one of those two, making dbx and collector fail with libmalloc. Anyway, unless you want to do something about dbx itself, $ dbx ...your program... This makes sure dbx itself does not preload the library Seongbae You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||