Bug: SEGV on loading "graphical" plugins @ startup


Subject: Bug: SEGV on loading "graphical" plugins @ startup
From: Dom Lachowicz (doml@appligent.com)
Date: Wed Nov 07 2001 - 12:55:33 CST


Howto: put the GDict or AikSaurus plugin in ./AbiSuite/plugins

run abiword

Segv because of the new menu-handling code. Basically we're trying to
add a menu item into a non-existant menu (no frames yet). But we can't
delay plugin loading until we have a frame (importers/exporters might be
needed for --to, for example). Basically the labels vector in
ev_searchMenuLabel is null (i put an assert there for easy tracking).

Martin or anyone else - could you look into this for me please? We
probably just need to load the menus into memory at some earlier point
or do something intelligent with a callback/listener to have a specific
plugins fully initialize on a 'Frame Load' event.

Thanks,
Dom



This archive was generated by hypermail 2b25 : Wed Nov 07 2001 - 12:59:46 CST