New issue
Advanced search Search tips

Issue 626130 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner: ----
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug-Regression



Sign in to add a comment

Empty match from ClipboardURLProvider causes check failure in ClassifyLocationInString

Project Member Reported by mattreynolds@chromium.org, Jul 6 2016

Issue description

To repro:

1. On iOS, highlight a URL (eg, https://google.com) and copy it to the clipboard.

2. In Chrome, open the New Tab Page.

3. With the omnibox empty, tap the omnibox to see the autocomplete results.


Expected:

On iOS, when the omnibox is empty and the clipboard contains a URL, the only autocomplete result should be the clipboard URL.


Actual:

* thread #1: tid = 0x30023c, 0x0000000101baf284 Chromium`base::debug::BreakDebugger() + 24 at debugger_posix.cc:249, name = 'CrWebMain', queue = 'com.apple.main-thread', stop reason = EXC_BREAKPOINT (code=1, subcode=0x101baf284)
    frame #0: 0x0000000101baf284 Chromium`base::debug::BreakDebugger() + 24 at debugger_posix.cc:249
    frame #1: 0x0000000101bfa610 Chromium`logging::LogMessage::~LogMessage(this=0x000000016fd6eb00) + 2440 at logging.cc:748
    frame #2: 0x0000000101bf7da8 Chromium`logging::LogMessage::~LogMessage(this=0x000000016fd6eb00) + 28 at logging.cc:528
  * frame #3: 0x0000000101521ecc Chromium`AutocompleteMatch::ClassifyLocationInString(match_location=0, match_length=0, overall_length=15, style=1, classification=0x000000016fd6f578 size=0) + 808 at autocomplete_match.cc:313
    frame #4: 0x0000000101552130 Chromium`HistoryURLProvider::SuggestExactInput(this=0x000000015cf390b0, input=0x000000015ce61e60, destination_url=0x000000015ce61e80, trim_http=true) + 2060 at history_url_provider.cc:617
    frame #5: 0x000000010162e4d0 Chromium`VerbatimMatchForURL(client=0x000000015ce36840, input=0x000000015ce61e60, destination_url=0x000000015ce61e80, history_url_provider=0x000000015cf390b0, verbatim_relevance=-1) + 172 at verbatim_match.cc:30
    frame #6: 0x000000010154b610 Chromium`ClipboardURLProvider::Start(this=0x000000015ce77a80, input=0x000000015ce61e60, minimal_changes=false) + 632 at clipboard_url_provider.cc:44
    frame #7: 0x0000000101511704 Chromium`AutocompleteController::Start(this=0x000000015ce61e10, input=0x000000015ce5faf0) + 1644 at autocomplete_controller.cc:267
    frame #8: 0x000000010158c300 Chromium`OmniboxEditModel::OnSetFocus(this=0x000000015ce5f990, control_down=false) + 660 at omnibox_edit_model.cc:995
    frame #9: 0x00000001006e41d0 Chromium`-[WebToolbarController focusFakebox](self=0x000000015ce5f670, _cmd="focusFakebox") + 96 at web_toolbar_controller.mm:1360
    frame #10: 0x000000010053d4bc Chromium`-[GoogleLandingController searchFieldTapped:](self=0x000000015cfa1800, _cmd="searchFieldTapped:", sender=0x000000015cfac420) + 68 at google_landing_controller.mm:1064
    frame #11: 0x0000000188560be8 UIKit`-[UIApplication sendAction:to:from:forEvent:] + 100
    frame #12: 0x0000000188560b64 UIKit`-[UIControl sendAction:to:forEvent:] + 80
    frame #13: 0x0000000188548870 UIKit`-[UIControl _sendActionsForEvents:withEvent:] + 436
    frame #14: 0x0000000188560454 UIKit`-[UIControl touchesEnded:withEvent:] + 572
    frame #15: 0x0000000188518c0c UIKit`_UIGestureRecognizerUpdate + 8988
    frame #16: 0x0000000188559610 UIKit`-[UIWindow _sendGesturesForEvent:] + 1132
    frame #17: 0x0000000188558c0c UIKit`-[UIWindow sendEvent:] + 764
    frame #18: 0x000000018852904c UIKit`-[UIApplication sendEvent:] + 248
    frame #19: 0x0000000188527628 UIKit`_UIApplicationHandleEventQueue + 6568
    frame #20: 0x000000018338109c CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
    frame #21: 0x0000000183380b30 CoreFoundation`__CFRunLoopDoSources0 + 540
    frame #22: 0x000000018337e830 CoreFoundation`__CFRunLoopRun + 724
    frame #23: 0x00000001832a8c50 CoreFoundation`CFRunLoopRunSpecific + 384
    frame #24: 0x0000000184b90088 GraphicsServices`GSEventRunModal + 180
    frame #25: 0x0000000188592088 UIKit`UIApplicationMain + 204
    frame #26: 0x0000000100092240 Chromium`main(argc=2, argv=0x000000016fd73ae0) + 676 at chrome_exe_main.mm:71
    frame #27: 0x0000000182e468b8 libdyld.dylib`start + 4

 
Mergedinto: 625313
Status: Duplicate (was: Untriaged)

Sign in to add a comment