[webkit-help] NPAPI plugin crashes while calling npnfuncs->invoke in GtkLauncher
souvik.datta at wipro.com
souvik.datta at wipro.com
Thu Mar 15 04:31:32 PDT 2012
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 happening.
Note : I have found the plug-in to work fine with Firefox.
Can some one please throw some light on this and tell me if I am missing something here?
Do I have to build the NPAPI plug-in using some webkit specific primitive?
Thanks and Regards,
Souvik
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120315/3f0fcd32/attachment-0001.html>
More information about the webkit-help
mailing list