[Webkit-unassigned] [Bug 140260] New: Python error when running tests with libgmalloc - ValueError: invalid literal for long()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 8 11:13:14 PST 2015


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

            Bug ID: 140260
           Summary: Python error when running tests with libgmalloc -
                    ValueError: invalid literal for long()
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joepeck at webkit.org
                CC: ap at webkit.org, ddkilzer at webkit.org

* SUMMARY
Python error when running tests with libgmalloc - ValueError: invalid literal for long().

* STEPS TO REPRODUCE
1. shell> DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib ./Tools/Scripts/run-webkit-tests --debug
  => python error

* NOTES
Traceback (most recent call last):
  File "/Users/pecoraro/Code/safari/OpenSource/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 80, in main
    run_details = run(port, options, args, stderr)
  File "/Users/pecoraro/Code/safari/OpenSource/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 412, in run
    _set_up_derived_options(port, options)
  File "/Users/pecoraro/Code/safari/OpenSource/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 333, in _set_up_derived_options
    str(port.default_child_processes()))
  File "/Users/pecoraro/Code/safari/OpenSource/Tools/Scripts/webkitpy/port/mac.py", line 139, in default_child_processes
    total_memory = self.host.platform.total_bytes_memory()
  File "/Users/pecoraro/Code/safari/OpenSource/Tools/Scripts/webkitpy/common/system/platforminfo.py", line 93, in total_bytes_memory
    return long(self._executive.run_command(["sysctl", "-n", "hw.memsize"]))
ValueError: invalid literal for long() with base 10: 'GuardMalloc[sysctl-27646]: Allocations will be placed on 16 byte boundaries. GuardMalloc[sysctl-27646]:  - Some buffer overruns may not be noticed. GuardMalloc[sysctl-27646]:  - Applications using vec'


Looks like the run_command:

    return long(self._executive.run_command(["sysctl", "-n", "hw.memsize"]))

Gets the GuardMalloc output. Can that be ignored?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150108/a6a3d965/attachment-0002.html>


More information about the webkit-unassigned mailing list