build8s% pstack core
core 'core' of 21330: ./tst_toutf8
7f7b244c memcmp (1, 118a8, fffeff9c, 21af0, 2e2f7473, 7f82b508) +
c0
00011654 main (0, 0, ffbffb28, 21af4, 21908, ffbffb28) + 164
00010ae4 _start (0, ffbffb2c, 7fbec800, 0, 1, 7fbec000) + 108
build8s% truss -u\* -f ./tst_toutf8
21925: execve("tst_toutf8", 0xFFBFFD1C, 0xFFBFFD24) argc = 1
21925: getuid() = 10000
[10000]
...
21925: <- libidn:stringprep_locale_charset() = 0xff02b508
21925: -> libidn:stringprep_locale_to_utf8(0x11708, 0xfffef84c,
0xff1f0800, 0x10400)
21925: -> libc:getenv(0xff1e004c, 0x0, 0x0, 0x0)
21925: <- libc:getenv() = 0
21925: -> libc:nl_langinfo(0x31, 0xff03c000, 0x0, 0xffbffd58)
21925: -> libc:__nl_langinfo_std(0xff041f40, 0x31, 0x0,
0xffbffd58)
21925: <- libc:nl_langinfo() = 0xff02b508
21925: -> libidn:stringprep_convert(0x11708, 0xff1e005c,
0xff02b508, 0xff1f0800)
21925: -> libiconv:libiconv_open(0xff1e005c, 0xff02b508, 0x0,
0x0)
21925: -> libc:strcmp(0xffbffb62, 0xff168146, 0xa3, 0x68c)
21925: <- libc:strcmp() = 0
21925: <- libiconv:libiconv_open() = -1
21925: <- libidn:stringprep_locale_to_utf8() = 0
21925: -> libc:memcmp(0x0, 0x1170c, 0x4, 0x0)
21925: Incurred fault #6, FLTBOUNDS %pc = 0xFEFB244C
21925: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
21925: Received signal #11, SIGSEGV [default]
21925: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
21925: *** process killed ***