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

Crash on application startup if Qt5Qml library compiled with GCC 6.1.1/6.2.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.6.0, 5.6.1, 5.7.0
    • None
    • Linux armv7l
      Linux i686
    • fcc2c95421710f98c7b2dec73e2c8b0d9164bc9b

    Description

      Backtrace of crash on armv7l:

      ASSERT: "inUse()" in file /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/jsruntime/qv4engine_p.h, line 540
      
      #0  QMessageLogger::fatal (this=0xbefff4b4, this@entry=0xbefff4ac, msg=0xb59d73b0 \"ASSERT: \\\"%s\\\" in file %s, line %d\") at /usr/src/debug/qtbase/5.7.0+gitAUTOINC+69b43e74d7-r0/git/src/corelib/global/qlogging.cpp:790    
      #1  0xb570285c in qt_assert (assertion=<optimized out>, file=<optimized out>, line=line@entry=540) at /usr/src/debug/qtbase/5.7.0+gitAUTOINC+69b43e74d7-r0/git/src/corelib/global/qglobal.cpp:3091                               
      #2  0xb5e3e230 in mark (engine=0x2, this=0xb59d7334) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/jsruntime/qv4engine_p.h:540                                                                      
      #3  QV4::FunctionObject::markObjects (that=0xc13, e=0x2) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/jsruntime/qv4functionobject.cpp:191                                                          
      #4  0xb5e1a0d8 in drainMarkStack (markBase=<optimized out>, engine=<optimized out>) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/jsruntime/qv4persistent.cpp:223                                   
      #5  QV4::PersistentValueStorage::mark (this=<optimized out>, e=0x7f6d3ea8) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/jsruntime/qv4persistent.cpp:237                                            
      #6  0xb5d0e42c in QV4::MemoryManager::mark (this=this@entry=0x7f6d3f68) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/memory/qv4mm.cpp:390                                                          
      #7  0xb5d0f470 in QV4::MemoryManager::runGC (this=this@entry=0x7f6d3f68) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/memory/qv4mm.cpp:552                                                         
      #8  0xb5d108d0 in QV4::MemoryManager::allocData (this=0x7f6d3f68, size=80, unmanagedSize=unmanagedSize@entry=0) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/memory/qv4mm.cpp:312                  
      #9  0xb5e16bb4 in allocManaged<QV4::CallContext> (unmanagedSize=0, size=<optimized out>, this=<optimized out>) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/memory/qv4mm_p.h:108                   
      #10 QV4::ExecutionContext::newCallContext (this=this@entry=0xb0c01010, function=0xb0c01370, callData=0xb0c01320) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/jsruntime/qv4context.cpp:64          
      #11 0xb5e42f00 in QV4::ScriptFunction::call (that=<optimized out>, callData=<optimized out>) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/jsruntime/qv4functionobject.cpp:469                      
      #12 0xb5f5446c in call (d=0xb0c01320, this=<optimized out>) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/jsruntime/qv4object_p.h:330                                                               
      #13 QQmlJavaScriptExpression::evaluate (this=this@entry=0x7f754380, callData=callData@entry=0xb0c01320, isUndefined=0xbefff728, isUndefined@entry=0xbefff720) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/qml/qqmljavascriptexpression.cpp:196                                                                                                                                                                                     
      #14 0xb5f54d44 in QQmlJavaScriptExpression::evaluate (this=this@entry=0x7f754380, isUndefined=isUndefined@entry=0xbefff720) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/qml/qqmljavascriptexpression.cpp:156                                                                                                                                                                                                                       
      #15 0xb5f5eedc in QQmlBinding::update (this=0x7f754380, flags=...) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/qml/qqmlbinding.cpp:193                                                            
      #16 0xb5f6b3e8 in QQmlObjectCreator::finalize (this=0x7f6fa7b0, interrupt=...) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/qml/qqmlobjectcreator.cpp:1202                                         
      #17 0xb5ee4d44 in QQmlComponentPrivate::complete (enginePriv=0x7f6d3578, state=0x7f708420) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/qml/qqmlcomponent.cpp:926                                  
      #18 0xb5ee4dfc in QQmlComponentPrivate::completeCreate (this=0x7f7083c0) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/qml/qqmlcomponent.cpp:962
      #19 0xb5ee4cd0 in QQmlComponent::create (this=0x7f6c9b80, context=0x7f6f2688) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/qml/qqmlcomponent.cpp:788
      #20 0xb5f60c24 in QQmlApplicationEnginePrivate::_q_finishLoad (this=this@entry=0x7f6d3578, o=o@entry=0x7f6c9b80) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/qml/qqmlapplicationengine.cpp:136
      #21 0xb5f60eec in QQmlApplicationEnginePrivate::startLoad (this=0x7f6d3578, url=..., data=..., dataFlag=dataFlag@entry=false) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/qml/qqmlapplicationengine.cpp:115
      #22 0xb5f60f24 in QQmlApplicationEngine::load (this=<optimized out>, url=...) at /usr/src/debug/qtdeclarative/5.7.0+gitAUTOINC+d48b397cc7-r0/git/src/qml/qml/qqmlapplicationengine.cpp:260
      #23 0x7f58b414 in Application::Application (this=0xbefff9a8, parent=<optimized out>)
      #24 0x7f5736bc in main (argc=<optimized out>, argv=<optimized out>)
      

      The same crash also occurs on i686: https://bugzilla.redhat.com/show_bug.cgi?id=1329715

      Attachments

        Issue Links

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

          Activity

            People

              shausman Simon Hausmann
              net147 Jonathan Liu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes