tvOS: Remove LOG() call from CrashHandler::DoInitialize() [crashpad/crashpad : main]

1 view
Skip to first unread message

Raphael Kubo da Costa (Gerrit)

unread,
May 15, 2025, 4:53:42 PM5/15/25
to Mark Mentovai, Justin Cohen, Gyuyoung Kim, Julie Jeongeun Kim, Abhijeet Kandalkar, Crashpad LUCI CQ, crashp...@chromium.org
Attention needed from Mark Mentovai

Raphael Kubo da Costa added 1 comment

File client/crash_handler_tvos.cc
Line 61, Patchset 1: LOG(ERROR) << "Unable to install crash handlers";
Mark Mentovai . resolved

You can just get rid of this. InstallCrashHandlers promises to log the problem, and with more detail, too: it’ll tell you why `sigaction` failed, and for which signal.

Raphael Kubo da Costa

That makes sense. I've repurposed the CL and updated the commit message.

Open in Gerrit

Related details

Attention is currently required from:
  • Mark Mentovai
Submit Requirements:
  • 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: If20186017e8202ddd355a416c2cc7ba8b8dd64cc
Gerrit-Change-Number: 6551426
Gerrit-PatchSet: 3
Gerrit-Owner: Raphael Kubo da Costa <ku...@igalia.com>
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-CC: Justin Cohen <justi...@chromium.org>
Gerrit-Attention: Mark Mentovai <ma...@chromium.org>
Gerrit-Comment-Date: Thu, 15 May 2025 20:53:38 +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,
May 15, 2025, 5:05:15 PM5/15/25
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 Raphael Kubo da Costa

Mark Mentovai voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Raphael Kubo da Costa
Submit Requirements:
  • 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: If20186017e8202ddd355a416c2cc7ba8b8dd64cc
Gerrit-Change-Number: 6551426
Gerrit-PatchSet: 3
Gerrit-Owner: Raphael Kubo da Costa <ku...@igalia.com>
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-CC: Justin Cohen <justi...@chromium.org>
Gerrit-Attention: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Comment-Date: Thu, 15 May 2025 21:05:12 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Raphael Kubo da Costa (Gerrit)

unread,
May 15, 2025, 5:35:01 PM5/15/25
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 voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • 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: If20186017e8202ddd355a416c2cc7ba8b8dd64cc
Gerrit-Change-Number: 6551426
Gerrit-PatchSet: 3
Gerrit-Owner: Raphael Kubo da Costa <ku...@igalia.com>
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-CC: Justin Cohen <justi...@chromium.org>
Gerrit-Comment-Date: Thu, 15 May 2025 21:34:56 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Crashpad LUCI CQ (Gerrit)

unread,
May 15, 2025, 5:56:08 PM5/15/25
to Raphael Kubo da Costa, Mark Mentovai, Justin Cohen, Gyuyoung Kim, Julie Jeongeun Kim, Abhijeet Kandalkar, cobalt-...@google.com, crashp...@chromium.org

Crashpad LUCI CQ submitted the change

Change information

Commit message:
tvOS: Remove LOG() call from CrashHandler::DoInitialize()

This fixes a compilation error when building Crashpad in Chromium:

../../third_party/crashpad/crashpad/client/crash_handler_tvos.cc:60:9: error: use of undeclared identifier 'ERROR'
60 | LOG(ERROR) << "Unable to install crash handlers";
| ^~~~~

But most importantly, the call itself was not very useful since
InstallCrashHandlers() will already show a more descriptive error
message if sigaction() fails.
Bug: 405140658
Change-Id: If20186017e8202ddd355a416c2cc7ba8b8dd64cc
Reviewed-by: Mark Mentovai <ma...@chromium.org>
Commit-Queue: Raphael Kubo da Costa <ku...@igalia.com>
Files:
  • M client/crash_handler_tvos.cc
Change size: XS
Delta: 1 file changed, 0 insertions(+), 1 deletion(-)
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: If20186017e8202ddd355a416c2cc7ba8b8dd64cc
Gerrit-Change-Number: 6551426
Gerrit-PatchSet: 4
Gerrit-Owner: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Reviewer: Crashpad LUCI CQ <crashpa...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
Gerrit-Reviewer: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-CC: Abhijeet Kandalkar <abhi...@igalia.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages