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

Issue 296553002: Breakpad Linux: Prevent some memory leaks. (Try 2) (Closed)

Created:
6 years, 7 months ago by Lei Zhang
Modified:
6 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Breakpad Linux: Prevent some memory leaks. (Try 2) Also sanitize renderer data more. TBR=rsesek@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271640

Patch Set 1 #

Patch Set 2 : fix asan #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -118 lines) Patch
M components/breakpad/app/breakpad_linux.cc View 4 chunks +18 lines, -33 lines 0 comments Download
M components/breakpad/app/breakpad_linux_impl.h View 2 chunks +2 lines, -3 lines 0 comments Download
M components/breakpad/browser/crash_handler_host_linux.h View 2 chunks +4 lines, -8 lines 0 comments Download
M components/breakpad/browser/crash_handler_host_linux.cc View 1 15 chunks +72 lines, -74 lines 1 comment Download

Messages

Total messages: 13 (0 generated)
Lei Zhang
Previous try reverted due to a missing delete in ASAN-only code. See difference between patch ...
6 years, 7 months ago (2014-05-19 20:53:40 UTC) #1
mdempsky
lgtm
6 years, 7 months ago (2014-05-19 20:58:37 UTC) #2
Lei Zhang
The CQ bit was checked by thestig@chromium.org
6 years, 7 months ago (2014-05-19 21:05:12 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/296553002/20001
6 years, 7 months ago (2014-05-19 21:06:05 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-19 21:06:07 UTC) #5
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 7 months ago (2014-05-19 21:06:07 UTC) #6
Lei Zhang
TBRing rsesek again due to http://crbug.com/374571
6 years, 7 months ago (2014-05-19 21:17:37 UTC) #7
Lei Zhang
The CQ bit was checked by thestig@chromium.org
6 years, 7 months ago (2014-05-19 21:17:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/296553002/20001
6 years, 7 months ago (2014-05-19 21:18:44 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-20 00:44:56 UTC) #10
commit-bot: I haz the power
Change committed as 271640
6 years, 7 months ago (2014-05-20 14:50:56 UTC) #11
jochen (gone - plz use gerrit)
https://codereview.chromium.org/296553002/diff/20001/components/breakpad/browser/crash_handler_host_linux.cc File components/breakpad/browser/crash_handler_host_linux.cc (right): https://codereview.chromium.org/296553002/diff/20001/components/breakpad/browser/crash_handler_host_linux.cc#newcode303 components/breakpad/browser/crash_handler_host_linux.cc:303: std::string distro = base::GetLinuxDistro(); this method crashes in thread ...
6 years, 7 months ago (2014-05-22 10:52:27 UTC) #12
Lei Zhang
6 years, 7 months ago (2014-05-22 18:12:32 UTC) #13
Message was sent while issue was closed.
On 2014/05/22 10:52:27, jochen wrote:
>
https://codereview.chromium.org/296553002/diff/20001/components/breakpad/brow...
> File components/breakpad/browser/crash_handler_host_linux.cc (right):
> 
>
https://codereview.chromium.org/296553002/diff/20001/components/breakpad/brow...
> components/breakpad/browser/crash_handler_host_linux.cc:303: std::string
distro
> = base::GetLinuxDistro();
> this method crashes in thread restrictions :-/

Doh. I guess that might explain why we had it the way we did before. I'll try to
fix this today.

Powered by Google App Engine
This is Rietveld 408576698