Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-58698

Segfault / inconsistent behavior on render process crashes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.10.0, 5.9.4
    • 5.8.0, 5.9.0 Alpha, 5.10.0
    • WebEngine
    • None
    • Archlinux
    • 75390a1c00859ec805dcab6a88380f62a9f641d9 c4bc2f830d62ead99ca1d681992f1efafa7f70d6

      This is all with the demobrowser:

      • When going to chrome://crash in a new tab without any history, we get a reload loop (which is what I'd expect because the demobrowser just calls reload() on crashes)
      • When trying to close the tab in the reload loop, it either won't work, will SIGTRAP/abort with [13295:13295:0208/001649:FATAL:render_widget_host_impl.h(520)] Check failed: in_flight_event_count_ > 0 (0 vs. 0) (stack)
      • When doing the same on a page without history, the page which was loaded before is reloaded, which seems wrong.
      • When changing the code (in WebView::WebView in webview.cpp) to do setHtml("foo"); instead of reload(); and visiting the URL in an existing tab, there's a segfault in the main process (stack on 5.8). I think this one is fixed by https://codereview.qt-project.org/#/c/181111/ though.

        1. unload.html
          0.2 kB
          Peter Varga
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            pvarga Peter Varga
            the compiler Florian Bruhin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes