Error: Invalid plugin function table

Adam Domurad adomurad at redhat.com
Fri Jun 29 13:42:51 PDT 2012


Hi again.

The change has been backported to 1.2, can you please pull and confirm
if chrome works ?

Thanks,
Adam

On Wed, 2012-06-27 at 11:27 -0400, Adam Domurad wrote:
> Hi Chamal.
> 
> This should be fixed in HEAD, can you try
> http://icedtea.classpath.org/hg/icedtea-web/ ?
> 
> I am working on a backport now. The issue was that evidently the size of
> NPPluginFuncs changed, and while we do not rely on the new content, we
> are failing for browsers that do not provide it. HEAD should check only
> for required content.
> 
> On Wed, 2012-06-27 at 20:14 +0600, Chamal De Silva wrote:
> > Hi,
> > 
> > 
> > I built icedtea web plugin from source today. I got code from this
> > repository.
> > hg clone http://icedtea.classpath.org/hg/release/icedtea-web-1.2/
> > 
> > 
> > Icedtea plugin built successfully.
> > But when i try to load a java applet through chrome I get this error
> > message.
> > 
> > 
> > /home/chamal/programs/icedtea/icedtea12plugin/src/icedtea-web-1.2/plugin/icedteanp/IcedTeaNPPlugin.cc:2062: thread 0x7faa688f9300: Error: Invalid plugin function table.
> > /home/chamal/programs/icedtea/icedtea12plugin/src/icedtea-web-1.2/plugin/icedteanp/IcedTeaNPPlugin.cc:2062: thread 0x7faa688f9300: Error: Invalid plugin function table.
> > 
> > 
> > I looked at the code of IcedTeaNPPlugin.cc and below mentioned check
> > fails.
> > 
> > 
> > if (pluginTable->size < sizeof (NPPluginFuncs))
> >     {
> >       PLUGIN_ERROR ("Invalid plugin function table.");
> > 
> > 
> >       return NPERR_INVALID_FUNCTABLE_ERROR;
> >     }
> > 
> > 
> > When I debug i get these sizes.
> > pluginTable->size = 160
> > sizeof (NPPluginFuncs) = 168
> > 
> > 
> > I am using ubuntu 12.04 64 bit version. Icedtea plugin which comes
> > with ubuntu works fine with chrome.
> > 
> > 
> > Please help me to correct this error.
> > 
> > 
> > Thanking you,
> > Chamal.
> > 
> > 
> > 
> > 
> 
> 





More information about the distro-pkg-dev mailing list