[Webkit-unassigned] [Bug 129448] New: lldb_webkit.py throws exception when generating summary of null StringImpl
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 27 14:13:09 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=129448
Summary: lldb_webkit.py throws exception when generating
summary of null StringImpl
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: bburg at apple.com
frame #3: 0x0000000100a89e40 JavaScriptCore`WTF::StringImpl::reallocate(originalString=0x00007fff5fbf6020, length=268435456, data=0x00007fff5fbf6950) + 128 at StringImpl.cpp:240
(lldb) frame variable
Traceback (most recent call last):
File "/Users/bburg/repos/webkit/OpenSource/Tools/lldb/lldb_webkit.py", line 55, in WTFStringImpl_SummaryProvider
return "{ length = %d, is8bit = %d, contents = '%s' }" % (provider.get_length(), provider.is_8bit(), provider.to_string())
File "/Users/bburg/repos/webkit/OpenSource/Tools/lldb/lldb_webkit.py", line 175, in to_string
return ustring_to_string(self.get_data16(), error, self.get_length())
File "/Users/bburg/repos/webkit/OpenSource/Tools/lldb/lldb_webkit.py", line 131, in ustring_to_string
contents = valobj.GetProcess().ReadMemory(pointer, length * 2, lldb.SBError())
File "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/Python/lldb/__init__.py", line 5709, in ReadMemory
return _lldb.SBProcess_ReadMemory(self, *args)
ValueError: Positive integer expected
(WTF::PassRefPtr<WTF::StringImpl> &) originalString = 0x00007fff5fbf6020: {
m_ptr = 0x0000000000000000
}
(unsigned int) length = 268435456
(LChar *&) data = 0x00007fff5fbf6950: {
&data = 0x000000012ff97024
}
--
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