From: Stephen T. <to...@au...> - 2007-02-26 16:11:47
|
On Mon, 2007-02-26 at 08:00 -0800, George Rhoten wrote: > You should consider using a heap debugging tool, like valgrind or Rational > Purify, to narrow the problem down. Those tools are quite useful. > > Also, I see a ucnv_close(), but no corresponding ucnv_open()? ucnv_close() > deallocates m_conv. Did you mean to use ucnv_reset()? > > George Rhoten > IBM Globalization Center of Competency/ICU San José, CA, USA > http://www.icu-project.org/ > http://icu.sourceforge.net/ I appreciate the feedback. This is a classic situation where one must publicly embarrass themselves to the whole wide world. The ucnv_close was indeed being called too soon. In fact I had the code in there while I was trying to figure out how to move from creating a UConverter each time I converted a string to having it live longer. What I failed to do was to remove the ucnv_close(). So the second time around it will do its job and give me a illegal instruction signal. Bah! Excuse me will I crawl under a rock for a while. ;) Stephen -- PhD. Student Auburn University Department of Computer Science and Software Engineering 107 Dunstan Hall Auburn, AL 36849-5347 U.S.A. (334) 844-4330 (O) to...@au... |