Custom plugin crashes repeatedly when closing tabs
Hello, Our company has a custom plugin which we install onto firefox in order to connect to its API. lately a customer complained that our plugin is crashing repeatedly. all i have to go on is this crash report for now: https://crash-stats.mozilla.com/report/index/ff38c405-4289-4b72-a82d-fd67a2141208#rawdump
can anyone help with this?
Усі відповіді (6)
here is the crash report from a different machine where the problem occured: https://crash-stats.mozilla.com/report/index/3c01b32b-ce4b-473c-bd58-958842141209
The first crash reported seems to be crashing in visual studio. If you are using this to create a website, try a new profile to see it has to do with the interaction with your plugins. Profile Manager - Create, remove or switch Firefox profiles though if they are needed, this might not work. Disable the plugin [plugin PageHook Version:6.0.0.0 Filename:nppagehook.dll ] as this was reported as the culprit of the crash.
A bug has just been filed for this the second crash and will need further investigation. However it does look like it is crashing in the plugin operation. It is it possible, can you please try to disable you plugins to see if it crashes again.
Since this also happens when closing tabs and the first crash is hanging please see these steps to prevent hangs: Firefox hangs or is not responding - How to fix
Thank you very much. i have a second question about this issue. for some reason when our plugin crashes i dont see a crash report in the About:crashes screen or in the crash reports folder in the mozilla directory on the appdata.
how can i enable the crash reporting for this plugin? any online document that can help us with that?
Thanks.
You can try to create a log file for plugins by starting Firefox with a .cmd file with some environment variables set.
SET NSPR_LOG_MODULES=Plugin:5,PluginNPP:5,PluginNPN:5 SET NSPR_LOG_FILE=c:\temp\pluginLog.txt START "" "C:\Program Files\Firefox.exe" -P
will try that, thank you. do you know what the reason might be that some plugins are not sending a crash report when they crash?
here are two more crash reports that we managed to get: https://crash-stats.mozilla.com/report/index/4f94af72-015c-456e-90ff-f00352141216 https://crash-stats.mozilla.com/report/index/6e537de0-4e69-46e5-aa05-3b54e2141216