Skip to content

channels integration test crashes on android debug builds #110596

@gaaclarke

Description

@gaaclarke

The following test crashes when run on android in debug builds:

() => basicBinaryHandshake(ByteData(0)),

It passes in release builds.

First reported in flutter/engine#35174

crash log

F/flutter (28439): [FATAL:flutter/fml/mapping.h(163)] Check failed: end > begin. 
F/libc    (28439): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 28439 (ompany.channels), pid 28439 (ompany.channels)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/sunfish/sunfish:12/SP2A.220305.012/8177914:user/release-keys'
Revision: 'MP1.0'
ABI: 'arm64'
Timestamp: 2022-08-30 09:44:10.452898205-0700
Process uptime: 0s
Cmdline: com.yourcompany.channels
pid: 28439, tid: 28439, name: ompany.channels  >>> com.yourcompany.channels <<<
uid: 10334
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: '[FATAL:flutter/fml/mapping.h(163)] Check failed: end > begin. 
'
    x0  0000000000000000  x1  0000000000006f17  x2  0000000000000006  x3  0000007fff1a6a20
    x4  32353027672d666d  x5  32353027672d666d  x6  32353027672d666d  x7  7f7f7f7f7f7f7f7f
    x8  00000000000000f0  x9  0c8f9079f0a4c8dc  x10 0000000000000000  x11 ffffff80fffffbdf
    x12 0000000000000001  x13 0000000000000040  x14 0000007fff1a58d0  x15 0000000001fa6156
    x16 00000072eb902050  x17 00000072eb8dedb0  x18 0000007308f76000  x19 0000000000006f17
    x20 0000000000006f17  x21 00000000ffffffff  x22 0000006fdd8fca96  x23 0000006fddbc36e2
    x24 0000007056200880  x25 0000007fff1a6fc0  x26 0000007fff1a6fec  x27 0000007fff1a6fc0
    x28 0000007fff1a6eb0  x29 0000007fff1a6aa0
    lr  00000072eb891aa0  sp  0000007fff1a6a00  pc  00000072eb891acc  pst 0000000000000000
backtrace:
      #00 pc 000000000004facc  /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: cd7952cb40d1a2deca6420c2da7910be)
      #01 pc 0000000001e11268
      /data/app/~~7fjaKLz3g-Fuy5eXNxTNVQ==/com.yourcompany.channels-U5J38IRzRSNUh9I6Qb8YWg==/lib/arm64/libflutter.so (BuildId:
      54b1ed31bcfef7f75d7a95b295a926a66f0938dc)
      #02 pc 0000000001ed9060
      /data/app/~~7fjaKLz3g-Fuy5eXNxTNVQ==/com.yourcompany.channels-U5J38IRzRSNUh9I6Qb8YWg==/lib/arm64/libflutter.so (BuildId:
      54b1ed31bcfef7f75d7a95b295a926a66f0938dc)
      #03 pc 0000000001e41888
      /data/app/~~7fjaKLz3g-Fuy5eXNxTNVQ==/com.yourcompany.channels-U5J38IRzRSNUh9I6Qb8YWg==/lib/arm64/libflutter.so (BuildId:
      54b1ed31bcfef7f75d7a95b295a926a66f0938dc)
      #04 pc 0000000001e3b834
      /data/app/~~7fjaKLz3g-Fuy5eXNxTNVQ==/com.yourcompany.channels-U5J38IRzRSNUh9I6Qb8YWg==/lib/arm64/libflutter.so (BuildId:
      54b1ed31bcfef7f75d7a95b295a926a66f0938dc)
      #05 pc 0000000000440554  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId:
      56e704c544e6c624201be2ab4933e853)
      #06 pc 000000000020b02c  /apex/com.android.art/lib64/libart.so (nterp_helper+7468) (BuildId: 56e704c544e6c624201be2ab4933e853)
      #07 pc 000000000012ea96  [anon:dalvik-classes.dex extracted in memory from
      /data/app/~~7fjaKLz3g-Fuy5eXNxTNVQ==/com.yourcompany.channels-U5J38IRzRSNUh9I6Qb8YWg==/base.apk]
      (io.flutter.embedding.engine.FlutterJNI.invokePlatformMessageResponseCallback+62)
      #08 pc 000000000020a254  /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 56e704c544e6c624201be2ab4933e853)
      #09 pc 000000000013005a  [anon:dalvik-classes.dex extracted in memory from
      /data/app/~~7fjaKLz3g-Fuy5eXNxTNVQ==/com.yourcompany.channels-U5J38IRzRSNUh9I6Qb8YWg==/base.apk]
      (io.flutter.embedding.engine.dart.DartMessenger$Reply.reply+54)
      #10 pc 000000000020b074  /apex/com.android.art/lib64/libart.so (nterp_helper+7540) (BuildId: 56e704c544e6c624201be2ab4933e853)
      #11 pc 000000000013a968  [anon:dalvik-classes.dex extracted in memory from
      /data/app/~~7fjaKLz3g-Fuy5eXNxTNVQ==/com.yourcompany.channels-U5J38IRzRSNUh9I6Qb8YWg==/base.apk]
      (io.flutter.plugin.common.BasicMessageChannel$IncomingMessageHandler$1.reply+28)
      #12 pc 000000000020b074  /apex/com.android.art/lib64/libart.so (nterp_helper+7540) (BuildId: 56e704c544e6c624201be2ab4933e853)
      #13 pc 000000000011c436  [anon:dalvik-classes.dex extracted in memory from
      /data/app/~~7fjaKLz3g-Fuy5eXNxTNVQ==/com.yourcompany.channels-U5J38IRzRSNUh9I6Qb8YWg==/base.apk]
      (com.yourcompany.channels.MainActivity$1$1.reply+38)
      #14 pc 000000000020b074  /apex/com.android.art/lib64/libart.so (nterp_helper+7540) (BuildId: 56e704c544e6c624201be2ab4933e853)
      #15 pc 000000000013aa98  [anon:dalvik-classes.dex extracted in memory from
      /data/app/~~7fjaKLz3g-Fuy5eXNxTNVQ==/com.yourcompany.channels-U5J38IRzRSNUh9I6Qb8YWg==/base.apk]
      (io.flutter.plugin.common.BasicMessageChannel$IncomingReplyHandler.reply+24)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions