plugin-container.exe crashes
hi!
The problem information: Computer operating system is Windows 7, and it is 32 bits. Firefox browser version is the latest.
I want use the plugin to import certificate into firefox. The interface of import certificate is extracted from NSS, and I test it ok. Then i use firebreath to make a plugin and add the interface. When i use the plugin in firefox browser it will crashe at function SEC_PKCS12DecoderUpdate. I debug it, the debug information is plugin-container.exe has triggered a breakpoint. And pop-up a Runtime Error window: Program: C:\program files\mozilla firefox\plugin-container.exe this application has requested the runtime to terminate it in an unusual way. please contact the application's support team for more information.
But when I use the plugin in IE, it can be work.
hope someone can help me! thanks!
Asịsa ahọpụtara
"Then i use firebreath to make a plugin and add the interface. "
So, you made that plugin yourself?
If that is the case, there isn't much that we can do for you. This forum is for user support of various Mozilla products, not for developer support.
"But when I use the plugin in IE, it can be work."
A plugin made for IE won't work in Firefox, which uses NPAPI. IE has its own plugin architecture.
See the Mozilla Developer Network for developer articles.
https://developer.mozilla.org/en-US/Add-ons/Plugins
All Replies (3)
刚刚看了一下,可能是插件中使用的nss3.dll与firefox中的nss3.dll冲突。
怎么获取firefox的nss库?
Asịsa Ahọpụtara
"Then i use firebreath to make a plugin and add the interface. "
So, you made that plugin yourself?
If that is the case, there isn't much that we can do for you. This forum is for user support of various Mozilla products, not for developer support.
"But when I use the plugin in IE, it can be work."
A plugin made for IE won't work in Firefox, which uses NPAPI. IE has its own plugin architecture.
See the Mozilla Developer Network for developer articles.
https://developer.mozilla.org/en-US/Add-ons/Plugins
thanks for your help!
问题已解决: 原因是火狐下的nss3.dll和插件中使用的nss3.dll冲突了。 解决办法: 把插件中使用的nss库nss3.dll和nss3.lib更名。 更名需要注意的是,要修改库内部的关联信息,既把所有nss3改为nss1,当然可以取别的名,不过名的长度必须要和nss3一样,否则库会被损坏。记得重新编译插件!