[lldb-dev] [Bug 27795] New: TestWatchLocation.py fails with a unicode decode error

via lldb-dev lldb-dev at lists.llvm.org
Tue May 17 14:55:51 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=27795

            Bug ID: 27795
           Summary: TestWatchLocation.py fails with a unicode decode error
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: omair.javaid at linaro.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

TestWatchLocation.py fails on arm-linux platform with following error:

Traceback (most recent call last):
  File
"/home/omair/work/lldb-dev/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 1469, in dwo_test_method
    return attrvalue(self)
  File
"/home/omair/work/lldb-dev/llvm/tools/lldb/packages/Python/lldbsuite/test/decorators.py",
line 93, in wrapper
    func(*args, **kwargs)
  File
"/home/omair/work/lldb-dev/llvm/tools/lldb/packages/Python/lldbsuite/test/decorators.py",
line 93, in wrapper
    func(*args, **kwargs)
  File
"/home/omair/work/lldb-dev/llvm/tools/lldb/packages/Python/lldbsuite/test/decorators.py",
line 93, in wrapper
    func(*args, **kwargs)
  File
"/home/omair/work/lldb-dev/llvm/tools/lldb/packages/Python/lldbsuite/test/decorators.py",
line 93, in wrapper
    func(*args, **kwargs)
  File
"/home/omair/work/lldb-dev/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py",
line 79, in test_hello_watchlocation
    self.runCmd("process continue")
  File
"/home/omair/work/lldb-dev/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 1765, in runCmd
    print(self.res.GetError(), file=sbuf)
  File
"/home/omair/work/lldb-dev/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 269, in __exit__
    print(self.getvalue(), file=self.session)
  File
"/home/omair/work/lldb-dev/llvm/tools/lldb/packages/Python/lldbsuite/support/encoded_file.py",
line 32, in impl
    s = s.decode(encoding)
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xfb in position 190:
invalid start byte


A previous discussion exists on the topic here: http://reviews.llvm.org/D16736

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160517/ee0ac42f/attachment.html>


More information about the lldb-dev mailing list