Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4577

ogl cts failing with segfault from libwayland-client.so

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Marlin 13.0.0
    • Graphics
    • None

      We are facing segfault when we trying the launch the oglcts. with best of my understanding looks the oglcts is trying open window during launch, and wayland-client has problem in  goes with Segfault.

       

      Will just go with small background, here I just tried to build oglcts which just comes with AGL, while running observed some error, api used wl_shell was missing ogl cts code itself, so overall oglcts itself has problem for wayland target, same issue was seen in Ubuntu as well. so we fixed the by using xdg_shell with patch, will attach it here(it will sooner upstreamed in CTS). Now we are able to run oglcst on wayland target on Ubuntu properly, but we are still seeing issue in AGL probably due to windowing problem.

       

       

      coredump debug log

      ====

      [New LWP 834]
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/usr/lib/libthread_db.so.1".
      Core was generated by `./glcts --deqp-case=KHR*
      --deqp-log-filename=/tmp/2.log'.
      Program terminated with signal SIGSEGV, Segmentation fault.
      #0  0x00007f00eb6e8610 in wl_proxy_get_version () from
      /usr/lib/libwayland-client.so.0
      (gdb) bt
      #0  0x00007f00eb6e8610 in wl_proxy_get_version () from
      /usr/lib/libwayland-client.so.0
      #1  0x0000559bca0be760 in ?? ()
      #2  0x0000559bca311779 in ?? ()
      #3  0x0000559bcb1e2af7 in ?? ()
      #4  0x0000559bcaceb070 in ?? ()
      #5  0x0000559bcaceb11e in ?? ()
      #6  0x0000559bcada9c3a in ?? ()
      #7  0x0000559bca9495a3 in ?? ()
      #8  0x0000559bcc0eff22 in ?? ()
      #9  0x0000559bcc0f086f in ?? ()
      #10 0x0000559bcc0acb44 in ?? ()
      #11 0x0000559bcc084ca9 in ?? ()
      #12 0x0000559bca3038d0 in ?? ()
      #13 0x00007f00eb20057b in __libc_start_call_main
      (main=main@entry=0x559bca303800, argc=argc@entry=3,
      argv=argv@entry=0x7ffcfd623938) at ../sysdeps/nptl/libc_start_call_main.h:58
      #14 0x00007f00eb200630 in __libc_start_main_impl (main=0x559bca303800, argc=3,
      argv=0x7ffcfd623938, init=<optimized out>, fini=<optimized out>,
      rtld_fini=<optimized out>, stack_end=0x7ffcfd623928) at
      ../csu/libc-start.c:389
      #15 0x0000559bca3101b5 in ?? ()

       

      WAYLAND_DEBUG=1 log

      ==============

      [1030692.224] wl_registry@3.global(14, "weston_direct_display_v1", 1)
      [1030692.246] wl_registry@3.global(15,
      "zwp_linux_explicit_synchronization_v1", 2)
      [1030692.263] wl_registry@3.global(16, "weston_content_protection", 1)
      [1030692.279] wl_registry@3.global(17, "xdg_wm_base", 3)
      stry@3.global(18, "wl_output", 3)
      [1176837.080] wl_registry@3.global(19, "agl_shell", 1)
      [1176837.101] wl_registry@3.global(20, "agl_shell_desktop", 2)
      [1176837.119] wl_registry@3.global(21, "agl_screenshooter", 1)
      [1176837.143] wl_callback@5.done(811)
      [1176837.159]  -> zwp_linux_dmabuf_v1@6.get_default_feedback(new id
      zwp_linux_dmabuf_feedback_v1@5)
      [1176837.177]  -> wl_display@1.sync(new id wl_callback@7)
      [1176837.341] wl_display@1.delete_id(7)
      [1176837.359] zwp_linux_dmabuf_feedback_v1@5.format_table(fd 5, 4960)
      [1176837.395] zwp_linux_dmabuf_feedback_v1@5.main_device(array[8])
      [1176837.977] zwp_linux_dmabuf_feedback_v1@5.tranche_target_device(array[8])
      [1176837.994] zwp_linux_dmabuf_feedback_v1@5.tranche_flags(0)
      [1176838.007] zwp_linux_dmabuf_feedback_v1@5.tranche_formats(array[620])
      [1176838.097] zwp_linux_dmabuf_feedback_v1@5.tranche_done()
      [1176838.119] zwp_linux_dmabuf_feedback_v1@5.done()
      [1176838.129] wl_callback@7.done(811)
      [1176838.177]  -> zwp_linux_dmabuf_feedback_v1@5.destroy()
      [1176876.623]  -> wl_compositor@4.create_surface(new id wl_surface@7)
      Segmentation fault (core dumped)
      amd-v2000:/usr/lib/opengl-es-cts$ 

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mvlad Marius Vlad
            rahul.kumaramd Rahul Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: