-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#37073Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work liste: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.
Description
Running on M1 Macbook.
autoninja -C ../out/host_debug_unopt/ -j 1000 flutter/impeller:impeller_unittests && ../out/host_debug_unopt/impeller_unittests --timeout=0 --gtest_filter="Play/RendererTest.CanCreateCPUBackedTexture/Metal"
Play/RendererTest.CanCreateCPUBackedTexture/Metal crashes:
-[MTLDebugBuffer newTextureWithDescriptor:offset:bytesPerRow:]:271: failed assertion `New Texture With Descriptor Validation
resourceOptions (0x10) must match backing buffer resource options (0x0).
[ERROR:flutter/fml/backtrace.cc(108)] Caught signal SIGABRT during program execution.
Frame 0: 0x7ff819f58d24 abort
Frame 1: 0x7ff819f580cb err
Frame 2: 0x7ff822eff8a4 MTLGetEnvCase<>()
Frame 3: 0x7ff822ee9c05 MTLReportFailure
Frame 4: 0x7ff822ee2378 _MTLMessageContextEnd
Frame 5: 0x7ff81a80323c -[MTLDebugBuffer newTextureWithDescriptor:offset:bytesPerRow:]
Frame 6: 0x137e241cb GTMTLGuestAppClient_initGlobalTransportWithHostURL
Frame 7: 0x10a820dcb impeller::DeviceBufferMTL::AsTexture()
Frame 8: 0x104be4793 impeller::testing::RendererTest_CanCreateCPUBackedTexture_Test::TestBody()
Frame 9: 0x10b49e0fc testing::internal::HandleSehExceptionsInMethodIfSupported<>()
Frame 10: 0x10b449640 testing::internal::HandleExceptionsInMethodIfSupported<>()
Frame 11: 0x10b4491a6 testing::Test::Run()
Frame 12: 0x10b44b26f testing::TestInfo::Run()
Frame 13: 0x10b44def7 testing::TestSuite::Run()
Frame 14: 0x10b46a18e testing::internal::UnitTestImpl::RunAllTests()
Frame 15: 0x10b4aae0c testing::internal::HandleSehExceptionsInMethodIfSupported<>()
Frame 16: 0x10b4694bd testing::internal::HandleExceptionsInMethodIfSupported<>()
Frame 17: 0x10b469041 testing::UnitTest::Run()
Frame 18: 0x105eb5943 RUN_ALL_TESTS()
Frame 19: 0x105eb5500 main
Frame 20: 0x21897152e start
Frame 21: 0x21896c000 dyld
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work liste: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.