Re: Setedit crashes: backtrace
Brought to you by:
set
From: Salvador E. T. <sal...@in...> - 2004-12-10 14:25:08
|
Salvador Eduardo Tropea wrote: > The traceback from X seems to show what's the problem: > > #0 0x40073b67 in TStringCollectionCIntl::freeItem () from > /usr/lib/librhtv.so.2.0.3 > I found my error. In this function I assumed that even when no i18n support was enabled I'll be allocating the structure to hold the translation. But it isn't this way, I'm saving some memory and not allocating it ;-) Attached is the patch to fix this problem. You can apply it running: $ patch -p0 < no-intl-fix.patch From the tvision directory. So we finally found the bug :-) As I always compile with i18n support this bug could have some friends ;-) I searched for similar situations but looks like that's the only code using TVIntl::emptySt() (the one that changes its behavior by not allocating the object). Regards, SET -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: se...@co... se...@ie... Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013 |