[Webkit-unassigned] [Bug 71112] New: NRWT crashes when parsing leaks output due to UTF-8 decoding error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 28 05:17:47 PDT 2011


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

           Summary: NRWT crashes when parsing leaks output due to UTF-8
                    decoding error
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://build.webkit.org/builders/SnowLeopard%20Intel%2
                    0Leaks/builds/19800/steps/layout-test/logs/stdio
        OS/Version: Mac OS X 10.6
            Status: NEW
          Keywords: MakingBotsRed
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aroben at apple.com
                CC: eric at webkit.org


NRWT is crashing when parsing leaks files due to a UTF-8 decoding error:

http://build.webkit.org/builders/SnowLeopard%20Intel%20Leaks/builds/19800/steps/layout-test/logs/stdio

Traceback (most recent call last):
  File "/Volumes/Data/WebKit-BuildSlave/snowleopard-intel-leaks/build/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 436, in <module>
    sys.exit(main())
  File "/Volumes/Data/WebKit-BuildSlave/snowleopard-intel-leaks/build/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 431, in main
    return run(port, options, args)
  File "/Volumes/Data/WebKit-BuildSlave/snowleopard-intel-leaks/build/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 107, in run
    num_unexpected_results = manager.run(result_summary)
  File "/Volumes/Data/WebKit-BuildSlave/snowleopard-intel-leaks/build/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py", line 919, in run
    self._port.print_leaks_summary()
  File "/Volumes/Data/WebKit-BuildSlave/snowleopard-intel-leaks/build/Tools/Scripts/webkitpy/layout_tests/port/mac.py", line 143, in print_leaks_summary
    total_leaks = self._leak_detector.count_total_leaks(leaks_files)
  File "/Volumes/Data/WebKit-BuildSlave/snowleopard-intel-leaks/build/Tools/Scripts/webkitpy/layout_tests/port/leakdetector.py", line 123, in count_total_leaks
    leaks_output = self._filesystem.read_text_file(leak_file_path)
  File "/Volumes/Data/WebKit-BuildSlave/snowleopard-intel-leaks/build/Tools/Scripts/webkitpy/common/system/filesystem.py", line 218, in read_text_file
    return f.read()
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/codecs.py", line 666, in read
    return self.reader.read(size)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/codecs.py", line 472, in read
    newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x90 in position 3419483: unexpected code byte

-- 
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