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

Crash in QV4::Function::Function on ppc64

    XMLWordPrintable

Details

    Description

      On big-endian 64-bit PowerPC, any use of the QML engine crashes.
      It works fine on little-endian ppc64le.

      Example: qmlplugindump QtQuick.Controls 1

      Thread 1 "qmlplugindump-q" received signal SIGSEGV, Segmentation fault.
      0x00007ffff74d6528 in QV4::Function::Function (this=0x1003e83d0, engine=0x1000b5000, unit=<optimized out>, function=<optimized out>, codePtr=<optimized out>)
          at /usr/include/qt5/QtCore/qendian.h:232
      232	    operator T() const { return S::fromSpecial(val); }
      #0  0x00007ffff74d6528 in QV4::Function::Function (this=0x1003e83d0, engine=0x1000b5000, unit=<optimized out>, function=<optimized out>, codePtr=<optimized out>)
          at /usr/include/qt5/QtCore/qendian.h:232
      #1  0x00007ffff742da5c in QV4::CompiledData::CompilationUnit::linkBackendToEngine (this=0x1003aa720, engine=0x1000b5000)
          at /usr/src/debug/libqt5-qtdeclarative-5.11.2-1.1.ppc64/src/qml/compiler/qv4compileddata.cpp:370
      #2  0x00007ffff742dedc in QV4::CompiledData::CompilationUnit::linkToEngine (this=0x1003aa720, engine=<optimized out>)
          at /usr/src/debug/libqt5-qtdeclarative-5.11.2-1.1.ppc64/src/qml/compiler/qv4compileddata.cpp:182
      #3  0x00007ffff769c620 in QQmlObjectCreator::init (this=0x7fffffffe9f8, providedParentContext=<optimized out>)
          at /usr/src/debug/libqt5-qtdeclarative-5.11.2-1.1.ppc64/src/qml/qml/qqmlobjectcreator.cpp:121
      #4  0x00007ffff769c9e8 in QQmlObjectCreator::QQmlObjectCreator (this=<optimized out>, parentContext=<optimized out>, compilationUnit=<error reading variable: value has been optimized out>, 
          inheritedSharedState=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.11.2-1.1.ppc64/src/qml/qml/qqmlobjectcreator.cpp:111
      #5  0x00007ffff76a0e14 in QQmlObjectCreator::createInstance (this=0x1003b5c20, index=<optimized out>, parent=0x0, isContextObject=<optimized out>)
          at /usr/src/debug/libqt5-qtdeclarative-5.11.2-1.1.ppc64/src/qml/qml/qqmlobjectcreator.cpp:1201
      #6  0x00007ffff76a48f0 in QQmlObjectCreator::create (this=0x1003b5c20, subComponentIndex=<optimized out>, parent=0x0, interrupt=0x0)
          at /usr/src/debug/libqt5-qtdeclarative-5.11.2-1.1.ppc64/src/qml/qml/qqmlobjectcreator.cpp:203
      #7  0x00007ffff75d8ef8 in QQmlComponentPrivate::beginCreate (this=0x1002df090, context=<optimized out>)
          at /usr/src/debug/libqt5-qtdeclarative-5.11.2-1.1.ppc64/src/qml/qml/qqmlcomponent.cpp:868
      #8  0x00007ffff75d930c in QQmlComponent::beginCreate (this=<optimized out>, publicContext=<optimized out>)
          at /usr/src/debug/libqt5-qtdeclarative-5.11.2-1.1.ppc64/src/qml/qml/qqmlcomponent.cpp:817
      #9  0x00007ffff75d64dc in QQmlComponent::create (this=0x7fffffffef38, context=0x100105cb0) at /usr/src/debug/libqt5-qtdeclarative-5.11.2-1.1.ppc64/src/qml/qml/qqmlcomponent.cpp:777
      #10 0x000000010001e684 in ?? ()
      #11 0x000000010000c5f4 in ?? ()
      #12 0x00007ffff55b8888 in .generic_start_main.isra () from /lib64/libc.so.6
      #13 0x00007ffff55b8ac4 in .__libc_start_main () from /lib64/libc.so.6
      #14 0x0000000000000000 in ?? ()
      

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              vogtinator Fabian Vogt
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes