Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1012)

Issue 23606030: Copy the thread name to the stack for debugging purposes. (Closed)

Created:
7 years, 3 months ago by Robert Sesek
Modified:
7 years, 3 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Copy the thread name to the stack for debugging purposes. The this ptr in Thread is getting smashed after the MessageLoop ends, which leaves very little to go on. This is kind of a stab in the dark, but hopefully it makes something bleed in a general direction. BUG=274705 TEST=Minidumps contain 47 bytes of thread name data way high on the stack. R=mark@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222826

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments #

Total comments: 1

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -0 lines) Patch
M base/threading/thread.cc View 1 2 3 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Robert Sesek
7 years, 3 months ago (2013-09-12 18:24:10 UTC) #1
Mark Mentovai
https://codereview.chromium.org/23606030/diff/1/base/threading/thread.cc File base/threading/thread.cc (right): https://codereview.chromium.org/23606030/diff/1/base/threading/thread.cc#newcode178 base/threading/thread.cc:178: // the minidump stack dump. If you’re trying to ...
7 years, 3 months ago (2013-09-12 18:38:37 UTC) #2
Robert Sesek
https://codereview.chromium.org/23606030/diff/1/base/threading/thread.cc File base/threading/thread.cc (right): https://codereview.chromium.org/23606030/diff/1/base/threading/thread.cc#newcode178 base/threading/thread.cc:178: // the minidump stack dump. On 2013/09/12 18:38:37, Mark ...
7 years, 3 months ago (2013-09-12 18:47:53 UTC) #3
Mark Mentovai
LGTM https://codereview.chromium.org/23606030/diff/9001/base/threading/thread.cc File base/threading/thread.cc (right): https://codereview.chromium.org/23606030/diff/9001/base/threading/thread.cc#newcode181 base/threading/thread.cc:181: char thread_name[kThreadNameSize] = { 0 }; Oh, you’re ...
7 years, 3 months ago (2013-09-12 18:52:18 UTC) #4
Robert Sesek
7 years, 3 months ago (2013-09-12 18:55:26 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r222826 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698