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

QtWebEngine: Render process crash with segfault

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.5.7, 6.7.0
    • 6.6.2
    • None
    • x86-64 on Yocto Nanbield
    • Linux/Yocto

    Description

      On a x86-64 target based on Yocto Nanbield and Qt 6.6.2 I see on a specific web page(https://developer.mozilla.org/en-US/docs/Web) renderer process crashes.

      audit[865]: ANOM_ABEND auid=4294967295 uid=1000 gid=100 ses=4294967295 subj=_ pid=865 comm="QtWebEngineProc" exe="/usr/libexec/QtWebEngineProcess" sig=11 res=1
      kernel: QtWebEngineProc[865]: segfault at 7fea8df68080 ip 00007feb065cc0e6 sp 00007ffe78009470 error 4 in libQt6WebEngineCore.so.6.6.2[7feb05146000+881d000] likely on CPU 0 (core 0, socket 0)
      kernel: Code: ff ff bb 4c 04 00 00 e9 a2 fd ff ff dd d8 4d 63 e4 89 b5 24 f7 ff ff 89 8d 28 f7 ff ff f2 0f 11 b5 18 f7 ff ff e8 3a bb b7 fe <43> 0f b6 14 27 48 63 c3 8b 8d 28 f7 ff ff 8b b5 24 f7 ff ff f2 0f
      kernel: audit: type=1701 audit(1709277805.231:18): auid=4294967295 uid=1000 gid=100 ses=4294967295 subj=_ pid=865 comm="QtWebEngineProc" exe="/usr/libexec/QtWebEngineProcess" sig=11 res=1
      

      On an other target based on a i.MX6 this works w/o issue.
      I also tested this on my Desktop(Arch Linux based) and there this doesn't seem to be an issue either.

      I tried to debug it and ended up with this backtrace:

      Thread 1 "QtWebEngineProc" received signal SIGSEGV, Segmentation faultwarning: could not convert 'v8::internal' from the host encoding (UTF-8) to UTF-32.
      This normally should not happen, please file a bug report.
      (gdb) bt
      v8::internal::DoubleToRadixCString () at /usr/src/debug/qtwebengine/6.6.2-r0/src/3rdparty/chromium/v8/src/numbers/conversions.cc:1429
      1429    /usr/src/debug/qtwebengine/6.6.2-r0/src/3rdparty/chromium/v8/src/numbers/conversions.cc: No such file or directory.
      v8::internal::DoubleToRadixCString () at /usr/src/debug/qtwebengine/6.6.2-r0/src/3rdparty/chromium/v8/src/numbers/conversions.cc:1429
      1429    /usr/src/debug/qtwebengine/6.6.2-r0/src/3rdparty/chromium/v8/src/numbers/conversions.cc: No such file or directory.
      (gdb) bt
      #0  v8::internal::DoubleToRadixCString () at /usr/src/debug/qtwebengine/6.6.2-r0/src/3rdparty/chromium/v8/src/numbers/conversions.cc:1429
      #1  0x00007f7fec333bc7 in __RT_impl_Runtime_DoubleToStringWithRadix () at /usr/src/debug/qtwebengine/6.6.2-r0/src/3rdparty/chromium/v8/src/runtime/runtime-internal.cc:794
      #2  v8::internal::Runtime_DoubleToStringWithRadix () at /usr/src/debug/qtwebengine/6.6.2-r0/src/3rdparty/chromium/v8/src/runtime/runtime-internal.cc:787
      #3  0x00007f7fecaeddf5 in Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit () from /usr/lib/libQt6WebEngineCore.so.6
      #4  0x00007f7fecb3ecc0 in Builtins_NumberPrototypeToString () from /usr/lib/libQt6WebEngineCore.so.6
      #5  0x00007f7feca60e66 in Builtins_InterpreterEntryTrampoline () from /usr/lib/libQt6WebEngineCore.so.6
      

      I also tried using the QtWebEngine library from my desktop, and surprisingly that also worked without any problems.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            h4nn35 Johannes Pointner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes