Nested server crashes with SIGSEGV on shutdown in eglDestroyContext()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Alexandros Frantzis | ||
0.7 |
Fix Released
|
High
|
Alexandros Frantzis | ||
mir (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
mir (Ubuntu RTM) |
Fix Released
|
High
|
Unassigned |
Bug Description
Start a host server and nested server. Ctrl+C ... crash.
Test case:
1. sudo -s sh -c "bin/mir_
2. Ctrl+C
(gdb) bt
#0 0x00007f9e628cb2e6 in ?? ()
from /usr/lib/
#1 0x00007f9e628c313a in eglDestroyContext ()
from /usr/lib/
#2 0x00007f9e6453c9ef in mir::graphics:
this=0x113a7a0, __in_chrg=
at /home/dan/
#3 0x00007f9e648e8b54 in mir::graphics:
at /home/dan/
#4 0x00007f9e648e8ba0 in mir::graphics:
at /home/dan/
#5 0x00007f9e64869032 in std::default_
at /usr/include/
#6 0x00007f9e648675b3 in std::unique_
__in_
#7 0x00007f9e6487598f in mir::scene:
this=0x1255050, __in_chrg=
at /home/dan/
#8 0x00007f9e648732df in __gnu_cxx:
at /usr/include/
#9 0x00007f9e64872f4d in std::allocator_
at /usr/include/
#10 0x00007f9e64872b25 in std::allocator_
at /usr/include/
#11 0x00007f9e64871d4f in std::_Sp_
#12 0x00007f9e647c7980 in std::_Sp_
#13 0x00007f9e647c76e9 in std::__
at /usr/include/
#14 0x00007f9e64866368 in std::__
at /usr/include/
#15 0x00007f9e64866382 in std::shared_
(this=0xf78298, __in_chrg=
at /usr/include/
#16 0x00007f9e64892acc in mir::scene:
at /home/dan/
#17 0x00007f9e6487329b in __gnu_cxx:
__p=0xf78290) at /usr/include/
#18 0x00007f9e64872ef5 in std::allocator_
__a=..., __p=0xf78290) at /usr/include/
#19 0x00007f9e64872ac1 in std::allocator_
__a=..., __p=0xf78290) at /usr/include/
#20 0x00007f9e64871bcf in std::_Sp_
at /usr/include/
#21 0x00007f9e647c7980 in std::_Sp_
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Daniel van Vugt: Approve
- Kevin DuBois (community): Approve
- Alexandros Frantzis (community): Needs Information
- Robert Carr (community): Approve
-
Diff: 131 lines (+32/-2)5 files modifiedsrc/server/graphics/nested/nested_display.cpp (+2/-0)
src/server/graphics/nested/nested_display.h (+3/-0)
src/server/graphics/nested/nested_platform.cpp (+1/-1)
src/server/graphics/nested/nested_platform.h (+2/-1)
tests/unit-tests/graphics/nested/test_nested_display.cpp (+24/-0)
- Daniel van Vugt: Needs Fixing
- Kevin DuBois (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 54 lines (+9/-9)2 files modifiedplayground/demo-shell/window_manager.cpp (+6/-6)
playground/demo-shell/window_manager.h (+3/-3)
- Cemil Azizoglu (community): Abstain
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 144 lines (+34/-2)6 files modifieddebian/changelog (+2/-0)
src/server/graphics/nested/nested_display.cpp (+2/-0)
src/server/graphics/nested/nested_display.h (+3/-0)
src/server/graphics/nested/nested_platform.cpp (+1/-1)
src/server/graphics/nested/nested_platform.h (+2/-1)
tests/unit-tests/graphics/nested/test_nested_display.cpp (+24/-0)
description: | updated |
Changed in mir: | |
assignee: | nobody → Alexandros Frantzis (afrantzis) |
status: | New → In Progress |
Changed in mir (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Changed in mir (Ubuntu RTM): | |
importance: | Undecided → High |
status: | New → Triaged |
I noticed this late last week. Seems to be a new bug...