CI segfault in mir-mediumtests-runner-mako after AndroidHardwareSanity tests
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Mir |
Fix Released
|
High
|
Alexandros Frantzis | |
| | mir (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
As seen in https:/
...
[0;32m[ RUN ] [mAndroidHardw
[0;32m[ OK ] [mAndroidHardw
/bin/bash: line 1: 6096 Segmentation fault (core dumped) umockdev-run -- mir_integration
+ mir_rc=-1
Perhaps a bug in the teardown of the AndroidHardware
Related branches
- PS Jenkins bot: Approve (continuous-integration) on 2015-10-19
- Chris Halse Rogers: Approve on 2015-10-19
- Kevin DuBois (community): Approve on 2015-10-16
- Daniel van Vugt: Approve on 2015-10-16
- Cemil Azizoglu (community): Approve on 2015-10-15
-
Diff: 12 lines (+4/-0)1 file modifiedtests/integration-tests/graphics/android/test_android_hardware_sanity.cpp (+4/-0)
- Andreas Pokorny (community): Approve on 2015-11-25
- Kevin DuBois (community): Approve on 2015-11-25
- Alan Griffiths: Approve on 2015-11-25
- PS Jenkins bot: Approve (continuous-integration) on 2015-11-25
-
Diff: 208 lines (+35/-30)4 files modifiedsrc/platforms/android/server/android_buffer_allocator.cpp (+15/-10)
src/platforms/android/server/device_quirks.cpp (+9/-9)
src/platforms/android/server/device_quirks.h (+2/-2)
tests/unit-tests/graphics/android/test_device_detection.cpp (+9/-9)
| tags: | added: mako |
| Alan Griffiths (alan-griffiths) wrote : | #1 |
| tags: | added: krillin |
| Changed in mir: | |
| importance: | Undecided → Medium |
| status: | New → Confirmed |
| Changed in mir: | |
| assignee: | nobody → Alan Griffiths (alan-griffiths) |
| Alan Griffiths (alan-griffiths) wrote : | #2 |
*Possibly* related to another segfault on krillin: lp:1506137
| Alan Griffiths (alan-griffiths) wrote : | #3 |
Nearest I have got to reproducing:
Works: $ gdb --args bin/mir_
Fails: $ gdb --args bin/mir_
Stack trace is useless
| Alan Griffiths (alan-griffiths) wrote : | #4 |
OTOH repeating a test that sets up and tears down the drivers "can be problematic". So this may be unrelated.
| Alan Griffiths (alan-griffiths) wrote : | #5 |
So, avoiding the trap of reloading the drivers in a single process, I can get a (useless) core in a minute or so with:
$ while bin/mir_
Interestingly, the following doesn't core (for a significantly longer time):
$ while bin/mir_
| Alan Griffiths (alan-griffiths) wrote : | #6 |
I can't reproduce on mako, and the linked workaround "fixes" krillin. After looking at http://
| Changed in mir: | |
| milestone: | none → 0.18.0 |
| status: | Confirmed → In Progress |
| PS Jenkins bot (ps-jenkins) wrote : | #7 |
Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.18.0
| Changed in mir: | |
| status: | In Progress → Fix Committed |
| Alan Griffiths (alan-griffiths) wrote : | #8 |
Leaving open as we have a workaround, not a fix
| Changed in mir: | |
| status: | Fix Committed → Triaged |
| importance: | Medium → Low |
| assignee: | Alan Griffiths (alan-griffiths) → nobody |
| Alexandros Frantzis (afrantzis) wrote : | #9 |
| Alexandros Frantzis (afrantzis) wrote : | #10 |
| Alexandros Frantzis (afrantzis) wrote : | #11 |
We are still seeing this on a regular basis, raising priority.
| Changed in mir: | |
| importance: | Low → High |
| PS Jenkins bot (ps-jenkins) wrote : | #12 |
Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.18.0
| Changed in mir: | |
| status: | Triaged → Fix Committed |
| Alexandros Frantzis (afrantzis) wrote : | #13 |
| Changed in mir: | |
| status: | Fix Committed → Triaged |
| Alexandros Frantzis (afrantzis) wrote : | #14 |
> Seen again: https:/
Actually, this seem to a be problem with the changes introduced in that particular branch, trunk seems to be fine.
| Changed in mir: | |
| status: | Triaged → Fix Committed |
| assignee: | nobody → Alexandros Frantzis (afrantzis) |
| Launchpad Janitor (janitor) wrote : | #15 |
This bug was fixed in the package mir - 0.18.0+
---------------
mir (0.18.0+
[ Kevin DuBois ]
* New upstream release 0.18.0 (https:/
- ABI summary: Only servers need rebuilding;
. Mirclient ABI unchanged at 9
. Mirserver ABI bumped to 36
. Mircommon ABI unchanged at 5
. Mirplatform ABI unchanged at 11
. Mirprotobuf ABI unchanged at 3
. Mirplatformgraphics ABI bumped to 7
. Mirclientplatform ABI unchanged at 3
. Mirinputplatform ABI added. Current version is 4
- Enhancements:
. Use libinput by default, and remove the android input stack
. Add x11 input probing
. Add alternative buffer swapping mechanism internally, available with
--nbuffers 0
. Automatic searching and selection of input platforms
. Better support for themed cursors
. Add demo client that uses multiple buffer streams in one surface
. Improve fingerpaint demo to use touch pressure
. Allow for configuring cursor acceleration, scroll speed and left or
right handed mice
. Allow for setting a base display configuration via client api
. Various nested server multimonitor fixes and stability improvements
. Remove DepthId from the SurfaceStack
- Bug fixes:
. Unit test failures in Display.* on Android (LP: #1519276)
. Build failure due to missing dependency of client rpc code on mir
protobuf (LP: #1518372)
. Test failure in
(LP: #1517990)
. CI test failures in various NesterServer tests (LP: #1517781)
. FTBFS with -DMIR_PLATFORM=
. Nesting Mir servers with assorted display configs causes lockup
(LP: #1516670)
. [testsfail] RaiseSurfaces.
(LP: #1515931)
. CI test failures in GLMark2Test (LP: #1515660)
. Shells that inject user input events need to agree with the system
compositor on the clock to use (LP: #1515515)
. mircookie-dev is missing nettle-dev dependency (LP: #1514391)
. Segmentation fault on server shutdown with mesa-kms (LP: #1513901)
. mircookie requires nettle but libmircookie-dev doesn't depend on it
(LP: #1513792)
. libmircookie1 package does not list libnettle as dependency
(LP: #1513225)
. display configuration not reset when application exits (LP: #1511798)
. unplugging external monitor causes nested server to throttle client
(LP: #1511723)
. 1/2 screen on external monitor (LP: #1511538)
. unity-system-
(LP: #1511095)
. [regression] arm64/powerpc cross compile doesn't build any more
(LP: #1510778)
. mir_connection_
RTLD_LAZY (LP: #1510218)
. [multimonitor] nested server surface positioning incorrect
(LP: #1506846)
. unity-system-
...
| Changed in mir (Ubuntu): | |
| status: | New → Fix Released |
| Changed in mir: | |
| status: | Fix Committed → Fix Released |

This on krillin
https:/ /jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- touch/7014/ console Sanity arm-linux- gnueabihf/ mir/server- platform arm-linux- gnueabihf/ mir/server- platform/ graphics- android. so.6 arm-linux- gnueabihf/ mir/server- platform/ graphics- mesa-kms. so.6 arm-linux- gnueabihf/ mir/server- platform/ server- mesa-x11. so.6 arm-linux- gnueabihf/ mir/server- platform/ graphics- android. so.5 arm-linux- gnueabihf/ mir/server- platform/ input-evdev. so.3 arm-linux- gnueabihf/ mir/server- platform/ input-stub. so arm-linux- gnueabihf/ mir/server- platform/ graphics- dummy.so areSanity. client_ can_draw_ with_cpu areSanity. client_ can_draw_ with_cpu (30 ms) areSanity. client_ can_draw_ with_gpu areSanity. client_ can_draw_ with_gpu (31 ms) areSanity. display_ can_post areSanity. display_ can_post (6 ms) areSanity. display_ can_post_ overlay areSanity. display_ can_post_ overlay (2 ms) areSanity. can_allocate_ sw_buffer areSanity. can_allocate_ sw_buffer (3 ms) areSanity. can_allocate_ hw_buffer areSanity. can_allocate_ hw_buffer (0 ms) _tests
...
[0;32m[----------] [m6 tests from AndroidHardware
[1444833079.254946] mircommon: Loading modules from: /usr/lib/
[1444833079.255444] mircommon: Loading module: /usr/lib/
[1444833079.255588] mircommon: Loading module: /usr/lib/
[1444833079.255672] mircommon: Loading module: /usr/lib/
[1444833079.261257] mircommon: Loading module: /usr/lib/
[1444833079.265158] mircommon: Loading module: /usr/lib/
[1444833079.269437] mircommon: Loading module: /usr/lib/
[1444833079.269596] mircommon: Loading module: /usr/lib/
[1444833079.270505] mirplatform: Found graphics driver: android
[1444833079.271059] mirplatform: Found graphics driver: mesa-kms
[1444833079.271188] mirplatform: Found graphics driver: mesa-x11
[1444833079.271513] mirplatform: Found graphics driver: dummy
[1444833079.272475] mirserver: Selected driver: android (version 0.17.0)
[1444833079.305840] mirserver: Initial display configuration:
[1444833079.306382] mirserver: 0.0: LVDS 4.6" 57x101mm
[1444833079.306479] mirserver: Current mode 540x960 66.57Hz
[1444833079.306572] mirserver: Preferred mode 540x960 66.57Hz
[1444833079.306681] mirserver: Logical position +0+0
[1444833079.306827] mirserver: 0.1: unused DisplayPort
[1444833079.309314] mirserver: Mir version 0.17.0
[0;32m[ RUN ] [mAndroidHardw
[0;32m[ OK ] [mAndroidHardw
[0;32m[ RUN ] [mAndroidHardw
[0;32m[ OK ] [mAndroidHardw
[0;32m[ RUN ] [mAndroidHardw
[0;32m[ OK ] [mAndroidHardw
[0;32m[ RUN ] [mAndroidHardw
[0;32m[ OK ] [mAndroidHardw
[0;32m[ RUN ] [mAndroidHardw
[0;32m[ OK ] [mAndroidHardw
[0;32m[ RUN ] [mAndroidHardw
[0;32m[ OK ] [mAndroidHardw
/bin/bash: line 1: 3751 Segmentation fault umockdev-run -- mir_integration