DevTools does not open at 84.0.4115.5

Bug #1873996 reported by guest271314
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Fix Released
Medium
Olivier Tilloy

Bug Description

https://bugs.chromium.org/p/chromium/issues/detail?id=1072187

Steps to reproduce the problem:
1. Ctrl+Shift+I or right-click, click Inspect
2. Navigate to chrome://inspect/#pages, click inspect
3.

What is the expected behavior?
DevTools to open

What went wrong?
DevTools does not open.

Did this work before? Yes Chromium 83

Chrome version: 84.0.4115.5 Channel: dev

$ chromium-browser --temp-profile

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.509: Theme parsing error: gtk.css:597:14: not a number

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.509: Theme parsing error: gtk.css:597:14: Expected a string.

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.509: Theme parsing error: gtk.css:600:17: Expected a string.

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.510: Theme parsing error: gtk.css:784:14: not a number

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.510: Theme parsing error: gtk.css:784:14: Expected a string.

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.510: Theme parsing error: gtk.css:787:17: Expected a string.

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.511: Theme parsing error: gtk.css:1096:14: not a number

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.512: Theme parsing error: gtk.css:1096:14: Expected a string.

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.512: Theme parsing error: gtk.css:1099:17: Expected a string.

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.517: Theme parsing error: gtk.css:2286:8: not a number

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.517: Theme parsing error: gtk.css:2286:18: Using Pango syntax for the font: style property is deprecated; please use CSS syntax

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.517: Theme parsing error: gtk.css:2291:8: not a number

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.517: Theme parsing error: gtk.css:2291:18: Using Pango syntax for the font: style property is deprecated; please use CSS syntax

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.523: Theme parsing error: gtk.css:4357:14: not a number

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.523: Theme parsing error: gtk.css:4357:14: Expected a string.

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.523: Theme parsing error: gtk.css:4419:12: not a number

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.523: Theme parsing error: gtk.css:4419:12: Expected a string.

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.523: Theme parsing error: gtk.css:4428:16: not a number

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.524: Theme parsing error: gtk.css:4428:16: Expected a string.

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.524: Theme parsing error: gtk.css:4443:22: not a number

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.524: Theme parsing error: gtk.css:4443:22: Expected a string.

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.524: Theme parsing error: gtk.css:4499:12: Expected a string.

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.524: Theme parsing error: gtk.css:4501:16: not a number

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.524: Theme parsing error: gtk.css:4501:16: Expected a string.

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.524: Theme parsing error: gtk.css:4549:12: not a number

(chromium-browser:21919): Gtk-WARNING **: 03:41:50.524: Theme parsing error: gtk.css:4549:12: Expected a string.
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open i915 (search paths /usr/lib/i386-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load driver: i915
MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/i386-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /usr/lib/i386-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load swrast driver
[21919:21919:0421/034207.195874:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'Runtime' of undefined", source: devtools://devtools/bundled/root/root-legacy.js (1)
[21919:21919:0421/034207.195989:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'Runtime' of undefined", source: devtools://devtools/bundled/root/root-legacy.js (1)
[21919:21919:0421/034207.197368:ERROR:CONSOLE(70)] "Uncaught TypeError: Cannot read property 'setInspectedTabId' of undefined", source: devtools://devtools/bundled/devtools_compatibility.js (70)
** Message: 03:42:21.246: Remote error from secret service: org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.Secret.Collection' on object at path /org/freedesktop/secrets/collection/login
** Message: 03:42:21.252: Remote error from secret service: org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.Secret.Collection' on object at path /org/freedesktop/secrets/collection/login
ubuntu-studio@ubuntu-studio:~$
(chromium-browser:22305): Gtk-WARNING **: 03:46:11.735: Theme parsing error: gtk.css:597:14: not a number

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.735: Theme parsing error: gtk.css:597:14: Expected a string.

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.735: Theme parsing error: gtk.css:600:17: Expected a string.

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.736: Theme parsing error: gtk.css:784:14: not a number

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.736: Theme parsing error: gtk.css:784:14: Expected a string.

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.736: Theme parsing error: gtk.css:787:17: Expected a string.

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.738: Theme parsing error: gtk.css:1096:14: not a number

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.738: Theme parsing error: gtk.css:1096:14: Expected a string.

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.738: Theme parsing error: gtk.css:1099:17: Expected a string.

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.743: Theme parsing error: gtk.css:2286:8: not a number

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.743: Theme parsing error: gtk.css:2286:18: Using Pango syntax for the font: style property is deprecated; please use CSS syntax

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.743: Theme parsing error: gtk.css:2291:8: not a number

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.743: Theme parsing error: gtk.css:2291:18: Using Pango syntax for the font: style property is deprecated; please use CSS syntax

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.749: Theme parsing error: gtk.css:4357:14: not a number

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.749: Theme parsing error: gtk.css:4357:14: Expected a string.

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.750: Theme parsing error: gtk.css:4419:12: not a number

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.750: Theme parsing error: gtk.css:4419:12: Expected a string.

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.750: Theme parsing error: gtk.css:4428:16: not a number

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.750: Theme parsing error: gtk.css:4428:16: Expected a string.

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.750: Theme parsing error: gtk.css:4443:22: not a number

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.750: Theme parsing error: gtk.css:4443:22: Expected a string.

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.750: Theme parsing error: gtk.css:4499:12: Expected a string.

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.750: Theme parsing error: gtk.css:4501:16: not a number

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.750: Theme parsing error: gtk.css:4501:16: Expected a string.

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.750: Theme parsing error: gtk.css:4549:12: not a number

(chromium-browser:22305): Gtk-WARNING **: 03:46:11.751: Theme parsing error: gtk.css:4549:12: Expected a string.
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open i915 (search paths /usr/lib/i386-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load driver: i915
MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/i386-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /usr/lib/i386-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load swrast driver
[22305:22305:0421/034620.183897:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'Runtime' of undefined", source: devtools://devtools/bundled/root/root-legacy.js (1)
[22305:22305:0421/034620.183967:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'Runtime' of undefined", source: devtools://devtools/bundled/root/root-legacy.js (1)
[22305:22305:0421/034620.185275:ERROR:CONSOLE(70)] "Uncaught TypeError: Cannot read property 'setInspectedTabId' of undefined", source: devtools://devtools/bundled/devtools_compatibility.js (70)
Fontconfig error: Cannot load default config file: No such file: (null)
[22305:22305:0421/034638.655575:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'Runtime' of undefined", source: devtools://devtools/bundled/root/root-legacy.js (1)
[22305:22305:0421/034638.655697:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'Runtime' of undefined", source: devtools://devtools/bundled/root/root-legacy.js (1)
[22305:22305:0421/034638.656908:ERROR:CONSOLE(70)] "Uncaught TypeError: Cannot read property 'setInspectedTabId' of undefined", source: devtools://devtools/bundled/devtools_compatibility.js (70)
** Message: 03:46:42.108: Remote error from secret service: org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.Secret.Collection' on object at path /org/freedesktop/secrets/collection/login
** Message: 03:46:42.114: Remote error from secret service: org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.Secret.Collection' on object at path /org/freedesktop/secrets/collection/login
^C

Revision history for this message
Olivier Tilloy (osomon) wrote :

I can reliably reproduce the problem with chromium-browser 84.0.4115.5-0ubuntu0.18.04.1 from the dev PPA (ppa:chromium-team/dev). The relevant error messages are:

[22305:22305:0421/034620.183897:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'Runtime' of undefined", source: devtools://devtools/bundled/root/root-legacy.js (1)
[22305:22305:0421/034620.183967:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'Runtime' of undefined", source: devtools://devtools/bundled/root/root-legacy.js (1)
[22305:22305:0421/034620.185275:ERROR:CONSOLE(70)] "Uncaught TypeError: Cannot read property 'setInspectedTabId' of undefined", source: devtools://devtools/bundled/devtools_compatibility.js (70)

Note that the chromium snap in the edge channel (version 84.0.4115.5) is not affected, devtools function correctly.

Changed in chromium-browser (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
guest271314 (guest271314) wrote :

Any progress towards fixing or workarounds for this bug?

Revision history for this message
Olivier Tilloy (osomon) wrote :

I haven't had a chance to look into it yet, but it is on my radar.

Changed in chromium-browser (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
Revision history for this message
guest271314 (guest271314) wrote :

Ok. Thanks. The console is open all of the time here for testing and experimentation. Random tabs crashing are simpler to deal with than console not opening at all.

Not sure what precisely is undefined at root-legacy.js and devtools_compatibility.js. Did notice that changes were recently made at https://github.com/ChromeDevTools/devtools-frontend/blob/5e43b27e8b453a22e365561b6a9a08d47999e6d4/front_end/root/module.json and https://github.com/ChromeDevTools/devtools-frontend/blob/6d51bf00ea3cdb7ef4d935bb52c15e25708f21fb/front_end/RuntimeInstantiator.js

Revision history for this message
Olivier Tilloy (osomon) wrote :

One interesting data point: the chromium snap in the edge channel (currently at version 84.0.4147.13), built on bionic, isn't affected by this bug.

Revision history for this message
guest271314 (guest271314) wrote :

Have no experience with snap. What is edge channel? Browsed through an article/thread a few days ago where snap was being discussed (could have been a thread started by you?) and observed mixed reviews. Six of one half dozen of the other re bugs? Where and how to download and test?

Revision history for this message
guest271314 (guest271314) wrote :

Is this https://askubuntu.com/a/1190417 the basic installation procedure?

Revision history for this message
guest271314 (guest271314) wrote :

Can the stable version 81.0.4044.138 (Official Build) Built on Ubuntu , running on Ubuntu 18.04 (32-bit) and the snap version be run at the ssame time? Or does a separate user data dir need to be created to avoid conflicts?

Revision history for this message
guest271314 (guest271314) wrote :

A caveat "By default, snap isolation allows camera but not microphone." https://askubuntu.com/a/1222063 ?

Look before leap. Use getUserMedia() and microphone frequently here. What else needs to be adjusted or known to have similar functionality to apt download version? Will snap version allow using Native File System https://github.com/guest271314/captureSystemAudio ?

Revision history for this message
Olivier Tilloy (osomon) wrote :

That first link (in comment #7) contains incorrect information. Official documentation is at https://snapcraft.io/docs. For the chromium snap, the edge channel contains the dev builds of chromium (so equivalent to ppa:chromium-team/dev).

There are a few known issues with the snap package (https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bugs?field.tag=snap), but in general it works well for most users. Bug reports are welcome if you undertake some serious testing (don't forget to state that you're using the snap).

Revision history for this message
Olivier Tilloy (osomon) wrote :

Back to the issue at hand here: I replaced resources.pak from the deb by the one from the edge snap, and devtools work again, so there's something wrong with packing the devtools-frontend resources.

Revision history for this message
guest271314 (guest271314) wrote :

> Bug reports are welcome if you undertake some serious testing

Yes. That will be the case.

> I replaced resources.pak from the deb by the one from the edge snap, and devtools work again, so there's something wrong with packing the devtools-frontend resources.

Yes, gather something is wrong. Is that a solution or a temporary patch to exclude other potential causation?

Revision history for this message
Olivier Tilloy (osomon) wrote :

Neither a solution nor a temporary patch, this is just me digging into the issue and commenting on my findings along the way. As soon as I have a fix, I will state it here and push new builds to the PPA.

Revision history for this message
guest271314 (guest271314) wrote :

Ok. Should the upstream bug be closed?

Revision history for this message
Olivier Tilloy (osomon) wrote :

Yes indeed, feel free to close it. Thanks!

Revision history for this message
Olivier Tilloy (osomon) wrote :

84.0.4147.21-0ubuntu0.18.04.1 is still equally affected

description: updated
Revision history for this message
Olivier Tilloy (osomon) wrote :

Some progress at last: using the Node.js binary downloaded by the chromium build tools (third_party/node/update_node_binaries) generates a complete devtools_resources.pak, as opposed to using the older, system-wide binary (/usr/bin/node).

This patch (https://bazaar.launchpad.net/~chromium-team/chromium-browser/bionic-dev/view/head:/debian/patches/node-use-system-wide.patch) is what causes the build to use the system-wide version. We could probably use nodejs-mozilla instead, which is at version 12.16.1 in {xenial,bionic}-{security,updates}.

Revision history for this message
Olivier Tilloy (osomon) wrote :
Changed in chromium-browser (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
guest271314 (guest271314) wrote :

DevTools opens at 85.0.4158.4 (Official Build) Built on Ubuntu , running on Ubuntu 18.04 (32-bit)
Revision 14899d5fe32117d53661101cc845d0da3eab0fb5-refs/branch-heads/4158@{#9}

Olivier Tilloy (osomon)
Changed in chromium-browser (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.