Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • W weston
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 361
    • Issues 361
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 123
    • Merge requests 123
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • waylandwayland
  • weston
  • Issues
  • #659
Closed
Open
Issue created Sep 05, 2022 by Roman Gilg@romangg

weston-subsurfaces seg faults on missing wl_compositor

Bisect

Git bisect indicates first bad commit: ebbe30df

Log

% WAYLAND_DEBUG=client weston-subsurfaces
[ 458475.267]  -> wl_display@1.get_registry(new id wl_registry@2)
[ 458475.276]  -> wl_display@1.sync(new id wl_callback@3)
[ 458480.640] wl_display@1.delete_id(3)
[ 458480.647] wl_registry@2.global(1, "wl_shm", 1)
[ 458480.654]  -> wl_registry@2.bind(1, "wl_shm", 1, new id [unknown]@4)
[ 458480.657] wl_registry@2.global(2, "wl_seat", 5)
[ 458480.658]  -> wl_registry@2.bind(2, "wl_seat", 5, new id [unknown]@5)
[1]    324483 segmentation fault (core dumped)  WAYLAND_DEBUG=client weston-subsurfaces

Backtrace

Core was generated by `weston-subsurfaces'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  wl_proxy_get_version (proxy=0x0) at ../src/src/wayland-client.c:2212
2212            return proxy->version;
(gdb) bt
#0  wl_proxy_get_version (proxy=0x0) at ../src/src/wayland-client.c:2212
#1  0x000055d025a38493 in wl_compositor_create_surface (wl_compositor=0x0) at /opt/wayland/include/wayland-client-protocol.h:1293
#2  0x000055d025a4473e in display_add_input (d=0x55d025bb9580, id=2, display_seat_version=5) at ../src/clients/window.c:5746
#3  0x000055d025a44c68 in registry_handle_global (data=0x55d025bb9580, registry=0x55d025bbe200, id=2, interface=0x55d025bbe9b0 "wl_seat", version=5) at ../src/clients/window.c:5867
#4  0x00007f90e8195536 in  () at /usr/lib/libffi.so.8
#5  0x00007f90e8192037 in  () at /usr/lib/libffi.so.8
#6  0x00007f90e8940716 in wl_closure_invoke (closure=0x55d025bbe8d0, flags=<optimized out>, target=<optimized out>, opcode=0, data=<optimized out>) at ../src/src/connection.c:1025
#7  0x00007f90e893cad9 in dispatch_event (display=display@entry=0x55d025bb96c0, queue=0x55d025bb9790) at ../src/src/wayland-client.c:1595
#8  0x00007f90e893e424 in dispatch_queue (queue=0x55d025bb9790, display=0x55d025bb96c0) at ../src/src/wayland-client.c:1741
#9  wl_display_dispatch_queue_pending (display=0x55d025bb96c0, queue=0x55d025bb9790) at ../src/src/wayland-client.c:1983
#10 0x00007f90e893e96f in wl_display_roundtrip_queue (display=0x55d025bb96c0, queue=0x55d025bb9790) at ../src/src/wayland-client.c:1370
#11 0x000055d025a45383 in display_create (argc=0x7fff84e6119c, argv=0x7fff84e612c8) at ../src/clients/window.c:6036
#12 0x000055d025a381fd in main (argc=1, argv=0x7fff84e612c8) at ../src/clients/subsurfaces.c:792
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking