Skip to content

[flutter_tools] ShaderCompilerException with exit code -1073740791 #107590

@christopherfujino

Description

@christopherfujino

Two affected clients, 8 total reports, all with the same exit code on beta/3.1.0-9.0.pre

NOTE If you are experiencing this crash, please comment with the full logs from flutter run --verbose, as that would help debugging!

with command: flutter run -d chrome

ShaderCompilerException: ShaderCompilerException: Shader compilation of "C:\Users\USERNAME\flutter\packages\flutter\lib\src\material\shaders\ink_sparkle.frag" to "build\flutter_assets\shaders/ink_sparkle.frag" failed with exit code -1073740791.
at ShaderCompiler.compileShader(shader_compiler.dart:81)
at <asynchronous gap>(async)
at writeBundle.<anonymous closure>(bundle_builder.dart:175)
at <asynchronous gap>(async)
at Future.wait.<anonymous closure>(future.dart:522)
at <asynchronous gap>(async)
at writeBundle(bundle_builder.dart:161)
at <asynchronous gap>(async)
at WebDevFS.update(devfs_web.dart:842)
at <asynchronous gap>(async)
at ResidentWebRunner._updateDevFS(resident_web_runner.dart:491)
at <asynchronous gap>(async)
at ResidentWebRunner.run.<anonymous closure>(resident_web_runner.dart:286)
at <asynchronous gap>(async)
at asyncGuard.<anonymous closure>(async_guard.dart:111)
at <asynchronous gap>(async)

From the stacktrace, this is happening at https://github.com/flutter/flutter/blame/b005a34790add6032dedaadf5842be37b8ae38c6/packages/flutter_tools/lib/src/build_system/targets/shader_compiler.dart#L77

    final List<String> cmd = <String>[
      impellerc.path,
      // TODO(zanderso): When impeller is enabled, the correct flags for the
      // target backend will need to be passed.
      // https://github.com/flutter/flutter/issues/102853
      '--flutter-spirv',
      '--spirv=$outputPath',
      '--input=${input.path}',
      '--input-type=frag',
    ];

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work liste: impellerImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.r: fixedIssue is closed as already fixed in a newer versiontoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions