The testcase provided in attachement leaks memory in _XlcInitCTInfo with ja locale but not with C locale (tested on Solaris 8 and 9). % setenv LANG ja % locale LANG=ja LC_CTYPE="ja" LC_NUMERIC="ja" LC_TIME="ja" LC_COLLATE="ja" LC_MONETARY="ja" LC_MESSAGES="ja" LC_ALL= % dbx ./test_uil Reading test_uil Reading ld.so.1 Reading libMrm.so.4 Reading libXm.so.4 Reading libXt.so.4 Reading libX11.so.4 Reading libXext.so.0 Reading libnsl.so.1 Reading libsocket.so.1 Reading libgen.so.1 Reading libpthread.so.1 Reading libCrun.so.1 Reading libm.so.1 Reading libw.so.1 Reading libthread.so.1 Reading libc.so.1 Reading libSM.so.6 Reading libICE.so.6 Reading libdl.so.1 Reading libmp.so.2 Reading libc_psr.so.1 dbx> check -leaks leaks checking - ON dbx> run Running: test_uil (process id 23679) Reading rtcapihook.so Reading rtcaudit.so Reading libmapmalloc.so.1 Reading rtcboot.so Reading librtc.so RTC: Enabling Error Checking... RTC: Running program... Reading ja.so.2 Reading methods_ja.so.2 Reading xlibi18n_ja.so.2 Reading xomLTRTTB.so.2 Warning: Missing charsets in String to FontSet conversion Reading liblayout.so Warning: Missing charsets in String to FontSet conversion Reading ximp40.so.2 Checking for memory leaks... Actual leaks report (actual leaks: 32 total size: 896 bytes) Total Num of Leaked Allocation call stack Size Blocks Block Address ========== ====== =========== ======================================= 576 16 - _XlcCreateDefaultCharSet < _XlcAddCT < _XlcInitCTInfo 320 16 - _XlcCreateDefaultCharSet < _XlcAddCT < _XlcInitCTInfo Possible leaks report (possible leaks: 0 total size: 0 bytes) execution completed, exit code is 0 xxxxx@xxxxx.com 2005-2-08 16:55:59 GMT
N/A
Terms of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site Map | HelpYour use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.Copyright © 1995-2009 Sun Microsystems, Inc.