tvOS: Document differences from iOS [crashpad/crashpad : main]

4 views
Skip to first unread message

Raphael Kubo da Costa (Gerrit)

unread,
Jul 9, 2025, 8:23:49 AMJul 9
to Justin Cohen, Gyuyoung Kim, Julie Jeongeun Kim, Abhijeet Kandalkar, Crashpad LUCI CQ, cobalt-...@google.com, crashp...@chromium.org
Attention needed from Justin Cohen

New activity on the change

Open in Gerrit

Related details

Attention is currently required from:
  • Justin Cohen
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: crashpad/crashpad
Gerrit-Branch: main
Gerrit-Change-Id: I3ce406374f8a4aad85ab367b807e980651fe5935
Gerrit-Change-Number: 6718768
Gerrit-PatchSet: 1
Gerrit-Owner: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Reviewer: Justin Cohen <justi...@chromium.org>
Gerrit-Reviewer: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-CC: Abhijeet Kandalkar <abhi...@igalia.com>
Gerrit-CC: Gyuyoung Kim <gyuy...@igalia.com>
Gerrit-CC: Julie Jeongeun Kim <jk...@igalia.com>
Gerrit-Attention: Justin Cohen <justi...@chromium.org>
Gerrit-Comment-Date: Wed, 09 Jul 2025 12:23:43 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Mark Mentovai (Gerrit)

unread,
Jul 9, 2025, 8:34:30 AMJul 9
to Raphael Kubo da Costa, Justin Cohen, Gyuyoung Kim, Julie Jeongeun Kim, Abhijeet Kandalkar, Crashpad LUCI CQ, cobalt-...@google.com, crashp...@chromium.org
Attention needed from Justin Cohen and Raphael Kubo da Costa

Mark Mentovai added 2 comments

File doc/ios_overview_design.md
Line 183, Patchset 1 (Latest):the `mach_msg()` APIs (they are forbidden at build-time) so using Mach
Mark Mentovai . unresolved

“(they are forbidden at build-time)” doesn’t contribute to the point. And as the work you just did on `posix_spawn` shows, “forbidden” can be flexible. You can remove this.

Line 187, Patchset 1 (Latest):handler is initialized; the tvOS handler can use the POSIX signals and
Mark Mentovai . unresolved

You’re saying that tvOS _can_ use these, but you should say how it _does_. In particular, iOS Crashpad uses signals for some things. Is a reader supposed to understand that tvOS Crashpad uses signals for those same things? Or does it additionally use signals to cover part of what iOS Crashpad uses Mach recordings for?

Open in Gerrit

Related details

Attention is currently required from:
  • Justin Cohen
  • Raphael Kubo da Costa
Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: crashpad/crashpad
    Gerrit-Branch: main
    Gerrit-Change-Id: I3ce406374f8a4aad85ab367b807e980651fe5935
    Gerrit-Change-Number: 6718768
    Gerrit-PatchSet: 1
    Gerrit-Owner: Raphael Kubo da Costa <ku...@igalia.com>
    Gerrit-Reviewer: Justin Cohen <justi...@chromium.org>
    Gerrit-Reviewer: Raphael Kubo da Costa <ku...@igalia.com>
    Gerrit-CC: Abhijeet Kandalkar <abhi...@igalia.com>
    Gerrit-CC: Gyuyoung Kim <gyuy...@igalia.com>
    Gerrit-CC: Julie Jeongeun Kim <jk...@igalia.com>
    Gerrit-CC: Mark Mentovai <ma...@chromium.org>
    Gerrit-Attention: Justin Cohen <justi...@chromium.org>
    Gerrit-Attention: Raphael Kubo da Costa <ku...@igalia.com>
    Gerrit-Comment-Date: Wed, 09 Jul 2025 12:34:27 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    unsatisfied_requirement
    open
    diffy

    Raphael Kubo da Costa (Gerrit)

    unread,
    Jul 9, 2025, 8:46:12 AMJul 9
    to Mark Mentovai, Justin Cohen, Gyuyoung Kim, Julie Jeongeun Kim, Abhijeet Kandalkar, Crashpad LUCI CQ, cobalt-...@google.com, crashp...@chromium.org
    Attention needed from Justin Cohen and Mark Mentovai

    Raphael Kubo da Costa added 2 comments

    File doc/ios_overview_design.md
    Line 183, Patchset 1:the `mach_msg()` APIs (they are forbidden at build-time) so using Mach
    Mark Mentovai . resolved

    “(they are forbidden at build-time)” doesn’t contribute to the point. And as the work you just did on `posix_spawn` shows, “forbidden” can be flexible. You can remove this.

    Raphael Kubo da Costa

    Done

    Line 187, Patchset 1:handler is initialized; the tvOS handler can use the POSIX signals and
    Mark Mentovai . resolved

    You’re saying that tvOS _can_ use these, but you should say how it _does_. In particular, iOS Crashpad uses signals for some things. Is a reader supposed to understand that tvOS Crashpad uses signals for those same things? Or does it additionally use signals to cover part of what iOS Crashpad uses Mach recordings for?

    Raphael Kubo da Costa

    I think I've addressed this one by explaining what the POSIX signal handler can and cannot do.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Justin Cohen
    • Mark Mentovai
    Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: crashpad/crashpad
    Gerrit-Branch: main
    Gerrit-Change-Id: I3ce406374f8a4aad85ab367b807e980651fe5935
    Gerrit-Change-Number: 6718768
    Gerrit-PatchSet: 2
    Gerrit-Owner: Raphael Kubo da Costa <ku...@igalia.com>
    Gerrit-Reviewer: Justin Cohen <justi...@chromium.org>
    Gerrit-Reviewer: Raphael Kubo da Costa <ku...@igalia.com>
    Gerrit-CC: Abhijeet Kandalkar <abhi...@igalia.com>
    Gerrit-CC: Gyuyoung Kim <gyuy...@igalia.com>
    Gerrit-CC: Julie Jeongeun Kim <jk...@igalia.com>
    Gerrit-CC: Mark Mentovai <ma...@chromium.org>
    Gerrit-Attention: Justin Cohen <justi...@chromium.org>
    Gerrit-Attention: Mark Mentovai <ma...@chromium.org>
    Gerrit-Comment-Date: Wed, 09 Jul 2025 12:46:08 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Mark Mentovai <ma...@chromium.org>
    unsatisfied_requirement
    open
    diffy

    Mark Mentovai (Gerrit)

    unread,
    Jul 9, 2025, 10:06:26 AMJul 9
    to Raphael Kubo da Costa, Justin Cohen, Gyuyoung Kim, Julie Jeongeun Kim, Abhijeet Kandalkar, Crashpad LUCI CQ, cobalt-...@google.com, crashp...@chromium.org
    Attention needed from Justin Cohen and Raphael Kubo da Costa

    Mark Mentovai voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Justin Cohen
    • Raphael Kubo da Costa
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: crashpad/crashpad
    Gerrit-Branch: main
    Gerrit-Change-Id: I3ce406374f8a4aad85ab367b807e980651fe5935
    Gerrit-Change-Number: 6718768
    Gerrit-PatchSet: 2
    Gerrit-Owner: Raphael Kubo da Costa <ku...@igalia.com>
    Gerrit-Reviewer: Justin Cohen <justi...@chromium.org>
    Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
    Gerrit-Reviewer: Raphael Kubo da Costa <ku...@igalia.com>
    Gerrit-CC: Abhijeet Kandalkar <abhi...@igalia.com>
    Gerrit-CC: Gyuyoung Kim <gyuy...@igalia.com>
    Gerrit-CC: Julie Jeongeun Kim <jk...@igalia.com>
    Gerrit-Attention: Justin Cohen <justi...@chromium.org>
    Gerrit-Attention: Raphael Kubo da Costa <ku...@igalia.com>
    Gerrit-Comment-Date: Wed, 09 Jul 2025 14:06:24 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Raphael Kubo da Costa (Gerrit)

    unread,
    Jul 9, 2025, 10:16:58 AMJul 9
    to Mark Mentovai, Justin Cohen, Gyuyoung Kim, Julie Jeongeun Kim, Abhijeet Kandalkar, Crashpad LUCI CQ, cobalt-...@google.com, crashp...@chromium.org
    Attention needed from Justin Cohen

    Raphael Kubo da Costa voted Commit-Queue+2

    Commit-Queue+2
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Justin Cohen
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: crashpad/crashpad
    Gerrit-Branch: main
    Gerrit-Change-Id: I3ce406374f8a4aad85ab367b807e980651fe5935
    Gerrit-Change-Number: 6718768
    Gerrit-PatchSet: 2
    Gerrit-Owner: Raphael Kubo da Costa <ku...@igalia.com>
    Gerrit-Reviewer: Justin Cohen <justi...@chromium.org>
    Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
    Gerrit-Reviewer: Raphael Kubo da Costa <ku...@igalia.com>
    Gerrit-CC: Abhijeet Kandalkar <abhi...@igalia.com>
    Gerrit-CC: Gyuyoung Kim <gyuy...@igalia.com>
    Gerrit-CC: Julie Jeongeun Kim <jk...@igalia.com>
    Gerrit-Attention: Justin Cohen <justi...@chromium.org>
    Gerrit-Comment-Date: Wed, 09 Jul 2025 14:16:52 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Raphael Kubo da Costa (Gerrit)

    unread,
    Jul 9, 2025, 10:32:08 AMJul 9
    to Mark Mentovai, Justin Cohen, Gyuyoung Kim, Julie Jeongeun Kim, Abhijeet Kandalkar, Crashpad LUCI CQ, cobalt-...@google.com, crashp...@chromium.org

    Raphael Kubo da Costa submitted the change

    Unreviewed changes

    2 is the latest approved patch-set.
    No files were changed between the latest approved patch-set and the submitted one.

    Change information

    Commit message:
    tvOS: Document differences from iOS

    Explain that most of iOS's architecture and constraints apply, but tvOS
    is unable to monitor and catch Mach exceptions.
    Bug: 405140658
    Change-Id: I3ce406374f8a4aad85ab367b807e980651fe5935
    Reviewed-by: Mark Mentovai <ma...@chromium.org>
    Files:
    • M doc/ios_overview_design.md
    Change size: S
    Delta: 1 file changed, 14 insertions(+), 0 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Mark Mentovai
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: crashpad/crashpad
    Gerrit-Branch: main
    Gerrit-Change-Id: I3ce406374f8a4aad85ab367b807e980651fe5935
    Gerrit-Change-Number: 6718768
    Gerrit-PatchSet: 4
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages