First time I ever see this kind of error:
Error: Spider Monkey Panel v1.2.2-preview+0db3c6a4 (test by davideleo)
Font failed:
WinAPI error: CreateFont failed with error (0x0): The operation completed successfully.
The code which generates the error is as simple as this: this.font = gdi.Font("Segoe UI", 12);
The crash occurs only once every two times.
Any clue?
P.S.
As a test, I replaced the error generating line with the following: this.font = window.GetFontCUI(0);
The script still crashes once every two times, but for a different reason:
Error: Spider Monkey Panel v1.2.2-preview+0db3c6a4 (test by davideleo)
FillSolidRect failed:
GdiPlus error: FillRectangle failed with error (0x2): InvalidParameter
Once again, the error-generatng line is as innocent as it can get: gr.FillSolidRect(this.x, this.y, this.width, this.height, colours.LightGray);