Closed Bug 845416 Opened 8 years ago Closed 8 years ago

Limit ANR report stack trace to Fennec only

Categories

(Firefox for Android :: Keyboards and IME, defect)

ARM
Android
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 22

People

(Reporter: jchen, Assigned: jchen)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

ANR traces file can contain stack from other processes, but we want to limit it to the Fennec process only
Per the ANR privacy review, we don't want to include stacks from other processes in the ANR report. After every process in the traces.txt file, there is an end-of-process marker. This patch looks for the first end marker and truncates the traces to that point.
Attachment #723950 - Flags: review?(blassey.bugs)
Added more comments about how the end pattern is found in the input stream. The end pattern follows the Fennec process stack traces, and we stop processing the traces file at this pattern so that only Fennec stack traces are included in our report.
Attachment #723950 - Attachment is obsolete: true
Attachment #723950 - Flags: review?(blassey.bugs)
Attachment #724423 - Flags: review?(blassey.bugs)
Attachment #724423 - Flags: review?(blassey.bugs) → review+
Detect mangled package name (e.g. org.mozilla.f3nn3c)
Attachment #724956 - Flags: review?(blassey.bugs)
Attachment #724956 - Flags: review?(blassey.bugs) → review+
Depends on: 862929
You need to log in before you can comment on or make changes to this bug.