segfault in tst_subtheming on xenial

Bug #1539558 reported by Timo Jyrinki
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Committed
High
Zoltan Balogh
ubuntu-ui-toolkit (Ubuntu)
Fix Released
High
Zsombor Egri

Bug Description

Program received signal SIGSEGV, Segmentation fault.
0x00007fdef2592280 in QV4::Value::operator= (v=<optimized out>, this=0x7fded67ff0) at jsruntime/qv4value_p.h:390
390 jsruntime/qv4value_p.h: No such file or directory.
(gdb) bt
#0 0x00007fdef2592280 in QV4::Value::operator= (v=<optimized out>, this=0x7fded67ff0) at jsruntime/qv4value_p.h:390
#1 QV4::ScopedProperty::ScopedProperty (scope=<synthetic pointer>, this=<synthetic pointer>) at jsruntime/qv4scopedvalue_p.h:436
#2 QV4::Object::insertMember (attributes=..., v=..., s=0x2061440, this=0x7fded67ff0d0) at jsruntime/qv4object_p.h:202
#3 QV4::Object::defineReadonlyProperty (this=0x7fded67ff0d0, name=0x2061440, value=...) at jsruntime/qv4object.cpp:184
#4 0x00007fdef25a1fed in QV4::Heap::StringObject::StringObject (this=<optimized out>, engine=0x2061140, val=...)
    at jsruntime/qv4stringobject.cpp:91
#5 0x00007fdef2548e25 in QV4::MemoryManager::alloc<QV4::StringObject, QV4::ExecutionEngine*, QV4::Value> (arg2=...,
    arg1=0x2061140, this=<optimized out>) at jsruntime/qv4mm_p.h:126
#6 QV4::ExecutionEngine::newStringObject (this=0x2061140, value=...) at jsruntime/qv4engine.cpp:557
#7 0x00007fdef25e474e in QV4::Runtime::callProperty (engine=0x2061140, nameIndex=<optimized out>, callData=0x7fded67ff078)
    at jsruntime/qv4runtime.cpp:969
#8 0x00007fdee891347b in ?? ()
#9 0x00007fded67ff070 in ?? ()
#10 0x00007fded67ff070 in ?? ()
#11 0x000000000284d930 in ?? ()
#12 0x00007fded67ff068 in ?? ()
#13 0x0000000002061140 in ?? ()
#14 0x00007fded67ff060 in ?? ()
#15 0x00007fded67ff058 in ?? ()
#16 0x00007fded67ff060 in ?? ()
#17 0x0000000002061140 in ?? ()
#18 0x00007fdef2584fba in QV4::SimpleScriptFunction::call (that=<optimized out>, callData=<optimized out>)
    at jsruntime/qv4functionobject.cpp:565
#19 0x00007fdef266e07f in QV4::Object::call (d=0x7fded67ff008, this=<optimized out>)
    at ../../include/QtQml/5.5.1/QtQml/private/../../../../../src/qml/jsruntime/qv4object_p.h:305
#20 QQmlJavaScriptExpression::evaluate (this=this@entry=0x229f5c0, context=<optimized out>, function=...,
    callData=callData@entry=0x7fded67ff008, isUndefined=isUndefined@entry=0x7ffd919818ec) at qml/qqmljavascriptexpression.cpp:158
#21 0x00007fdef266e5ad in QQmlJavaScriptExpression::evaluate (this=this@entry=0x229f5c0, context=<optimized out>, function=...,
    isUndefined=isUndefined@entry=0x7ffd919818ec) at qml/qqmljavascriptexpression.cpp:116
#22 0x00007fdef267510c in QQmlBinding::update (this=0x229f5a0, flags=...) at qml/qqmlbinding.cpp:194
#23 0x00007fdef267e6f6 in QQmlAbstractBinding::setEnabled (f=..., e=true, this=0x229f5d8)
    at ../../include/QtQml/5.5.1/QtQml/private/../../../../../src/qml/qml/qqmlabstractbinding_p.h:110
#24 QQmlObjectCreator::finalize (this=0x228dbd0, interrupt=...) at qml/qqmlobjectcreator.cpp:1194
#25 0x00007fdef260911e in QQmlComponentPrivate::complete (enginePriv=0x27f2b40, state=0x26a2060) at qml/qqmlcomponent.cpp:928
#26 0x00007fdef26091e7 in QQmlComponentPrivate::completeCreate (this=0x26a1fc0) at qml/qqmlcomponent.cpp:964
#27 0x00007fdef31cc1e6 in UCStyledItemBasePrivate::loadStyleItem(bool) ()
   from /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/libUbuntuComponents.so
#28 0x00007fdef31f15d6 in UCAbstractButtonPrivate::completeComponentInitialization() ()
   from /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/libUbuntuComponents.so
#29 0x00007fdef267e7c2 in QQmlObjectCreator::finalize (this=0x272c540, interrupt=...) at qml/qqmlobjectcreator.cpp:1207
#30 0x00007fdef260911e in QQmlComponentPrivate::complete (enginePriv=0x27f2b40, state=0x2058f00) at qml/qqmlcomponent.cpp:928
#31 0x00007fdef26091e7 in QQmlComponentPrivate::completeCreate (this=0x2058e60) at qml/qqmlcomponent.cpp:964
#32 0x00007fdef2609050 in QQmlComponent::create (this=0x26d7f20, context=0x1ff2490) at qml/qqmlcomponent.cpp:791
#33 0x00007fdef2f66c3d in QQuickView::continueExecute (this=this@entry=0x1eceed0) at items/qquickview.cpp:476
#34 0x00007fdef2f6737d in QQuickViewPrivate::execute (this=0x22a0990) at items/qquickview.cpp:124
#35 0x00007fdef353c5d2 in UbuntuTestCase::UbuntuTestCase(QString const&, QQuickView::ResizeMode, bool, QWindow*) ()
   from /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Test/libUbuntuTest.so
#36 0x000000000040efca in ThemeTestCase::ThemeTestCase (parent=0x0, assertOnFailure=true, file=..., this=0x1eceed0)
    at tst_subtheming.cpp:36
#37 tst_Subtheming::test_default_theme_cleared_with_engine_bug1527546 (this=<optimized out>) at tst_subtheming.cpp:146
#38 0x00000000004086d5 in tst_Subtheming::qt_static_metacall (_o=0x7ffd91982eb0, _id=<optimized out>, _a=<optimized out>,
    _c=<optimized out>) at .moc/tst_subtheming.moc:350
#39 0x00007fdef21690aa in QMetaMethod::invoke (this=this@entry=0x7ffd919825c8, object=object@entry=0x7ffd91982eb0,
    connectionType=Qt::DirectConnection, connectionType@entry=2442667600, returnValue=..., val0=..., val1=..., val2=..., val3=...,
    val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:2212
#40 0x00007fdef216e7fd in QMetaObject::invokeMethod (obj=0x7ffd91982eb0,
    member=member@entry=0x1ecf040 "test_default_theme_cleared_with_engine_bug1527546", type=2442667600,
    type@entry=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=...,
    val8=..., val9=...) at kernel/qmetaobject.cpp:1479
#41 0x00007fdef34f508c in QMetaObject::invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=...,
    val2=..., val1=..., val0=..., type=Qt::DirectConnection, member=0x1ecf040 "test_default_theme_cleared_with_engine_bug1527546",
    obj=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:409
#42 QTest::qInvokeTestMethodDataEntry (slot=0x1ecf040 "test_default_theme_cleared_with_engine_bug1527546") at qtestcase.cpp:1953
#43 QTest::qInvokeTestMethod (slotName=0x1ec9998 "test_default_theme_cleared_with_engine_bug1527546()", data=data@entry=0x0)
    at qtestcase.cpp:2082
#44 0x00007fdef34f5bb8 in QTest::qInvokeTestMethods (testObject=0x7ffd91982eb0) at qtestcase.cpp:2390
#45 QTest::qExec (testObject=testObject@entry=0x7ffd91982eb0, argc=<optimized out>, argv=argv@entry=0x7ffd91982fd8)
    at qtestcase.cpp:2652
#46 0x000000000040744b in main (argc=1, argv=0x7ffd91982fd8) at tst_subtheming.cpp:887

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Confirmed
Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit (Ubuntu):
importance: Undecided → High
Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Christian Dywan (kalikiana)
Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: Christian Dywan (kalikiana) → Zsombor Egri (zsombi)
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (7.0 KiB)

This bug was fixed in the package ubuntu-ui-toolkit - 1.3.1872+16.04.20160308-0ubuntu1

---------------
ubuntu-ui-toolkit (1.3.1872+16.04.20160308-0ubuntu1) xenial; urgency=medium

  [ Timo Jyrinki ]
  * Fix gles unit test skipping.
  * Add s390x to the unit test skipping architectures
  * UITK test plan - wily -> xenial. Fixes LP: #1544490

  [ Christian Dywan ]
  * Print errors when QuickUtils fails to create a component.
  * unit tests shouldn't use deprecated Dialog.callera
  * Correctly count only test case results. The result= value is used in suites
    and results.
  * Skip tst_pagehead_visible flakes on non-arm. Fixes LP: #1534651
  * Skip flaky tst_mousefilterTest::doubleClicked. Fixes LP: #1542215
  * Suppress click signal if releasing outside of ListItem. Fixes LP: #1541148.
  * Use gdb in runtest.sh to produce backtraces.
  * Arrow keys change value of a Slider. Fixes LP: #1523824.
  * Only use Maliit when enabled explicitly in the environment

  [ Oliver Tilloy ]
  * Do not try to assign to non-existent property "activeFocusOnPress".
    Fixes LP: #1532953
  * Bubble up ESC key press event if there is no popover to close.
    Fixes LP: #1546627

  [ Loïc Molinari ]
  * Added private items and nodes for the new component styles.
    Fixes LP: #1523836
  * Made use of new private Frame item for the focusing.
  * Fixed performance monitor crash because of a NULL timer pointer dereference.
    Fixes LP: #1546986
  * Fixed performance monitor dangling pointer crash. Fixes LP: #1546984
  * [ProportionalShape] Ensured width/height ratio is correct with default values.
    Fixes LP: #1546546
  * Added a workaround to prevent a crash while changing the QPA scale factor.

  [ Florian Boucault ]
  * Always on performance monitor that logs frames that too long to render.
  * MainView: proceed to selecting the theme automatically at startup too.
    Fixes LP: #1535819
  * MainView: when no gradient color is needed for the background, rely on
    QQuickWindow's GL clear color. Lessens overdraw considerably for most
    apps. Fixes LP: #1439133.
  * Panel: MathUtils used without import prefix was leading to undefined
    reference.
  * Label: use native rendering on low dpi screens (GRID_UNIT_PX <= 10) for
    sharper looking text.
  * Gallery: added palette browser to Colors page.

  [ Tim Peeters ]
  * Support scrolling in ListViews with horizontal orientation to the
    qquicklistview CPO.
  * Add background to AppHeader and remove contents clipping from MainView.
    Fixes LP: #1531016, LP: #1531457.
  * Hide AppHeader when using AdaptivePageLayout. Fixes bug 1531871.
    Fixes LP: #1531871.
  * Implement horizontal flicking in the flickable autopilot CPO.
  * Re-order to list of pages in the gallery to be alphabetical.
  * Fix the autopilot failures introduced with the horizontal scrolling in
    the Flickable CPO.
  * Update documentation for MainView, Page, AdaptivePageLayout to use the new
    PageHeader in all examples. Deprecate old properties. Fixes LP: #1540574
  * Add 'animate' property to new internal AppHeaderBase, and do not show a
    header animation when starting an app without header.
    Fixes LP: #1518002, LP: #1524901.
 ...

Read more...

Changed in ubuntu-ui-toolkit (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Zoltan Balogh (bzoltan)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.