Bug 106761

Summary: Weston crash with backtrace
Product: Wayland Reporter: Dilian <dpa-bugs>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Dilian 2018-05-31 22:26:08 UTC
Weston 4.0.0 crashed with this backtrace:

#0  0x00007f41cf9f660a in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
        set = {__val = {82438, 34124912, 29057664, 139920633194932, 4222451712, 34124912, 34124912, 34124912, 34124912, 34124985, 34125012, 34124912, 34125012, 0, 0, 0}}
        pid = <optimized out>
        tid = <optimized out>
#1  0x00007f41cf9f76e1 in __GI_abort () at abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x208b470, sa_sigaction = 0x208b470}, sa_mask = {__val = {4, 139920636574784, 0, 0, 0, 140728177096344, 0, 140728177096176, 139920634276464, 21474836480, 139920634261592, 0, 140728177096528, 139920634246676, 0, 139920634261592}}, sa_flags = -942381659, sa_restorer = 0x7f41c7d4669c}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007f41cf9ef41a in __assert_fail_base (fmt=0x7f41cfb3b058 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f41c7d4669c "shsurf", file=file@entry=0x7f41c7d465a5 "desktop-shell/shell.c", line=line@entry=3725, function=function@entry=0x7f41c7d469c8 <__PRETTY_FUNCTION__.13999> "activate") at assert.c:92
        str = 0x208b470 "P\277\t\002"
        total = 4096
#3  0x00007f41cf9ef492 in __GI___assert_fail (assertion=assertion@entry=0x7f41c7d4669c "shsurf", file=file@entry=0x7f41c7d465a5 "desktop-shell/shell.c", line=line@entry=3725, function=function@entry=0x7f41c7d469c8 <__PRETTY_FUNCTION__.13999> "activate") at assert.c:101
#4  0x00007f41c7d423be in activate (shell=0x19e5070, view=0x20abef0, seat=0x1bb6280, flags=flags@entry=1) at desktop-shell/shell.c:3725
        es = 0x20b0480
        main_surface = <optimized out>
        state = <optimized out>
        old_es = <optimized out>
        shsurf = <optimized out>
        __PRETTY_FUNCTION__ = "activate"
#5  0x00007f41c7d42c62 in switcher_destroy (switcher=0x205a210) at desktop-shell/shell.c:4428
        view = 0x1bdc3d8
        keyboard = 0x1bb6430
        minimized = <optimized out>
#6  0x00007f41d12979dc in notify_key (seat=0x1bb6280, time=time@entry=0x7ffdd5017860, key=125, state=state@entry=WL_KEYBOARD_KEY_STATE_RELEASED, update_state=update_state@entry=STATE_UPDATE_AUTOMATIC) at libweston/input.c:2136
        compositor = 0x19d8110
        keyboard = 0x1bb6430
        grab = <optimized out>
        k = <optimized out>
        end = <optimized out>
#7  0x00007f41cd221303 in handle_keyboard_key (keyboard_event=0x205a1a0, libinput_device=<optimized out>) at libweston/libinput-device.c:81
        device = 0x1bc46c0
        key_state = 0
        seat_key_count = <optimized out>
        time = {tv_sec = 10205, tv_nsec = 453142000}
        libinput_device = <optimized out>
        device = <optimized out>
        handled = 1
        need_frame = false
#8  0x00007f41cd221303 in evdev_device_process_event (event=event@entry=0x205a1a0) at libweston/libinput-device.c:382
        libinput_device = <optimized out>
        device = <optimized out>
        handled = 1
        need_frame = false
#9  0x00007f41cd220960 in process_event (event=0x205a1a0) at libweston/libinput-seat.c:172
        event = 0x205a1a0
#10 0x00007f41cd220960 in process_events (input=<optimized out>) at libweston/libinput-seat.c:182
        event = 0x205a1a0
#11 0x00007f41cd220cf6 in udev_input_dispatch (input=0x19dfd88) at libweston/libinput-seat.c:193
        input = 0x19dfd88
#12 0x00007f41cd220cf6 in libinput_source_dispatch (fd=<optimized out>, mask=<optimized out>, data=0x19dfd88) at libweston/libinput-seat.c:203
        input = 0x19dfd88
#13 0x00007f41d1073f72 in wl_event_loop_dispatch (loop=0x19cfee0, timeout=timeout@entry=-1) at src/event-loop.c:641
        ep = {{events = 1, data = {ptr = 0x1bca730, fd = 29140784, u32 = 29140784, u64 = 29140784}}, {events = 1, data = {ptr = 0x1bd8d00, fd = 29199616, u32 = 29199616, u64 = 29199616}}, {events = 0, data = {ptr = 0xd50179d800000000, fd = 0, u32 = 0, u64 = 15348682973675257856}}, {events = 32765, data = {ptr = 0x7f41c7924940 <surface_api>, fd = -946714304, u32 = 3348252992, u64 = 139920497854784}}, {events = 84, data = {ptr = 0x20a78e000000000, fd = 0, u32 = 0, u64 = 147062841310969856}}, {events = 0, data = {ptr = 0x7ffdd5017a00, fd = -721323520, u32 = 3573643776, u64 = 140728177097216}}, {events = 34253048, data = {ptr = 0x20a88e800000000, fd = 0, u32 = 0, u64 = 147080467856752640}}, {events = 0, data = {ptr = 0x7f41d10744d5 <wl_connection_flush+309>, fd = -788052779, u32 = 3506914517, u64 = 139920656516309}}, {events = 44, data = {ptr = 0xd5017a5000000000, fd = 0, u32 = 0, u64 = 15348683489071333376}}, {events = 32765, data = {ptr = 0x7ffdd5017a40, fd = -721323456, u32 = 3573643840, u64 = 140728177097280}}, {events = 0, data = {ptr = 0x20a906000001778, fd = 6008, u32 = 6008, u64 = 147088679834228600}}, {events = 0, data = {ptr = 0x2c, fd = 44, u32 = 44, u64 = 44}}, {events = 34302264, data = {ptr = 0x10c00000000, fd = 0, u32 = 0, u64 = 1151051235328}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0xd50179e000000000, fd = 0, u32 = 0, u64 = 15348683008034996224}}, {events = 32765, data = {ptr = 0x1, fd = 1, u32 = 1, u64 = 1}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x1400000000, fd = 0, u32 = 0, u64 = 85899345920}}, {events = 0, data = {ptr = 0x100000001, fd = 1, u32 = 1, u64 = 4294967297}}, {events = 67, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 34095344, data = {ptr = 0x209a5d000000000, fd = 0, u32 = 0, u64 = 146830775638032384}}, {events = 0, data = {ptr = 0x19d2948, fd = 27076936, u32 = 27076936, u64 = 27076936}}}
        source = <optimized out>
        i = <optimized out>
        count = <optimized out>
#14 0x00007f41d107286a in wl_display_run (display=display@entry=0x19d2900) at src/wayland-server.c:1260
#15 0x00000000004050ca in main (argc=<optimized out>, argv=0x7ffdd50180a8) at compositor/main.c:1868
        ret = 1
        display = 0x19d2900
        ec = 0x19d8110
        signals = {0x19d27b0, 0x19d0e30, 0x19ce0d0, 0x19ce1c0}
        loop = <optimized out>
        i = 1
        fd = <optimized out>
        backend = 0x19d80f0 "drm-backend.so"
        shell = 0x1bc67e0 "desktop-shell.so"
        xwayland = 1
        modules = 0x1bbcb20 "systemd-notify.so,xwayland.so"
        option_modules = 0x0
        log = 0x0
        server_socket = <optimized out>
        idle_time = 300
        help = 0
        socket_name = 0x0
        version = 0
        noconfig = 0
        numlock_on = 0
        config_file = 0x0
        config = <optimized out>
        section = <optimized out>
        primary_client = <optimized out>
        primary_client_destroyed = {link = {prev = 0x0, next = 0x1}, notify = 0x19d8700}
        seat = <optimized out>
        user_data = {config = 0x19d8cf0, parsed_options = 0x0, pending_output_listener = {link = {prev = 0x19d81d8, next = 0x19d81d8}, notify = 0x4061d0 <drm_backend_output_configure>}, drm_use_current_mode = false}
        require_input = 1
        wait_for_debugger = 0
        core_options = {{type = WESTON_OPTION_STRING, name = 0x4097e0 "backend", short_name = 66 'B', data = 0x7ffdd5017ba0}, {type = WESTON_OPTION_STRING, name = 0x4097e8 "shell", short_name = 0 '\000', data = 0x7ffdd5017ba8}, {type = WESTON_OPTION_STRING, name = 0x4099e4 "socket", short_name = 83 'S', data = 0x7ffdd5017bc8}, {type = WESTON_OPTION_INTEGER, name = 0x4097ee "idle-time", short_name = 105 'i', data = 0x7ffdd5017b78}, {type = WESTON_OPTION_BOOLEAN, name = 0x4097f8 "xwayland", short_name = 0 '\000', data = 0x7ffdd5017b74}, {type = WESTON_OPTION_STRING, name = 0x409801 "modules", short_name = 0 '\000', data = 0x7ffdd5017bb8}, {type = WESTON_OPTION_STRING, name = 0x409809 "log", short_name = 0 '\000', data = 0x7ffdd5017bc0}, {type = WESTON_OPTION_BOOLEAN, name = 0x40980d "help", short_name = 104 'h', data = 0x7ffdd5017b7c}, {type = WESTON_OPTION_BOOLEAN, name = 0x409812 "version", short_name = 0 '\000', data = 0x7ffdd5017b80}, {type = WESTON_OPTION_BOOLEAN, name = 0x40981a "no-config", short_name = 0 '\000', data = 0x7ffdd5017b84}, {type = WESTON_OPTION_STRING, name = 0x40981d "config", short_name = 99 'c', data = 0x7ffdd5017bd0}, {type = WESTON_OPTION_BOOLEAN, name = 0x409824 "wait-for-debugger", short_name = 0 '\000', data = 0x7ffdd5017b8c}}
Comment 1 GitLab Migration User 2018-06-08 23:56:43 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/wayland/weston/issues/116.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.