Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(912)

Issue 435002: Getting context information from the kernel when catching a SIGABRT on iOS. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by qsr
Modified:
11 years, 8 months ago
Reviewers:
Mark Mentovai
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

 Getting context information from the kernel when catching a SIGABRT on iOS.

 Until now, the context information was the current one when receiving a
SIGABRT. This is mainly wrong because the signal handler start in a new
context. This instead use the context passed to the signal handler.
Committed: https://code.google.com/p/google-breakpad/source/detail?r=1015

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/mac/handler/exception_handler.cc View 5 chunks +6 lines, -3 lines 0 comments Download
M src/client/mac/handler/exception_handler.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M src/client/mac/handler/minidump_generator.cc View 1 2 5 chunks +20 lines, -4 lines 0 comments Download
M src/client/mac/handler/minidump_generator.h View 1 2 chunks +9 lines, -1 line 0 comments Download
M src/common/mac/macho_utilities.h View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 4
qsr
Hi Mark, This change use the context from the signal instead of getting the current ...
11 years, 8 months ago #1
Mark Mentovai
https://breakpad.appspot.com/435002/diff/1/src/client/mac/handler/exception_handler.cc File src/client/mac/handler/exception_handler.cc (right): https://breakpad.appspot.com/435002/diff/1/src/client/mac/handler/exception_handler.cc#newcode370 src/client/mac/handler/exception_handler.cc:370: md.SetTaskContext(task_context); MinidumpGenerator::SetTaskContext asserts that it’s running on ARM. I ...
11 years, 8 months ago #2
qsr
https://breakpad.appspot.com/435002/diff/1/src/client/mac/handler/exception_handler.cc File src/client/mac/handler/exception_handler.cc (right): https://breakpad.appspot.com/435002/diff/1/src/client/mac/handler/exception_handler.cc#newcode370 src/client/mac/handler/exception_handler.cc:370: md.SetTaskContext(task_context); Changed SetTaskContent to not trigger assertion. Instead I ...
11 years, 8 months ago #3
Mark Mentovai
11 years, 8 months ago #4
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted