From: Ian B. <br...@ca...> - 2003-12-19 19:53:32
|
On Fri, 19 Dec 2003 08:10:02 -0400 Ian Britten <br...@ca...> wrote: > On Thu, 18 Dec 2003 14:39:28 -0800 > Eric Mader <ma...@jt...> wrote: > > > Someone else on the list might have a better idea of what's going on, > > but the next thing I'd try after verifying that everything got built OK > > (and maybe after trying "make clean" just to be sure) would be to build > > a debug build and step into ICU to see what it's doing. > > Ya, that's probably going to be my next attempt... Ok, it looks like it is either a memory problem within ICU, or else a compiler/optimizer bug. If I build a debug version of ICU, it builds/checks/installs/runs fine [ Although I don't have Purify, so I can't verify everything is correct ] If I build an optimized version of ICU, it builds/installs ok, but my program crashes when it is used (See original message). Note though that when I do a 'make check' of the optimized build of ICU, it crashes as follows: % gmake check [ snip ] /tsutil/cloctst/ ---[OK] ---/tsutil/cloctst/TestObsoleteNames ---[OK] ---/tsutil/cloctst/TestBasicGetters ---[OK] ---/tsutil/cloctst/TestNullDefault ---[OK] ---/tsutil/cloctst/TestPrefixes ---[OK] ---/tsutil/cloctst/TestSimpleResourceInfo ---[OK] ---/tsutil/cloctst/TestDisplayNames Number of locales returned = 236 ---[OK] ---/tsutil/cloctst/TestGetAvailableLocales ---[OK] ---/tsutil/cloctst/TestDataDirectory ---[OK] ---/tsutil/cloctst/TestISOFunctions ---[OK] ---/tsutil/cloctst/TestISO3Fallback ---[OK] ---/tsutil/cloctst/TestUninstalledISO3Names ---[OK] ---/tsutil/cloctst/TestSimpleDisplayNames ---[OK] ---/tsutil/cloctst/TestVariantParsing gmake[2]: *** [check-local] Segmentation Fault (core dumped) Note that I had been using an optimized version of ICU 2.4 on this box with this compiler, without any problems... [ Although, I don't recall whether I did a 'make check' with 2.4, nor whether it succeeded or not... ] Ian |