[Webkit-unassigned] [Bug 81135] NRWT doesn't work when GuardMalloc is enabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 14 12:37:15 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=81135





--- Comment #1 from Dirk Pranke <dpranke at chromium.org>  2012-03-14 12:37:15 PST ---
Hm. On SnowLeopard, I actually got a total different error, where we failed while checking what source control system we were using ( run_webkit_tests.py:483  host._initialize_scm() ) which would've been before we even start to check the build. I suspect there are several things that get confused by the libgmalloc logging (not to mention that this slows everything down).

As a workaround you can add a line in Tools/Scripts/webkitpy/layout_tests/port/webkit.py:479 or thereabouts that sets the value you want.

You can also create a wrapper script that sets this variable and then use the --wrapper command line arg, e.g.:

$ cat > gmalloc_wrapper
#!/bin/bash
DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib $*
$ run-webkit-tests --wrapper=$PWD/gmalloc_wrapper
...

Conceivably we could also add a command line switch that allows you to push variables only into DRT's environment (without affecting the rest of the script), but maybe the wrapper approach is good enough.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list