Bug 129698

Summary: ASSERT Failure: stringImpl.length() > 1 in JSString.h
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: JavaScriptCoreAssignee: Michael Saboff <msaboff>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch ggaren: review+, commit-queue: commit-queue-

Michael Saboff
Reported 2014-03-04 13:22:16 PST
This ASSERT (and preceding comment) // Should have picked a VM-global empty or single-character string already. ASSERT(stringImpl.length() > 1); isn't accurate. The ASSERT should be updated to handle the case where we have a single character string with the characters value greater than JSC::maxSingleCharacterString (currently 255).
Attachments
Patch (1.62 KB, patch)
2014-03-04 13:25 PST, Michael Saboff
ggaren: review+
commit-queue: commit-queue-
Michael Saboff
Comment 1 2014-03-04 13:25:55 PST
Geoffrey Garen
Comment 2 2014-03-04 13:50:04 PST
Comment on attachment 225809 [details] Patch r=me
WebKit Commit Bot
Comment 3 2014-03-04 13:51:10 PST
Comment on attachment 225809 [details] Patch Rejecting attachment 225809 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-03', 'apply-attachment', '--no-update', '--non-interactive', 225809, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: Garen']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Parsed 2 diffs from patch file(s). patching file Source/JavaScriptCore/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/JavaScriptCore/runtime/JSString.h Hunk #1 FAILED at 416. 1 out of 1 hunk FAILED -- saving rejects to file Source/JavaScriptCore/runtime/JSString.h.rej Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Geoffrey Garen']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output: http://webkit-queues.appspot.com/results/4558849583349760
Michael Saboff
Comment 4 2014-03-04 14:45:31 PST
akling fixed this by removing the ASSERT in r165066.
Note You need to log in before you can comment on or make changes to this bug.