New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 818395 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Chrome crashes if you try to set a url for a folder through an extension

Reported by gabr...@gsdb.net, Mar 3 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36

Steps to reproduce the problem:
1. Use the chrome.bookmarks API to create a folder and store its id;
2. Try to change its url to anything (even though this does not make sense).
3. Chrome crashes

Code:

chrome.bookmarks.create({title: 'empty folder'}, function(bookmark) {
    var id = bookmark.id;

    chrome.bookmarks.update(id, {url: 'https://example.com'}, function() {

    });
});

** Crashes **

What is the expected behavior?
Throw an exception

What went wrong?
Chrome crashes on Linux (segfault) and hangs on Windows/macOS

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 64.0.3282.167  Channel: n/a
OS Version: Ubuntu 16.04.3
Flash Version: 

Tested with:

Chrome 49.0.2623.112 on Windows XP [!]
Chrome Stable 64.0.3282.167 on Ubuntu 16.04.3
Chrome Dev 66.0.3346.8 on Ubuntu 16.04.3
Chrome 63.0.3239.108 on macOS 10.12
Canary 66.0.3359.0 on Windows 7
 
crash.zip
1.2 KB Download

Comment 1 Deleted

Labels: Needs-Triage-M64
Cc: sindhu.chelamcherla@chromium.org
Components: Platform>Extensions UI>Browser>Bookmarks
Labels: Triaged-ET M-67 Target-67 FoundIn-67 OS-Mac OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on latest stable 64.0.3282.186, on latest beta 65.0.3325.106 and latest canary 66.0.3361.0 using Ubuntu 14.04, Windows 10 and Mac 10.13.3. i.e; On clicking on button chrome becomes and then crashes.

This issue is seen from M-60. Hence considering this issue as Non-Regression and marking as Untriaged.

Thanks! 
Owner: lazyboy@chromium.org
Status: Assigned (was: Untriaged)
Istiaque: Seems you have delved into Bookmarks code before. Can you take this? 
I'll take a look when I get a chance, since this involves a crash, no good. Feel free to steal it if anyone's interested (right away).
Labels: -Hotlist-Interop
Status: Fixed (was: Assigned)
@gabr...@gsdb.net, many thanks for the report!

Comment 9 Deleted

Sign in to add a comment