Mir

[testsfail] Segmentation fault mir_demo_server --test-client /usr/bin/mir_demo_client_basic

Bug #1506137 reported by Alan Griffiths
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mir
Fix Released
High
Alexandros Frantzis
mir (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

https://jenkins.qa.ubuntu.com/job/mir-mediumtests-runner-touch/7017/consoleFull

running mir_demo_server --test-client /usr/bin/mir_demo_client_basic
[1444839083.621274] mirplatform: Found graphics driver: android
[1444839083.622071] mirplatform: Found graphics driver: mesa-kms
[1444839083.622198] mirplatform: Found graphics driver: mesa-x11
[1444839083.623033] mirplatform: Found graphics driver: dummy
[1444839083.626506] mirserver: Starting
[1444839083.627329] mircommon: Loading modules from: /usr/lib/arm-linux-gnueabihf/mir/server-platform
[1444839083.627764] mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android.so.6
[1444839083.627877] mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-mesa-kms.so.6
[1444839083.627952] mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/server-mesa-x11.so.6
[1444839083.631684] mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android.so.5
[1444839083.634575] mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/input-evdev.so.3
[1444839083.637868] mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/input-stub.so
[1444839083.639058] mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-dummy.so
[1444839083.641457] mirplatform: Found graphics driver: android
[1444839083.642010] mirplatform: Found graphics driver: mesa-kms
[1444839083.642150] mirplatform: Found graphics driver: mesa-x11
[1444839083.643072] mirplatform: Found graphics driver: dummy
[1444839083.644198] mirserver: Selected driver: android (version 0.17.0)
[1444839083.676505] mirserver: Initial display configuration:
[1444839083.679539] mirserver: 0.0: LVDS 4.6" 57x101mm
[1444839083.679763] mirserver: Current mode 540x960 66.58Hz
[1444839083.679846] mirserver: Preferred mode 540x960 66.58Hz
[1444839083.679900] mirserver: Logical position +0+0
[1444839083.679953] mirserver: 0.1: unused DisplayPort
[1444839083.681326] mirserver: Using software cursor
[1444839083.685180] mirserver: Mir version 0.17.0
Starting
[1444839083.701051] GLRenderer: EGL vendor: Android
[1444839083.701385] GLRenderer: EGL version: 1.4 Android META-EGL
[1444839083.701490] GLRenderer: EGL client APIs: OpenGL_ES
[1444839083.701562] GLRenderer: EGL extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
[1444839083.701672] GLRenderer: GL vendor: ARM
[1444839083.701742] GLRenderer: GL renderer: Mali-400 MP
[1444839083.701967] GLRenderer: GL version: OpenGL ES 2.0
[1444839083.702050] GLRenderer: GLSL version: OpenGL ES GLSL ES 1.00
[1444839083.702141] GLRenderer: GL extensions: GL_EXT_debug_marker GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_OES_vertex_half_float GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map GL_KHR_debug
[1444839083.702284] GLRenderer: GL max texture size = 4096
[1444839083.702369] GLRenderer: GL framebuffer bits: RGBA=8888, depth=24, stencil=8
Connected
Surface created
Surface released
Connection released
[1444839094.685955] mirserver: Stopping
/bin/bash: line 1: 6440 Segmentation fault mir_demo_server --test-client /usr/bin/mir_demo_client_basic

Tags: testsfail

Related branches

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

*Possibly* related to another segfault on krillin: lp:1502782

Changed in mir:
assignee: nobody → Andreas Pokorny (andreas-pokorny)
Revision history for this message
Andreas Pokorny (andreas-pokorny) wrote :

Removing the other server graphics platforms mesa-kms and mesa-x11 before running the test will make this seg fault disappear..

Changed in mir:
milestone: none → 0.18.0
status: New → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

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
Revision history for this message
Alexandros Frantzis (afrantzis) wrote :
Changed in mir:
status: Fix Committed → Triaged
Revision history for this message
Andreas Pokorny (andreas-pokorny) wrote :

The log above is slightly different it now also crashes inside the tests itself.. Which is not related to the change. I will see if I can still reproduce the problem on krillin.

Revision history for this message
Alexandros Frantzis (afrantzis) wrote :
Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

This indeed seems to be a different problem than the original bug since it happens much more often (always?) and affects more client runs.

Opened a new bug for it: https://bugs.launchpad.net/mir/+bug/1508478

Changed in mir:
status: Triaged → Fix Committed
status: Fix Committed → Triaged
Revision history for this message
Alexandros Frantzis (afrantzis) wrote :
Revision history for this message
Andreas Pokorny (andreas-pokorny) wrote :

The log you mention also includes an acceptance test segmentation fault, which is new too..

Changed in mir:
importance: Undecided → Medium
status: Triaged → Fix Committed
status: Fix Committed → Triaged
Revision history for this message
Andreas Pokorny (andreas-pokorny) wrote :

@duflu do you need help reading logs?

Changed in mir:
status: Triaged → Fix Committed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Heh. Alf did the same thing in comment #7. And you really can't complain about those changes above that effectively changed nothing.

I'm still confused. And comment #9 didn't help me to become less confused.

Revision history for this message
Alexandros Frantzis (afrantzis) wrote :
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :
Changed in mir:
status: Fix Committed → Confirmed
importance: Medium → High
assignee: Andreas Pokorny (andreas-pokorny) → nobody
Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

Switching to critical since this is now blocks (almost) all CI jobs from succeeding.

Changed in mir:
assignee: nobody → Alexandros Frantzis (afrantzis)
importance: High → Critical
Changed in mir:
status: Confirmed → In Progress
Changed in mir:
importance: Critical → High
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

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
Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

We have started seeing this again frequently enough to warrant restarting the investigation.

Changed in mir:
status: Fix Committed → In Progress
importance: High → Critical
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

Just wondering if this has the same underlying cause as lp:1513901 - it seems to be in the same (shutdown) area.

Changed in mir:
importance: Critical → High
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir at revision 3124, scheduled for release in mir, milestone 0.18.0

Changed in mir:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (6.3 KiB)

This bug was fixed in the package mir - 0.18.0+16.04.20151216.1-0ubuntu1

---------------
mir (0.18.0+16.04.20151216.1-0ubuntu1) xenial; urgency=medium

  [ Kevin DuBois ]
  * New upstream release 0.18.0 (https://launchpad.net/mir/+milestone/0.18.0)
    - 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
        NestedServer.display_configuration_reset_when_application_exits
        (LP: #1517990)
      . CI test failures in various NesterServer tests (LP: #1517781)
      . FTBFS with -DMIR_PLATFORM=android (LP: #1517532)
      . Nesting Mir servers with assorted display configs causes lockup
        (LP: #1516670)
      . [testsfail] RaiseSurfaces.motion_events_dont_prevent_raise
        (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-compositor crash, no interaction on windowed mode
        (LP: #1511095)
      . [regression] arm64/powerpc cross compile doesn't build any more
        (LP: #1510778)
      . mir_connection_get_egl_pixel_format() crashes if libEGL is loaded
        RTLD_LAZY (LP: #1510218)
      . [multimonitor] nested server surface positioning incorrect
        (LP: #1506846)
      . unity-system-compositor fails to build against lp:mir r3027
   ...

Read more...

Changed in mir (Ubuntu):
status: New → Fix Released
Kevin DuBois (kdub)
Changed in mir:
status: Fix Committed → 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.