Skip to content

Flutter dashboard freezes: BindingError: Cannot pass "[object Object]" as a SkPaint* #54901

@jmagman

Description

@jmagman

When I sit on https://flutter-dashboard.appspot.com/#/build and ~2-3 commits come in at the same time, the dashboard starts animating, then eventually freezes and the console starts spewing exceptions.

Exception in console:

BindingError: Cannot pass "[object Object]" as a SkPaint*
    at BindingError.<anonymous> (https://unpkg.com/[email protected]/bin/canvaskit.js:123:76)
    at new BindingError (eval at Jb (https://unpkg.com/[email protected]/bin/canvaskit.js:1:1), <anonymous>:4:34)
    at K (https://unpkg.com/[email protected]/bin/canvaskit.js:125:249)
    at rc.mc [as toWireType] (https://unpkg.com/[email protected]/bin/canvaskit.js:134:90)
    at SkPaint$setAntiAlias [as setAntiAlias] (eval at yc (https://unpkg.com/[email protected]/bin/canvaskit.js:1:1), <anonymous>:7:28)
    at dx.a0 (https://flutter-dashboard.appspot.com/main.dart.js:27038:50)
    at aB.aT (https://flutter-dashboard.appspot.com/main.dart.js:18435:3)
    at yF.Vq (https://flutter-dashboard.appspot.com/main.dart.js:29192:7)
    at yF.VV (https://flutter-dashboard.appspot.com/main.dart.js:29179:5)
    at yF.D (https://flutter-dashboard.appspot.com/main.dart.js:29165:36)"

Crashing SkPaint$setAntiAlias is line var thisWired = classParam.toWireType(null, this);

(function anonymous(throwBindingError,invoker,fn,runDestructors,retType,classParam,argType0
) {
return function SkPaint$setAntiAlias(arg0) {
if (arguments.length !== 1) {
throwBindingError('function SkPaint.setAntiAlias called with ' + arguments.length + ' arguments, expected 1 args!');
}
var thisWired = classParam.toWireType(null, this);
var arg0Wired = argType0.toWireType(null, arg0); // bool
invoker(fn, thisWired, arg0Wired);
}
})

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressionc: crashStack traces logged to the consolee: web_canvaskitCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Webplatform-webWeb applications specificallyteam-infraOwned by Infrastructure team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions