unity-scope-tool crashed with SIGSEGV in same_key()

Bug #1301547 reported by Rick Spencer
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Ran the scope tool on a built project, and it had this output:

rick@rick-K53SV:~/Projects/ubuntu-scope$ cmake CMakeLists.txt && make && unity-scope-tool src/UbuntuScope-scope.ini
-- The CXX compiler identification is GNU 4.8.2
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- checking for module 'libunity-scopes>=0.4.0'
-- found libunity-scopes, version 0.4.0
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rick/Projects/ubuntu-scope
Scanning dependencies of target UbuntuScope-scope
[ 25%] Building CXX object src/CMakeFiles/UbuntuScope-scope.dir/UbuntuScope-preview.cpp.o
[ 50%] Building CXX object src/CMakeFiles/UbuntuScope-scope.dir/UbuntuScope-query.cpp.o
[ 75%] Building CXX object src/CMakeFiles/UbuntuScope-scope.dir/UbuntuScope-scope.cpp.o
Linking CXX shared library libUbuntuScope-scope.so
[ 75%] Built target UbuntuScope-scope
Scanning dependencies of target simpletest
[100%] Building CXX object test/CMakeFiles/simpletest.dir/simpletest.cpp.o
Linking CXX executable simpletest
[100%] Built target simpletest
scoperegistry: no remote registry configured, only local scopes will be available
spawning scope UbuntuScope-scope to process number 7720 with command line /usr/lib/x86_64-linux-gnu/scoperunner/scoperunner /tmp/Runtime.ini.TJ7708 src/UbuntuScope-scope.ini.
file:///usr/share/unity8/Dash/DashContent.qml:104: TypeError: Cannot read property 'loaded' of null
file:///usr/share/unity8/ScopeTool.qml:77:31: Unable to assign [undefined] to scopes_ng::Scope*
file:///usr/share/unity8/ScopeTool.qml:149:23: Unable to assign null to QString
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Themes/Ambiance/TabBarStyle.qml:303: TypeError: Property 'select' of object QQuickRepeater(0x2131aa0) is not a function
file:///usr/share/unity8/Dash/DashContent.qml:104: TypeError: Cannot read property 'loaded' of null
file:///usr/share/unity8/Dash/DashContent.qml:104: TypeError: Cannot read property 'loaded' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Themes/Ambiance/TabBarStyle.qml:119: TypeError: Cannot read property of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Themes/Ambiance/TabBarStyle.qml:120: TypeError: Cannot read property of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Themes/Ambiance/TabBarStyle.qml:119: TypeError: Cannot read property of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Themes/Ambiance/TabBarStyle.qml:120: TypeError: Cannot read property of null
Need to use QMirServerApplication
Segmentation fault (core dumped)

ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: unity-scope-tool 7.85+14.04.20140401.3-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-21.43-generic 3.13.8
Uname: Linux 3.13.0-21-generic x86_64
ApportVersion: 2.14-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Apr 2 14:41:15 2014
ExecutablePath: /usr/bin/unity-scope-tool
InstallationDate: Installed on 2014-01-06 (86 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140106)
ProcCmdline: unity-scope-tool src/UbuntuScope-scope.ini
SegvAnalysis:
 Segfault happened at: 0x7f67306c68b6: cmp 0x8(%rcx),%r9d
 PC (0x7f67306c68b6) ok
 source "0x8(%rcx)" (0x00000008) not located in a known VMA region (needed readable region)!
 destination "%r9d" ok
 Stack memory exhausted (SP below stack segment)
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: unity8
StacktraceTop:
 ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
 ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
 ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
 QQmlDataBlob::tryDone() () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
 ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
Title: unity-scope-tool crashed with SIGSEGV in QQmlDataBlob::tryDone()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Related branches

Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :
information type: Private → Public
Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

For completeness, I create a brand new project and had the same result ...
rick@rick-K53SV:~/Projects/CIScope$ cmake CMakeLists.txt && make
-- The CXX compiler identification is GNU 4.8.2
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- checking for module 'libunity-scopes>=0.4.0'
-- found libunity-scopes, version 0.4.0
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rick/Projects/CIScope
Scanning dependencies of target CIScope-scope
[ 25%] Building CXX object src/CMakeFiles/CIScope-scope.dir/CIScope-preview.cpp.o
[ 50%] Building CXX object src/CMakeFiles/CIScope-scope.dir/CIScope-query.cpp.o
[ 75%] Building CXX object src/CMakeFiles/CIScope-scope.dir/CIScope-scope.cpp.o
Linking CXX shared library libCIScope-scope.so
[ 75%] Built target CIScope-scope
Scanning dependencies of target simpletest
[100%] Building CXX object test/CMakeFiles/simpletest.dir/simpletest.cpp.o
Linking CXX executable simpletest
[100%] Built target simpletest
rick@rick-K53SV:~/Projects/CIScope$ unity-scope-tool src/
CIScope-preview.cpp CIScope-query.cpp CIScope-scope.cpp CIScope-scope.ini cmake_install.cmake libCIScope-scope.so
CIScope-preview.h CIScope-query.h CIScope-scope.h CMakeFiles/ CMakeLists.txt Makefile
rick@rick-K53SV:~/Projects/CIScope$ unity-scope-tool src/CIScope-scope.ini
scoperegistry: no remote registry configured, only local scopes will be available
spawning scope CIScope-scope to process number 10245 with command line /usr/lib/x86_64-linux-gnu/scoperunner/scoperunner /tmp/Runtime.ini.J10234 src/CIScope-scope.ini.
file:///usr/share/unity8/Dash/DashContent.qml:104: TypeError: Cannot read property 'loaded' of null
file:///usr/share/unity8/ScopeTool.qml:77:31: Unable to assign [undefined] to scopes_ng::Scope*
file:///usr/share/unity8/ScopeTool.qml:149:23: Unable to assign null to QString
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Themes/Ambiance/TabBarStyle.qml:303: TypeError: Property 'select' of object QQuickRepeater(0x1bf2c60) is not a function
file:///usr/share/unity8/Dash/DashContent.qml:104: TypeError: Cannot read property 'loaded' of null
file:///usr/share/unity8/Dash/DashContent.qml:104: TypeError: Cannot read property 'loaded' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Themes/Ambiance/TabBarStyle.qml:119: TypeError: Cannot read property of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Themes/Ambiance/TabBarStyle.qml:120: TypeError: Cannot read property of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Themes/Ambiance/TabBarStyle.qml:119: TypeError: Cannot read property of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Themes/Ambiance/TabBarStyle.qml:120: TypeError: Cannot read property of null
Need to use QMirServerApplication
Segmentation fault (core dumped)

Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 same_key (key0=..., h0=936985692, this=0x0) at /usr/include/qt5/QtCore/qhash.h:215
 findNode (ahp=0x0, akey=..., this=0x1d98db0) at /usr/include/qt5/QtCore/qhash.h:929
 value (akey=..., this=0x1d98db0) at /usr/include/qt5/QtCore/qhash.h:628
 cache (error=..., minorVersion=<optimized out>, type=<optimized out>, this=0x1d98b40) at qml/qqmlengine_p.h:473
 QQmlCompiler::compile (this=0x7f671d5b7350, engine=<optimized out>, unit=<optimized out>, out=0x7f6710226540) at qml/qqmlcompiler.cpp:843

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in unity8 (Ubuntu):
importance: Undecided → Medium
summary: - unity-scope-tool crashed with SIGSEGV in QQmlDataBlob::tryDone()
+ unity-scope-tool crashed with SIGSEGV in same_key()
tags: removed: need-amd64-retrace
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 7.85+14.04.20140403.1-0ubuntu1

---------------
unity8 (7.85+14.04.20140403.1-0ubuntu1) trusty; urgency=low

  [ Michael Terry ]
  * Re-enable test_networkmanager_integration autopilot test on phone
    platforms

  [ CI bot ]
  * Resync trunk

  [ Leo Arias ]
  * Reverted the open_preview autopilot helper to return a Preview
    object.

  [ Albert Astals ]
  * If not running in Mir load the "fake" application manager (LP:
    #1301547)
  * Remove unused properties from DashRenderer

  [ Michael Zanetti ]
  * Fix tests after right edge merge. Drop old stages tests. Fix right
    edge tests if someone doesn't have the GRID_UNIT_PX exported. make
    GenericScopeView test more robust that broke because the ordering
    changed
  * add "make xvfbtestSomething" target to run qml tests in xvfb
  * make the "make test" commit hook work again
 -- Ubuntu daily release <email address hidden> Thu, 03 Apr 2014 10:38:53 +0000

Changed in unity8 (Ubuntu):
status: In Progress → Fix Released
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.