Segmentation fault on server shutdown with mesa-kms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Alexandros Frantzis | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When the server shuts down we get a crash in the DefaultEmergenc
#0 0x00007ffff0bca81e in ?? ()
#1 0x00007ffff63e8c7d in std::_Function_
__in_
#2 0x00007ffff63edef6 in std::function<void ()>::~function() (this=0x7054d0,
__in_
#3 0x00007ffff6419714 in mir::DefaultEme
__in_
#4 0x00007ffff641973a in std::default_
this=0x63e738, __ptr=0x7054d0) at /usr/include/
#5 0x00007ffff6419553 in std::unique_
at /usr/include/
#6 0x00007ffff6419708 in mir::DefaultEme
__in_
#7 0x00007ffff64198d8 in mir::DefaultEme
__in_
#8 0x00007ffff6404753 in __gnu_cxx:
#9 0x00007ffff6404572 in std::allocator_
#10 0x00007ffff6404245 in std::allocator_
#11 0x00007ffff6403417 in std::_Sp_
at /usr/include/
#12 0x00007ffff63e92e0 in std::_Sp_
at /usr/include/
#13 0x00007ffff63e8f83 in std::__
this=
#14 0x00007ffff63e8dfc in std::__
#15 0x00007ffff63e8e18 in std::shared_
__in_
#16 0x00007ffff641a6bc in mir::Server::run (this=0x7ffffff
at /storage/
#17 0x00007ffff6ad2993 in main (argc=1, argv=0x7fffffff
at /storage/
#18 0x000000000040106a in main (argc=1, argv=0x7fffffff
at /storage/
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Andreas Pokorny (community): Approve
- Alan Griffiths: Approve
-
Diff: 171 lines (+41/-21)6 files modifiedsrc/include/platform/mir/emergency_cleanup_registry.h (+4/-1)
src/platforms/mesa/server/kms/platform.cpp (+10/-8)
src/server/default_emergency_cleanup.cpp (+11/-2)
src/server/default_emergency_cleanup.h (+2/-1)
tests/include/mir/test/doubles/null_emergency_cleanup.h (+1/-0)
tests/unit-tests/graphics/mesa/kms/test_platform.cpp (+13/-9)
Changed in mir: | |
milestone: | none → 0.18.0 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.18.0