Skip to content

Persistent crash in FTL quick_actions Android tests #170141

Open
@stuartmorgan-g

Description

@stuartmorgan-g

The flutter/flutter -> flutter/packages roller is very behind due to persistent failures in quick_actions tests, and by binary searching the roller failures I've narrowed it down to:
8b18dde...8abf4e7

It's definitely not the README.md change, which leaves #169548 as the cause of the regression.

I don't have a lot of details about what's going wrong; it repros on FTL, but not our emulator tests (I guess those probably don't have Impeller support?) so may require a physical device to repro. Here's an example failure:
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8712810564588405377/+/u/Run_package_tests/Firebase_Test_Lab/stdout
with the details being at
https://firebase.corp.google.com/project/flutter-infra-staging/testlab/histories/bh.7ef00c6ad97f5668/matrices/7655350001675281711

The crash is:

Build fingerprint: 'google/panther/panther:13/TQ3A.230605.012/10204971:user/release-keys'
Revision: 'MP1.0'
ABI: 'arm64'
Timestamp: 2025-06-06 05:59:00.266390835-0700
Process uptime: 14s
Cmdline: io.flutter.plugins.quickactionsexample
pid: 22301, tid: 23317, name: 5.raster  >>> io.flutter.plugins.quickactionsexample <<<
uid: 10261
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000000
Cause: null pointer dereference
    x0  0000000000000000  x1  b40000725a5db5c8  x2  000000728a5be850  x3  0000007167b7ff08
    x4  00000000000000b0  x5  0000007167b800d0  x6  0000000000000000  x7  0000000000000000
    x8  0000007167b803e0  x9  0000000000002484  x10 00000000000000c0  x11 0000000000000012
    x12 0000000000001965  x13 0000007167b80cb0  x14 0000000000000001  x15 0000000000000000
    x16 0000000000000001  x17 00000074a10a2050  x18 000000715a910000  x19 b40000727a5ed7d0
    x20 b40000725a5db5d8  x21 b40000725a5db5d8  x22 0000007167b81000  x23 0000007167b80260
    x24 b4000072aa5f98a0  x25 b4000072aa5f97e8  x26 b4000072aa5fc088  x27 0000000000000000
    x28 00000000ffffffff  x29 0000007167b80b40
    lr  00000071758556a0  sp  0000007167b80130  pc  0000007175734e14  pst 0000000060001000
backtrace:
      #00 pc 0000000002011e14  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #01 pc 000000000213269c  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #02 pc 000000000211f7d4  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #03 pc 000000000211f720  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #04 pc 00000000021c5fec  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #05 pc 00000000021c5f60  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #06 pc 00000000021c5f14  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #07 pc 00000000021c5ed8  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #08 pc 000000000223abe0  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #09 pc 0000000001d3c278  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #10 pc 0000000001d3c1f4  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #11 pc 0000000001d3b6e8  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #12 pc 0000000001d41d6c  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #13 pc 00000000021c322c  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #14 pc 0000000001d680c0  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #15 pc 0000000001d6dbb8  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #16 pc 0000000000011178  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+808) (BuildId: 0b4a793fa8045c04066d988c68bac8bb)
      #17 pc 00000000000185e4  /system/lib64/libandroid.so (ALooper_pollOnce+100) (BuildId: 682dab490c18361d5d6527bcdd86cdfa)
      #18 pc 0000000001d6db40  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #19 pc 0000000001d6800c  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #20 pc 0000000001d6be84  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #21 pc 0000000001d6bd1c  /data/app/~~fWTBr9sLV22lvFsq3YFwIw==/io.flutter.plugins.quickactionsexample-0GOsWfUWd5lBOgNtRoebcQ==/lib/arm64/libflutter.so (BuildId: 251a17d7a01de9ac247d124025d8a467244fe69e)
      #22 pc 00000000000c226c  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: dc4001c2ef2dfc23467040797a96840c)
      #23 pc 0000000000054a30  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: dc4001c2ef2dfc23467040797a96840c)

but I'm not sure if there's a way to symbolicate that.

The failing test is appShortcutLaunchActivityAfterStarting, whose logic is here

I can disable the test for now to unblock the roller, but the fact that the change is reliably crashing a test app is concerning.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listc: crashStack traces logged to the consolec: fatal crashCrashes that terminate the processc: regressionIt was better in the past than it is nowe: impellerImpeller rendering backend issues and features requestsengineflutter/engine repository. See also e: labels.fyi-androidFor the attention of Android platform teamp: quick_actionsQuickActions pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions