Skip to content

fast_scroll_large_images__memory flakes, NoSuchMethodError: The method 'group' was called on null, SIGABRT #74085

Open

Description

@jmagman

Process has died:

1-01-07T20:04:59.156869: "/usr/local/share/android-sdk/platform-tools/adb" exit code: 0
2021-01-07T20:04:59.222259: adb logcat: --------- beginning of crash
2021-01-07T20:04:59.222521: adb logcat: 01-07 20:00:07.933  9582  9600 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 9600 (1.io)
2021-01-07T20:04:59.308213: adb logcat: 01-07 20:00:08.019  9630  9630 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2021-01-07T20:04:59.308570: adb logcat: 01-07 20:00:08.020  9630  9630 F DEBUG   : Build fingerprint: 'motorola/athene/athene:7.0/NPJS25.93-14-18/3:user/release-keys'
2021-01-07T20:04:59.308730: adb logcat: 01-07 20:00:08.020  9630  9630 F DEBUG   : Revision: 'p2a0'
adb logcat: 01-07 20:00:08.020  9630  9630 F DEBUG   : ABI: 'arm'
2021-01-07T20:04:59.309315: adb logcat: 01-07 20:00:08.020  9630  9630 F DEBUG   : pid: 9582, tid: 9600, name: 1.io  >>> com.example.macrobenchmarks <<<
2021-01-07T20:04:59.309470: adb logcat: 01-07 20:00:08.020  9630  9630 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
2021-01-07T20:04:59.309810: adb logcat: 01-07 20:00:08.020  9630  9630 F DEBUG   :     r0 00000000  r1 00002580  r2 00000006  r3 00000008
2021-01-07T20:04:59.309989: adb logcat: 01-07 20:00:08.020  9630  9630 F DEBUG   :     r4 9372d978  r5 00000006  r6 9372d920  r7 0000010c
adb logcat: 01-07 20:00:08.020  9630  9630 F DEBUG   :     r8 9372d698  r9 a2460b80  sl f47dba43  fp 00000000
adb logcat: 01-07 20:00:08.020  9630  9630 F DEBUG   :     ip 00000002  sp 9372d4e8  lr abf313e7  pc abf33c44  cpsr 20010010
2021-01-07T20:04:59.319527: adb logcat: 01-07 20:00:08.028  9630  9630 F DEBUG   : 
2021-01-07T20:04:59.319666: adb logcat: 01-07 20:00:08.028  9630  9630 F DEBUG   : backtrace:
2021-01-07T20:04:59.319753: adb logcat: 01-07 20:00:08.028  9630  9630 F DEBUG   :     #00 pc 00049c44  /system/lib/libc.so (tgkill+12)
2021-01-07T20:04:59.319859: adb logcat: 01-07 20:00:08.028  9630  9630 F DEBUG   :     #01 pc 000473e3  /system/lib/libc.so (pthread_kill+34)
adb logcat: 01-07 20:00:08.028  9630  9630 F DEBUG   :     #02 pc 0001d535  /system/lib/libc.so (raise+10)
adb logcat: 01-07 20:00:08.028  9630  9630 F DEBUG   :     #03 pc 00019081  /system/lib/libc.so (__libc_android_abort+34)
adb logcat: 01-07 20:00:08.028  9630  9630 F DEBUG   :     #04 pc 000170e4  /system/lib/libc.so (abort+4)
adb logcat: 01-07 20:00:08.028  9630  9630 F DEBUG   :     #05 pc 002b48f3  /data/app/com.example.macrobenchmarks-1/lib/arm/libflutter.so (offset 0x139000)
2021-01-07T20:05:00.379378: adb logcat: 01-07 20:00:09.089  1524  9632 W ActivityManager:   Force finishing activity com.example.macrobenchmarks/.MainActivity
2021-01-07T20:05:00.396678: adb logcat: 01-07 20:00:09.104  1524  1552 W ActivityManager: Failed setting process group of 9582 to 1
2021-01-07T20:05:00.412932: adb logcat: 01-07 20:00:09.122  1524  4562 E ActivityManager: Sending non-protected broadcast com.motorola.motocare.INTENT_TRIGGER from system 3886:com.motorola.process.system/1000 pkg com.motorola.motgeofencesvc
2021-01-07T20:05:00.413169: adb logcat: 01-07 20:00:09.122  1524  4562 E ActivityManager: java.lang.Throwable

shell dumpsys meminfo stdout is No process found for: com.example.macrobenchmarks and the test is expecting TOTAL

final Match match = RegExp(r'TOTAL\s+(\d+)').firstMatch(meminfo);

Executing: /usr/local/share/android-sdk/platform-tools/adb -s ZY223J893R shell dumpsys meminfo com.example.macrobenchmarks in /Users/flutter/.cocoon/flutter/dev/benchmarks/macrobenchmarks
2021-01-08T17:05:52.729098: stdout: No process found for: com.example.macrobenchmarks
2021-01-08T17:05:52.731365: "/usr/local/share/android-sdk/platform-tools/adb" exit code: 0
2021-01-08T17:05:52.759834: Task failed: NoSuchMethodError: The method 'group' was called on null.
Receiver: null
Tried calling: group(1)2021-01-08T17:05:52.760374: 

Stack trace:
2021-01-08T17:05:52.802826: dart:core                                                  Object.noSuchMethod
package:flutter_devicelab/framework/adb.dart 502:35        AndroidDevice.getMemoryStats
===== asynchronous gap ===========================
dart:async                                                 _asyncErrorWrapperHelper
package:flutter_devicelab/framework/framework.dart         _TaskRunner._performTask.<fn>
package:stack_trace                                        Chain.capture
package:flutter_devicelab/framework/framework.dart 217:11  _TaskRunner._performTask
package:flutter_devicelab/framework/framework.dart 120:41  _TaskRunner.run

fast_scroll_large_images__memory_29e2cfe_2.log

This is third flakiest test in the last two months.

Activity

  1. added
    c: contributor-productivityTeam-specific productivity, code health, technical debt.
    platform-androidAndroid applications specifically
    team: benchmarkPerformance issues found by inspecting benchmarks
    engineflutter/engine related. See also e: labels.
    on Jan 15, 2021
  2. changed the title [-]fast_scroll_large_images__memory flakes, NoSuchMethodError: The method 'group' was called on null.[/-] [+]fast_scroll_large_images__memory flakes, NoSuchMethodError: The method 'group' was called on null, SIGABRT[/+] on Jan 16, 2021
  3. chinmaygarde commented on Jan 27, 2021

    @chinmaygarde
    Contributor

    @jmagman Looks like the process is crashing but we only have three stack frames. Are there runs from which we have collected more frames? Also, when you paste logs, can you also attach the doctor output so the symbolizer can do its thing? Right now, this is not actionable.

    adb logcat: 01-07 20:00:08.028  9630  9630 F DEBUG   :     #02 pc 0001d535  /system/lib/libc.so (raise+10)
    adb logcat: 01-07 20:00:08.028  9630  9630 F DEBUG   :     #03 pc 00019081  /system/lib/libc.so (__libc_android_abort+34)
    adb logcat: 01-07 20:00:08.028  9630  9630 F DEBUG   :     #04 pc 000170e4  /system/lib/libc.so (abort+4)
    adb logcat: 01-07 20:00:08.028  9630  9630 F DEBUG   :     #05 pc 002b48f3  /data/app/com.example.macrobenchmarks-1/lib/arm/libflutter.so (offset 0x139000)
    
  4. added
    P2Important issues not at the top of the work list
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jan 27, 2021
  5. jmagman commented on Jan 27, 2021

    @jmagman
    MemberAuthor

    I attached the full devicelab log, I didn't reproduce this locally.
    fast_scroll_large_images__memory_29e2cfe_2.log

  6. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jan 27, 2021
  7. chinmaygarde commented on Jan 27, 2021

    @chinmaygarde
    Contributor

    We saw that log. Unfortunately, it only contains the frames listed.

  8. jmagman commented on Jan 27, 2021

    @jmagman
    MemberAuthor

    Then I guess part of the work here is to make the test actionable.

  9. added a commit that references this issue on May 14, 2026
  10. added a commit that references this issue on May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.engineflutter/engine related. See also e: labels.platform-androidAndroid applications specificallyteam-androidOwned by Android platform teamteam: benchmarkPerformance issues found by inspecting benchmarkstriaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions