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

QWebEngineView crashes with some JPGs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • 5.6.2
    • 5.6.1
    • WebEngine
    • None
    • MacOs Sierra

      QWebEngineView crashes when trying to load some specific JPG images, or any HTML page containing an IMG tag with those images. Some JPG images work normally. Attached one image loading normally (qtlogo.jpg) and two problematic ones (karlsruhe.jpg, troll.jpg).

      When one of those images is encountered, the widget "flashes", then becomes entirely grey and unresponsive.

      It has been reproduced in a minimal example (attached).

      It happens with local pages as well as remote ones, with http as well as https.

        1. karlsruhe.jpg
          25 kB
          Eugenio Rustico
        2. main_reproducer.cpp
          0.7 kB
          Eugenio Rustico
        3. page_with_bad_jpg.html
          0.3 kB
          Eugenio Rustico
        4. page_with_good_jpg.html
          0.3 kB
          Eugenio Rustico
        5. qtlogo.jpg
          22 kB
          Eugenio Rustico
        6. troll.jpg
          2 kB
          Eugenio Rustico
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt_webengine_team Qt WebEngine Team
            narcolessico Eugenio Rustico
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes