Skip to content

lldb breaking on SIGPIPE on app startup, at runtime #10358

@cbracken

Description

@cbracken

Steps to Reproduce

From @franklinharper_twitter:

Build Gallery for a physical iOS device (e.g. iPhone 7 Plus) and run in the Xcode debugger. On startup lldb breaks on a couple of SIGPIPEs:

libsystem_kernel.dylib`writev:
    0x181c609f8 <+0>:  mov    x16, #0x79
    0x181c609fc <+4>:  svc    #0x80
->  0x181c60a00 <+8>:  b.lo   0x181c60a18               ; <+32>
    0x181c60a04 <+12>: stp    x29, x30, [sp, #-0x10]!
    0x181c60a08 <+16>: mov    x29, sp
    0x181c60a0c <+20>: bl     0x181c60f3c               ; cerror
    0x181c60a10 <+24>: mov    sp, x29
    0x181c60a14 <+28>: ldp    x29, x30, [sp], #0x10
    0x181c60a18 <+32>: ret

Similarly, switching iOS keyboards (e.g. to Japanese input) and some other events will trigger SIGPIPEs.

Flutter Doctor

[✓] Flutter (on Mac OS X 10.12.5 16F73, locale en-AU, channel master)
    • Flutter at /Users/cbracken/src/flutter/flutter
    • Framework revision 4743a806cb (64 minutes ago), 2017-05-26 16:12:42 -0700
    • Engine revision 75c74dc463
    • Tools Dart version 1.24.0-dev.3.0

Metadata

Metadata

Assignees

Labels

c: crashStack traces logged to the consolecustomer: posse (eap)engineflutter/engine related. See also e: labels.platform-iosiOS applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions