Date: Wed, 7 Dec 2016 01:27:09 +0000 (UTC) From: jbeich@freebsd.org (Jan Beich) To: freebsd-questions@freebsd.org, shrikanthbaikunje@gmail.com Subject: Re: (malloc) Unsupported character in malloc options: 'o' Message-ID: <20161207012709.A652B654A@freefall.freebsd.org> In-Reply-To: <CAN-evKnCYT%2BLxZHqHDgyeqUoN%2BLMw6X7Jm5CbtiUxwqN3ar%2Bbw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Shrikanth B <shrikanthbaikunje@gmail.com> writes: > I am on FreeBSD 10.1. > When i run "ln -s 'abort:true' /etc/malloc.conf" as mentioned in > JEMALLOC(3) man page, i get flooded with following errors: > > (malloc) Unsupported character in malloc options: 'o' > > (malloc) Unsupported character in malloc options: 't' > > (malloc) Unsupported character in malloc options: ':' > > (malloc) Unsupported character in malloc options: 't' > > (malloc) Unsupported character in malloc options: 'e' > > Any solution for this? jemalloc 3.0 or later as part of libc in FreeBSD 10.0 or later is no longer compatible with phkmalloc syntax: MALLOC_OPTIONS vs. MALLOC_CONF. "(malloc)" prefix above indicates jemalloc, not phkmalloc. So, the error comes from linking against old libc e.g., from FreeBSD 9.3. If you can't rebuild the affected component against new libc try setting both environment variables instead of using /etc/malloc.conf. $ export MALLOC_OPTIONS=A MALLOC_CONF=abort:true $ /path/to/app
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161207012709.A652B654A>
