Mir crashes with useless backtrace when mg::Platform methods throw
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Chris Halse Rogers | ||
Unity System Compositor |
Invalid
|
High
|
Unassigned | ||
mir (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
unity-system-compositor (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
So, the problem that causes unity-system-
Original report below:
unity-system-
ProblemType: Crash
DistroRelease: Ubuntu 16.04
Package: unity-system-
ProcVersionSign
Uname: Linux 4.4.0-10-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CrashCounter: 1
Date: Sat Mar 5 19:03:39 2016
ExecutablePath: /usr/sbin/
ExecutableTimes
GraphicsCard:
Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] 4th Gen Core Processor Integrated Graphics Controller [1462:1102]
Subsystem: Micro-Star International Co., Ltd. [MSI] GM204M [GeForce GTX 970M] [1462:1102]
InstallationDate: Installed on 2015-02-25 (374 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
ProcCmdline: /usr/sbin/
ProcCwd: /
ProcEnviron:
SegvAnalysis:
Segfault happened at: 0x7f805c592c3b: mov (%rsi),%rax
PC (0x7f805c592c3b) ok
source "(%rsi)" (0x7f8056ee2490) not located in a known VMA region (needed readable region)!
destination "%rax" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: unity-system-
StacktraceTop:
?? () from /usr/lib/
__gxx_
_Unwind_
_Unwind_
__cxa_rethrow () from /usr/lib/
Title: unity-system-
UpgradeStatus: Upgraded to xenial on 2015-11-03 (122 days ago)
UserGroups:
version.libdrm: libdrm2 2.4.67-1
version.lightdm: lightdm 1.17.5-0ubuntu2
version.mesa: libegl1-mesa-dev N/A
Related branches
- Mir CI Bot: Needs Fixing (continuous-integration)
- Mir development team: Pending requested
-
Diff: 364 lines (+267/-11)7 files modifiedinclude/test/mir/test/doubles/null_platform.h (+0/-5)
src/common/sharedlibrary/CMakeLists.txt (+4/-1)
src/common/sharedlibrary/module_throw_exception.cpp (+94/-0)
src/common/symbols.map (+1/-0)
src/include/common/mir/module_throw_exception.h (+69/-0)
tests/acceptance-tests/test_server_shutdown.cpp (+15/-1)
tests/mir_test_framework/platform_graphics_throw.cpp (+84/-4)
- Mir CI Bot: Approve (continuous-integration)
- Daniel van Vugt: Approve
- Kevin DuBois (community): Approve
- Alan Griffiths: Approve
- Cemil Azizoglu (community): Approve
-
Diff: 234 lines (+133/-35)4 files modifiedinclude/test/mir/test/doubles/null_platform.h (+0/-5)
src/server/server.cpp (+35/-25)
tests/acceptance-tests/test_server_shutdown.cpp (+15/-1)
tests/mir_test_framework/platform_graphics_throw.cpp (+83/-4)
information type: | Private → Public |
Changed in unity-system-compositor: | |
status: | New → Confirmed |
tags: | added: nvidia |
Changed in mir: | |
status: | Confirmed → Won't Fix |
Changed in unity-system-compositor: | |
status: | Confirmed → Won't Fix |
Changed in mir (Ubuntu): | |
status: | Confirmed → Won't Fix |
Changed in unity-system-compositor (Ubuntu): | |
status: | Confirmed → Won't Fix |
tags: | added: bugpattern-needed |
summary: |
- unity-system-compositor crashed with SIGSEGV in get_adjusted_ptr(), when - proprietary Nvidia drivers are installed + Mir crashes with useless backtrace when mg::Platform methods throw |
description: | updated |
Changed in mir: | |
status: | Confirmed → Triaged |
Changed in mir (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in unity-system-compositor: | |
status: | Confirmed → Invalid |
Changed in unity-system-compositor (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in mir: | |
status: | Triaged → In Progress |
milestone: | none → 0.23.0 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
StacktraceTop: type=0x7f805d9a f818 <typeinfo for mir::AbnormalExit>, throw_type= throw_type@ entry=0x7f8056e e2490, thrown_ ptr_p=thrown_ ptr_p@entry= 0x7fffd6b87230) at ../../. ./../src/ libstdc+ +-v3/libsupc+ +/eh_personalit y.cc:225 :__gxx_ personality_ v0 (version=<optimized out>, actions=<optimized out>, exception_ class=513813797 2254386944, ue_header= <optimized out>, context= 0x7fffd6b873c0) at ../../. ./../src/ libstdc+ +-v3/libsupc+ +/eh_personalit y.cc:595 RaiseException (exc=0x22c4950) at ../../. ./src/libgcc/ unwind. inc:113 Resume_ or_Rethrow (exc=exc@ entry=0x22c4950 ) at ../../. ./src/libgcc/ unwind. inc:252 :__cxa_ rethrow () at ../../. ./../src/ libstdc+ +-v3/libsupc+ +/eh_throw. cc:118
get_adjusted_ptr (catch_
__cxxabiv1:
_Unwind_
_Unwind_
__cxxabiv1: