Closed huangcheng closed 8 years ago
Thank you for the troubleshooting you've done! What should I do to reproduce the crash issue? I want to test it my self.
Well, I have many accounts added into my Thunderbird, and have GNotifier and Inverse SOGo Connector installed, when there are many notifications generated for example when the network is borken, Thunderbird would report can not connect to email servers, the bug will occur.
On 2016-04-27 14:10, Mkiol wrote:
Thank you for the troubleshooting you've done! What should I do to reproduce the crash issue? I want to test it my self.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/mkiol/GNotifier/pull/105#issuecomment-214980518
What is the Gnotifier version that caused FF to crash?
I'm curious because in 43850c1bb3d3d57c52483dc9b636d97701b6bc3f I did a fix for SOGo Connector. There is additional check in main.js. If imageUrl is NULL, it will be replaced with the empty string.
if (imageUrl === null) {
GNotifier_AlertsService_showAlertNotification_cb("");
return;
}
This version of GNotifier is the one I'm in use and seems to be the newest in AMO.
Thanks for the fix.
Hi, I found a null pointer dereference bug that causes thunderbird to crash, here is the code I digested from WinDbg
According to ToastNotification+0x1100 L10, I finally targeted to the function
wich called by
Well, the original message is
As you can see, this message does not have an icon, which means the first parameter 'aImage' is set to null but the function does not check this, so the whole application crashes.
The fellowing is the capture of the message after I added some parameter checks.