Bug 4613 - A --guard-malloc option to run-webkit-tests could be useful
Summary: A --guard-malloc option to run-webkit-tests could be useful
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P4 Normal
Assignee: Eric Seidel (no email)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-23 20:25 PDT by Eric Seidel (no email)
Modified: 2005-09-19 18:23 PDT (History)
0 users

See Also:


Attachments
a patch to add --guard-malloc to run-webkit-tests (1015 bytes, patch)
2005-08-23 20:27 PDT, Eric Seidel (no email)
eric: review-
Details | Formatted Diff | Diff
A better --guard-malloc patch (1.10 KB, patch)
2005-09-18 20:25 PDT, Eric Seidel (no email)
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2005-08-23 20:25:58 PDT
A --guard-malloc option to run-webkit-tests could be useful

Otherwise launching DumpRenderTree under libgmalloc is rather painful.
Comment 1 Eric Seidel (no email) 2005-08-23 20:27:14 PDT
Created attachment 3547 [details]
a patch to add --guard-malloc to run-webkit-tests
Comment 2 Darin Adler 2005-08-23 22:21:30 PDT
Comment on attachment 3547 [details]
a patch to add --guard-malloc to run-webkit-tests

I don't think we want the diff tool to run under GuardMalloc. I suggest doing
this in a way that only affects the test tools.
Comment 3 Eric Seidel (no email) 2005-08-24 03:18:19 PDT
Comment on attachment 3547 [details]
a patch to add --guard-malloc to run-webkit-tests

Darin asked that this env setting be localized to the tool launch.  I'll
investigate how to do that with open2()
Comment 4 Eric Seidel (no email) 2005-09-18 20:25:30 PDT
Created attachment 3944 [details]
A better --guard-malloc patch
Comment 5 Darin Adler 2005-09-19 16:03:25 PDT
Comment on attachment 3944 [details]
A better --guard-malloc patch

Looks fine.