[webkit-dev] NPAPI plugin crashes while calling npnfuncs->invoke in GtkLauncher

Sergio Villar Senin svillar at igalia.com
Thu Mar 15 08:49:32 PDT 2012


En 15/03/12 08:13, souvik.datta at wipro.com escribiu:
> Hi,
> 
> I am trying to load my NPAPI plugin in GtkLauncher ( built from source
> version-1.6.1  under Ubuntu 10.10). The plugin is used to communicate
> with a native shared library.  Although I am able to load the plugin (
> Got NP_Initialize and NP_GetEntryPoints calls on the console ) and make
> successful calls to my native shared library from Java Scripts (through
> my plugin), but when I am trying to call a java script function "from"
> my plugin using :
> 
>     err = npnfuncs->invoke(npp_, console, id, args_temp,
>              sizeof(args_temp) / sizeof(args_temp[0]),
>              &voidResponse);
> 
> I am observing a segmentation fault. This is always happenning.

Can you get a trace?

BR



More information about the webkit-dev mailing list