[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [E-devel] Re: Entropy layout
This is most odd - the 'entropy_event_action_file' should be resolved as
part of the dlopen process - it belongs to the linked component doing
the 'dlopen'/'dlsym' calls.
What environment are you compiling/running under?
The code as-is seems to work in all cases i've seen so far - and that's
a large number of different machines.
Will be most interested to hear your response.
On Sun, 2006-05-21 at 12:33 +0200, Thomas Jeunet wrote:
> Thank you for the CVS commmit, it helped finding the problem :
> Loading '/usr/share/entropy/plugins//etk_structure_viewer.so'...
> Loading '/usr/share/entropy/plugins//etk_iconbox.so'...
> Could not open plugin object
> /usr/share/entropy/plugins//etk_iconbox.so - Corrupt file? abort
> Loading '/usr/share/entropy/plugins//layout_etk_simple.so'...
> Loading '/usr/share/entropy/plugins//layout_ewl_simple.so'...
> Loading '/usr/share/entropy/plugins//ewl_local_icon.so'...
> Loading '/usr/share/entropy/plugins//etk_list.so'...
> Going to next plugin.../usr/share/entropy/plugins//etk_structure_viewer.so
> Sorry, but you haven't loaded a layout plugin. Please configure one.
> So the etk_iconbox plugin pushes a NULL in the 'plugin init' queue as you said.
> Then I tried to test this plugin with a quick coded source, and I get :
> Error during dlopen(): /usr/share/entropy/plugins/etk_iconbox.so:
> undefined symbol: entropy_event_action_file
> I ran : for i in /usr/share/entropy/plugins/*.so;do readelf -s $i |
> grep entropy_event_action_file && echo $i;done;
> 20: 00000000 0 NOTYPE GLOBAL DEFAULT UND entropy_event_action_file
> 13: 00000000 0 NOTYPE GLOBAL DEFAULT UND entropy_event_action_file
> 25: 00000000 0 NOTYPE GLOBAL DEFAULT UND entropy_event_action_file
> 21: 00000000 0 NOTYPE GLOBAL DEFAULT UND entropy_event_action_file
> Is there any 'entropy_event_action_file' symbol missing in a plugin?
> Thanks for your help, regards
> On 5/21/06, Alexander Taylor <email@example.com> wrote:
> > Hi,
> > This is most curious, but I have found your cause.
> > Somehow, a 'NULL' entry is being placed in the 'plugin init' queue.
> > This NULL reference is returned from the function
> > 'create_plugin_object'.
> > The only way for this function to return a null is the following:
> > 1. dlopen could not open your plugin file. The file might have become
> > corrupted somehow.
> > 2. dlopen works (and opens the plugin), but dlsym could not find the
> > INIT function inside the plugin object. Cause similar to (1).
> > Either way, I have added two more debug statements to the source to
> > track which case here applies to you. Please update from CVS, and run
> > it again, and append the output here - it should get you a bit further.
> > Either way, recompiling/reinstalling may fix your problem - this problem
> > can only occur (as far as I can see) - with a corrupt installation.
> > Cheers,
> > Alex.
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> enlightenment-devel mailing list