[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-distro-pkg-dev
Subject:    Error: Invalid plugin function table
From:       adomurad () redhat ! com (Adam Domurad)
Date:       2012-06-29 20:42:51
Message-ID: 1341002571.30315.0.camel () voip-10-15-18-79 ! yyz ! redhat ! com
[Download RAW message or body]

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.
> > 
> > 
> > 
> > 
> 
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic