diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-09 20:40:11 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-09 20:40:11 +0000 |
commit | f2349f0b5aff7e7428a4dfaf79f405d67ba8e6ab (patch) | |
tree | b90f720a16d99a7cec652e394619e12812d6df43 /tools/mac | |
parent | 7149c15fdeb1d036affdc5086bf76544257a7953 (diff) | |
download | chromium_src-f2349f0b5aff7e7428a4dfaf79f405d67ba8e6ab.zip chromium_src-f2349f0b5aff7e7428a4dfaf79f405d67ba8e6ab.tar.gz chromium_src-f2349f0b5aff7e7428a4dfaf79f405d67ba8e6ab.tar.bz2 |
symbolicate_crash.py: Thread HEX names are sometimes more or less than 4 chars.
BUG=none
TEST=manual
Review URL: https://chromiumcodereview.appspot.com/9662014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125887 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/mac')
-rwxr-xr-x | tools/mac/symbolicate_crash.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mac/symbolicate_crash.py b/tools/mac/symbolicate_crash.py index f66d289..731cc85 100755 --- a/tools/mac/symbolicate_crash.py +++ b/tools/mac/symbolicate_crash.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2011 The Chromium Authors. All rights reserved. +# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. @@ -183,7 +183,7 @@ class CrashReport(object): # The stack trace begins with the thread header, which is identified by a # HEX number. The thread names appear to be incorrect in spindumps. - user_thread_re = re.compile('^ Thread ([0-9a-fx]{4})') + user_thread_re = re.compile('^ Thread ([0-9a-fx]+)') # When this method is called, the fd has been walked right up to the first # line. |