Extension crashes when installed from webstore but runs fine when loaded as unpacked extension from filesystem
Reported by
schizodu...@gmail.com,
Jan 2 2018
|
||
Issue descriptionUserAgent: Mozilla/5.0 (X11; CrOS armv7l 10176.22.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.41 Safari/537.36 Platform: 10176.22.0 (Official Build) beta-channel nyan_big Steps to reproduce the problem: 1. I Install "DuckieTV - 'New Tab' mode - Nightly" on an Acer Chromebook 13 model (CB5-311) from https://chrome.google.com/webstore/detail/duckietv-new-tab-mode-nig/jndkngpbgmnkbhbjafmjhabcjmgeogfc 2. Open new tab, observe initial DuckieTV load and page crash after about 2 seconds, then a revert to the default 'new tab'. 3. chrome://extensions says "DuckieTV - 'New Tab' mode - Nightly 3018.1.2.91 This extension may have been corrupted." and offers a 'repair' function, which reinstalls the extension only to crash faster at next load. 4. ~/log/chrome.log says: --- [1299:1299:0103/001425.531660:WARNING:sync_file_system_service.cc(100)] Failed to enable origin for load event: chrome-extension://jndkngpbgmnkbhbjafmjhabcjmgeogfc/ [1299:1299:0103/001438.787888:WARNING:sync_file_system_service.cc(90)] Failed to disable origin for unload event: chrome-extension://jndkngpbgmnkbhbjafmjhabcjmgeogfc/ [1299:1299:0103/001438.884631:ERROR:extension_function_dispatcher.cc(566)] Permission denied for topSites.get [1299:1448:0103/001439.016200:WARNING:url_request_job_manager.cc(90)] Failed to map: chrome-extension://jndkngpbgmnkbhbjafmjhabcjmgeogfc/img/logo/duckietv.png [1299:1448:0103/001439.019314:WARNING:url_request_job_manager.cc(90)] Failed to map: chrome-extension://jndkngpbgmnkbhbjafmjhabcjmgeogfc/img/logo/icon64-inverted.png [1299:1448:0103/001439.022025:WARNING:url_request_job_manager.cc(90)] Failed to map: chrome-extension://jndkngpbgmnkbhbjafmjhabcjmgeogfc/img/torrentclients/utorrent-small.png ------ 5. download a nightly from github: https://github.com/DuckieTV/Nightlies/releases/download/nightly-201801020130/DuckieTV-201801020130-chrome-newtab.zip 6. Extract nightly to ~/Downloads/ via the file manager and load it as an unpacked extension 7. Open a new tab. Observe that the extension loads normally without crashing. ~/logs/chrome says: ------------------- [1299:1299:0103/004139.112255:WARNING:render_frame_host_impl.cc(2728)] OnDidStopLoading was called twice. [1299:1299:0103/004142.183136:ERROR:CONSOLE(42)] "Could not load fanart for tvdb_id=", source: chrome-extension://bhonfhjdmiipipidedpbdhameaglpaib/js/services/FanartService.js (42) [1299:1299:0103/004156.807964:WARNING:sync_file_system_service.cc(100)] Failed to enable origin for load event: chrome-extension://bhonfhjdmiipipidedpbdhameaglpaib/ [1299:1299:0103/004157.216995:WARNING:CONSOLE(333)] "loading pref showConsoleLogs before prefs were initialised, you will not get the correct result", source: chrome-extension://mlomiejdfkolichcflejclcbmpeaniij/cliqz/core/content-script.bundle.js (333) [1299:1448:0103/004202.427766:WARNING:spdy_session.cc(2938)] Received HEADERS for invalid stream 87 [1299:1299:0103/004204.040043:ERROR:CONSOLE(14195)] "uTorrent Web UI Connect call failed.", source: chrome-extension://bhonfhjdmiipipidedpbdhameaglpaib/js/vendor/angular.js (14195) [1299:1299:0103/004204.898597:ERROR:CONSOLE(102)] "Uncaught (in promise) #<Object>", source: chrome-extension://bhonfhjdmiipipidedpbdhameaglpaib/js/vendor/CRUD.BackgroundPageAdapter.js (102) [1299:1299:0103/004204.903233:ERROR:CONSOLE(102)] "Uncaught (in promise) #<Object>", source: chrome-extension://bhonfhjdmiipipidedpbdhameaglpaib/js/vendor/CRUD.BackgroundPageAdapter.js (102) [1299:1299:0103/004204.908219:ERROR:CONSOLE(102)] "Uncaught (in promise) #<Object>", source: chrome-extension://bhonfhjdmiipipidedpbdhameaglpaib/js/vendor/CRUD.BackgroundPageAdapter.js (102) --------------- What is the expected behavior? The extension should load without crashing when installed from the webstore on a chromebook. What went wrong? I'm not certain, but i think the lines that say mapping failed in url_request_job_manager.cc(90) have something to do with it. WebStore page: DuckieTV - 'New Tab' mode - Nightly Did this work before? N/A Chrome version: 64.0.3282.41 Channel: beta OS Version: 10176.22.0 Flash Version: 28.0.0.133 I've enabled dev mode on my chromebook if you need me to look at anything.
,
Jan 3
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
||
►
Sign in to add a comment |
||
Comment 1 by schizodu...@gmail.com
, Jan 2 2018I also noted that there is no permission denied for topSites.get api when loaded from the unpacked extension. To verify that neither this nor the early failed http requests matter i've loaded the extension from the webstore, opened the background page console after it crashed and executed the following in the console, which disables both: localStorage.setItem("userPreferences", '{"topSites.enabled": false, "torrenting.enabled": false}'); The result is that the extension now crashes without either the topsites message or the uTorrent Web UI noise messages.