Bug: Chrome Browser Crashes When Accessing Perfetto UI From Chrome://inspect/#devices With Remote Device Connected

by ADMIN 115 views

Bug: Chrome Browser Crashes When Accessing Perfetto UI from chrome://inspect/#devices with Remote Device Connected

Google Chrome is a widely used web browser that provides a seamless browsing experience. However, like any other software, it is not immune to bugs and issues. In this article, we will discuss a bug that causes Chrome to crash when accessing the Perfetto UI from chrome://inspect/#devices with a remote device connected.

The issue occurs when a user opens chrome://inspect/#devices in Google Chrome, connects a mobile device with USB debugging enabled, and clicks on the "Trace" link to navigate to chrome://tracing/. When the user observes the yellow banner stating, "This about:tracing is connected to a remote device..." and clicks on the "Try the new Perfetto UI!" link within the banner, the entire Chrome browser crashes.

The expected behavior is that clicking the "Try the new Perfetto UI!" link should open https://ui.perfetto.dev/ without causing a browser crash. However, the actual behavior is that clicking the link from the chrome://tracing/ page causes the Chrome browser to crash.

It is worth noting that if a user manually navigates to chrome://tracing/ (without going through chrome://inspect/#devices) and clicks on the "Try the new Perfetto UI!" link, it redirects to https://ui.perfetto.dev/ without any issues or crashes. This suggests that the issue is specific to accessing the Perfetto UI through chrome://inspect/#devices while a remote device is connected.

A video demonstrating the issue can be found at https://github.com/user-attachments/assets/2628e6f2-07bf-4998-96f8-1832d794567c.

The issue was reproduced on the following environment:

  • Chrome Version: 134.0.6998.89
  • OS: macOS, 13.6

The issue can be reproduced 5 out of 5 times.

Based on the information provided, it is possible that the issue is caused by a conflict between the Chrome browser and the remote device's USB debugging feature. When the user clicks on the "Try the new Perfetto UI!" link, it may trigger a sequence of events that causes the Chrome browser to crash.

Until the issue is resolved, users can try the following workarounds:

  • Manually navigate to chrome://tracing/ and click on the "Try the new Perfetto UI!" link to access the Perfetto UI without crashing the browser.
  • Disable USB debugging on the remote device and try accessing the Perfetto UI through chrome://inspect/#devices.

In conclusion, the bug that causes Chrome to crash when accessing the Perfetto UI from chrome://inspect/#devices with a remote device connected is a significant issue that needs to be addressed. By understanding the cause of the issue and providing workarounds, users can continue to use the Chrome browser without experiencing crashes. We hope that this article has provided valuable information to help resolve this issue.

Based on the information provided, we recommend that the Chrome development team investigate this issue further and provide a fix as soon as possible. In the meantime, users can try the workarounds mentioned above to access the Perfetto UI without crashing the browser.

In the future, it would be beneficial to improve the Perfetto UI to prevent crashes when accessing it through chrome://inspect/#devices with a remote device connected. This can be achieved by implementing additional error handling and conflict resolution mechanisms to ensure a seamless browsing experience.

This issue may be related to other Chrome browser crashes or issues that occur when accessing the Perfetto UI through chrome://inspect/#devices. If you experience similar issues, please report them to the Chrome development team to help improve the browser's stability and performance.

We would like to thank the Chrome development team for their efforts in creating a stable and feature-rich browser. We hope that this article has provided valuable information to help resolve this issue and improve the overall browsing experience.
Q&A: Bug: Chrome Browser Crashes When Accessing Perfetto UI from chrome://inspect/#devices with Remote Device Connected

In our previous article, we discussed a bug that causes Chrome to crash when accessing the Perfetto UI from chrome://inspect/#devices with a remote device connected. In this article, we will provide a Q&A section to address some of the most frequently asked questions related to this issue.

A: The Perfetto UI is a new user interface for the Perfetto tool, which is a performance analysis and monitoring tool for Android and Chrome OS. It provides a more intuitive and user-friendly interface for analyzing performance data.

A: The issue is caused by a conflict between the Chrome browser and the remote device's USB debugging feature. When the user clicks on the "Try the new Perfetto UI!" link, it may trigger a sequence of events that causes the Chrome browser to crash.

A: The symptoms of this issue include:

  • The Chrome browser crashes when accessing the Perfetto UI through chrome://inspect/#devices with a remote device connected.
  • The browser may display a yellow banner stating, "This about:tracing is connected to a remote device..."
  • The browser may freeze or become unresponsive.

A: To reproduce this issue, follow these steps:

  1. Open chrome://inspect/#devices in Google Chrome.
  2. Connect a mobile device with USB debugging enabled.
  3. Click on the "Trace" link to navigate to chrome://tracing/.
  4. Observe the yellow banner stating, "This about:tracing is connected to a remote device..."
  5. Click on the "Try the new Perfetto UI!" link within the banner.

A: The possible causes of this issue include:

  • Conflict between the Chrome browser and the remote device's USB debugging feature.
  • Incompatible versions of Chrome and the remote device's operating system.
  • Insufficient system resources or memory.

A: The workarounds for this issue include:

  • Manually navigating to chrome://tracing/ and clicking on the "Try the new Perfetto UI!" link to access the Perfetto UI without crashing the browser.
  • Disabling USB debugging on the remote device and trying to access the Perfetto UI through chrome://inspect/#devices.

A: To report this issue to the Chrome development team, follow these steps:

  1. Go to the Chrome bug tracker at https://bugs.chromium.org/p/chromium/issues/list.
  2. Click on the "New Issue" button.
  3. Fill in the required information, including the issue title, description, and steps to reproduce.
  4. Submit the issue for review.

A: The current status of this issue is that it is being investigated by the Chrome development team. We will provide updates on the status of this issue as more information becomes available.

In conclusion, the bug that causes Chrome to crash when accessing the Perfetto UI from chrome://inspect/#devices with a remote device connected is a significant issue that needs to be addressed. By understanding the cause of the issue and providing workarounds, users can continue to use the Chrome browser without experiencing crashes. We hope that this Q&A article has provided valuable information to help resolve this issue.