Fixed :-)
CVS: ---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: src/af/ev/xp/ev_Menu.cpp CVS: src/af/xap/unix/gnome/xap_UnixGnomeFrame.cpp CVS: src/af/xap/xp/xap_Menu_Layouts.h src/wp/ap/unix/ap_UnixApp.cpp CVS: src/wp/ap/xp/ap_Menu_Layouts.cpp CVS: ---------------------------------------------------------------------- Fix crash on non english locales loading plugins On Wed, 5 Dec 2001, [iso-8859-1] Andrew Dunbar wrote: > DEBUG: CreateMenuLabelSet: szLanguage_ es-ES, > szLanguage es-ES > DEBUG: DOM: found 6 plugins in > /free/cuenca//AbiSuite/plugins/ > DEBUG: DOM: loading plugin > /free/cuenca//AbiSuite/plugins/libGdictAbiPlugin.so > DEBUG: JCA: EV_Menu_LabelSet::addLabel > > **** (1) Assert **** > **** (1) pLabel->getMenuId() == size_table + m_first > at ev_Menu_Labels.cpp:166 **** > **** (1) Continue ? (y/n) [y] : > DEBUG: JCA: EV_Menu_ActionSet::addAction > DEBUG: pAction->getMenuId() = [0], size_table = [196], > m_first = [0] > DEBUG: WARNING: Weird menu id. > DEBUG: DOM: loaded plugin: libGdictAbiPlugin.so > DEBUG: DOM: loading plugin > /free/cuenca//AbiSuite/plugins/libBZ2Abw.so > DEBUG: DOM: loaded plugin: libBZ2Abw.so > DEBUG: DOM: loading plugin > /free/cuenca//AbiSuite/plugins/libAbiWikipedia.so > **** (2) Assert **** > **** (2) pLabel->getMenuId() == size_table + m_first > at ev_Menu_Labels.cpp:166 **** > **** (2) Continue ? (y/n) [y] : > DEBUG: JCA: EV_Menu_ActionSet::addAction > DEBUG: pAction->getMenuId() = [0], size_table = [197], > m_first = [0] > DEBUG: WARNING: Weird menu id. > DEBUG: DOM: loaded plugin: libAbiWikipedia.so > DEBUG: DOM: loading plugin > /free/cuenca//AbiSuite/plugins/libAbiURLDict.so > DEBUG: JCA: EV_Menu_LabelSet::addLabel > > **** (3) Assert **** > **** (3) pLabel->getMenuId() == size_table + m_first > at ev_Menu_Labels.cpp:166 **** > **** (3) Continue ? (y/n) [y] : > DEBUG: JCA: EV_Menu_ActionSet::addAction > DEBUG: pAction->getMenuId() = [0], size_table = [198], > m_first = [0] > DEBUG: WARNING: Weird menu id. > DEBUG: DOM: loaded plugin: libAbiURLDict.so > DEBUG: DOM: loading plugin > /free/cuenca//AbiSuite/plugins/libAbiBabelfish.so > DEBUG: JCA: EV_Menu_LabelSet::addLabel > > **** (4) Assert **** > **** (4) pLabel->getMenuId() == size_table + m_first > at ev_Menu_Labels.cpp:166 **** > **** (4) Continue ? (y/n) [y] : > DEBUG: JCA: EV_Menu_ActionSet::addAction > DEBUG: pAction->getMenuId() = [0], size_table = [199], > m_first = [0] > DEBUG: WARNING: Weird menu id. > DEBUG: DOM: loaded plugin: libAbiBabelfish.so > DEBUG: DOM: loading plugin > /free/cuenca//AbiSuite/plugins/AikSaurusABI.bundle > DEBUG: JCA: EV_Menu_LabelSet::addLabel > > **** (5) Assert **** > **** (5) pLabel->getMenuId() == size_table + m_first > at ev_Menu_Labels.cpp:166 **** > **** (5) Continue ? (y/n) [y] : > DEBUG: JCA: EV_Menu_ActionSet::addAction > DEBUG: pAction->getMenuId() = [0], size_table = [200], > m_first = [0] > DEBUG: WARNING: Weird menu id. > DEBUG: FJF: Setting bundle path... > DEBUG: FJF: loaded bundle: AikSaurusABI.bundle > DEBUG: DOM: found -1 plugins in > /homes/cuenca/.AbiSuite/plugins/ > DEBUG: AP_UnixFrame::initializeDEBUG: > CreateMenuLabelSet: szLanguage_ es-ES, szLanguage > es-ES > DEBUG: EV_UnixMenu::synthesizeMenu > DEBUG: JCA: EV_Menu_LabelSet::addLabel > **** (6) Assert **** > **** (6) pAction && (pAction->getMenuId() == id) at > ev_Menu_Actions.cpp:166 **** > **** (6) Continue ? (y/n) [y] : > > **** (7) Assert **** > **** (7) pAction && (pAction->getMenuId() == id) at > ev_Menu_Actions.cpp:166 **** > **** (7) Continue ? (y/n) [y] : > > **** (8) Assert **** > **** (8) pAction && (pAction->getMenuId() == id) at > ev_Menu_Actions.cpp:166 **** > **** (8) Continue ? (y/n) [y] : > > **** (9) Assert **** > **** (9) pAction && (pAction->getMenuId() == id) at > ev_Menu_Actions.cpp:166 **** > **** (9) Continue ? (y/n) [y] : > > **** (10) Assert **** > **** (10) pAction && (pAction->getMenuId() == id) at > ev_Menu_Actions.cpp:166 **** > **** (10) Continue ? (y/n) [y] : > > **** (11) Assert **** > **** (11) pAction && (pAction->getMenuId() == id) at > ev_Menu_Actions.cpp:166 **** > **** (11) Continue ? (y/n) [y] : > > **** (12) Assert **** > **** (12) pAction && (pAction->getMenuId() == id) at > ev_Menu_Actions.cpp:166 **** > **** (12) Continue ? (y/n) [y] : > > **** (13) Assert **** > **** (13) pAction && (pAction->getMenuId() == id) at > ev_Menu_Actions.cpp:166 **** > **** (13) Continue ? (y/n) [y] : > > **** (14) Assert **** > **** (14) pAction && (pAction->getMenuId() == id) at > ev_Menu_Actions.cpp:166 **** > **** (14) Continue ? (y/n) [y] : > **** (15) Assert **** > **** (15) pAction && (pAction->getMenuId() == id) at > ev_Menu_Actions.cpp:166 **** > **** (15) Continue ? (y/n) [y] : > > **** (16) Assert **** > **** (16) pAction && (pAction->getMenuId() == id) at > ev_Menu_Actions.cpp:166 **** > **** (16) Continue ? (y/n) [y] : > > **** (17) Assert **** > **** (17) pAction && (pAction->getMenuId() == id) at > ev_Menu_Actions.cpp:166 **** > **** (17) Continue ? (y/n) [y] : > > **** (18) Assert **** > **** (18) pAction && (pAction->getMenuId() == id) at > ev_Menu_Actions.cpp:166 **** > **** (18) Continue ? (y/n) [y] : > > **** (19) Assert **** > **** (19) pAction && (pAction->getMenuId() == id) at > ev_Menu_Actions.cpp:166 **** > **** (19) Continue ? (y/n) [y] : > > **** (20) Assert **** > **** (20) pAction && (pAction->getMenuId() == id) at > ev_Menu_Actions.cpp:166 **** > **** (20) Continue ? (y/n) [y] : > > **** (21) Assert **** > **** (21) pAction at ev_UnixMenu.cpp:420 **** > **** (21) Continue ? (y/n) [y] : > DEBUG: Oh no - we just segfaulted! > DEBUG: Segfault during filesave - no file saved > bin/abiword: line 68: 19210 Aborted > (core dumped) $ABISUITE_LIBEXEC/AbiWord_d "$@" > > All seems to work well when I set LANG back to en_US. > > Andrew Dunbar. > > > > ===== > http://linguaphile.sourceforge.net > > ________________________________________________________________ > Nokia 5510 looks weird sounds great. > Go to http://uk.promotions.yahoo.com/nokia/ discover and win it! > The competition ends 16 th of December 2001. > >
