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

tst_qtgraphicaleffects::dropShadow() segfaults on powerpc in QV4::Moth::VME::run

    XMLWordPrintable

Details

    Description

      Short version of the stacktrace:

      #0  QV4::Moth::VME::run (this=this@entry=0xfffe98ef, engine=engine@entry=0x10080648, code=0xf6cbdbc8 "\017\212~ ", 
          code@entry=0xf6cbd900 "\017\212\177\020", storeJumpTable=storeJumpTable@entry=0x0) at jsruntime/qv4vme_moth.cpp:915
      #1  0x0f8aa2b4 in QV4::Moth::VME::exec (engine=0x10080648, code=0xf6cbd900 "\017\212\177\020") at jsruntime/qv4vme_moth.cpp:974
      #2  0x0f839314 in QV4::SimpleScriptFunction::call (that=<optimized out>, callData=0xf64108d0) at jsruntime/qv4functionobject.cpp:582
      #3  0x0f8c05f0 in QV4::Object::call (d=0xf64108d0, this=0xf6410920) at jsruntime/qv4object_p.h:330
      #4  QV4::Runtime::callActivationProperty (engine=engine@entry=0x10080648, nameIndex=<optimized out>, callData=0xf64108d0)
          at jsruntime/qv4runtime.cpp:980
      #5  0x0f8a81a0 in QV4::Moth::VME::run (this=this@entry=0xfffe9b9f, engine=engine@entry=0x10080648, code=0xf6cbbff8 "\017\212\224\340", 
          code@entry=0xf6cbbfd0 "\017\212\177\020", storeJumpTable=storeJumpTable@entry=0x0) at jsruntime/qv4vme_moth.cpp:632
      #6  0x0f8aa2b4 in QV4::Moth::VME::exec (engine=0x10080648, code=0xf6cbbfd0 "\017\212\177\020") at jsruntime/qv4vme_moth.cpp:974
      #7  0x0f839314 in QV4::SimpleScriptFunction::call (that=<optimized out>, callData=0xf6410860) at jsruntime/qv4functionobject.cpp:582
      #8  0x0f970a80 in QV4::Object::call (d=0xf6410860, this=0xf6dd0148)
          at ../../include/QtQml/5.7.0/QtQml/private/../../../../../src/qml/jsruntime/qv4object_p.h:330
      #9  QQmlJavaScriptExpression::evaluate (this=this@entry=0x100c85c0, callData=callData@entry=0xf6410860, isUndefined=isUndefined@entry=0x0)
          at qml/qqmljavascriptexpression.cpp:196
      #10 0x0f8fced0 in QQmlBoundSignalExpression::evaluate (this=0x100c85c0, a=<optimized out>) at qml/qqmlboundsignal.cpp:244
      #11 0x0f8fecac in QQmlBoundSignal_callback (e=0x100c74b0, a=0x0) at qml/qqmlboundsignal.cpp:376
      

      For the complete version (thread apply all bt full), please see the attached file.

      Line 915 of jsruntime/qv4vme_moth.cpp is:

              engine->current->lineNumber = instr.lineNumber;
      

      gdb shows that engine->current is a null pointer:

      (gdb) p engine
      $1 = (QV4::ExecutionEngine *) 0x10080648
      (gdb) p engine->current
      $2 = (QV4::Heap::ExecutionContext *) 0x0
      

      I will be happy to provide any other debugging information if needed.

      Attachments

        1. tests_log.txt
          65 kB
          Dmitry Shachnev
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            shausman Simon Hausmann
            mandriver Dmitry Shachnev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes