Skip to content

Instantly share code, notes, and snippets.

@aplund
Created June 19, 2022 09:55
Show Gist options
  • Save aplund/a902ce4617e38e53ebf5c412335b4286 to your computer and use it in GitHub Desktop.
Save aplund/a902ce4617e38e53ebf5c412335b4286 to your computer and use it in GitHub Desktop.
#0 wlr_surface_is_xdg_surface (surface=surface@entry=0x0) at /home/lund/.cache/debuginfod_client/373190f20c23d64e0de63f0806b36a0c8a8b07b9/source##usr##src##debug##build##..##wlroots-0.15.1##types##xdg_shell##wlr_xdg_surface.c:10
#1 0x000055d8453b80e2 in view_from_wlr_surface (wlr_surface=<optimized out>) at /home/lund/.cache/debuginfod_client/3c619f22752ec0634fdfae3e4c297cd809c336a9/source##usr##src##debug##build##..##sway-1.7##sway##tree##view.c:1162
#2 0x000055d84537d104 in sway_idle_inhibit_v1_is_active (inhibitor=0x55d847f28820) at /home/lund/.cache/debuginfod_client/3c619f22752ec0634fdfae3e4c297cd809c336a9/source##usr##src##debug##build##..##sway-1.7##sway##desktop##idle_inhibit_v1.c:109
#3 0x000055d84537d25d in sway_idle_inhibit_v1_check_active (manager=0x55d8478272c0) at /home/lund/.cache/debuginfod_client/3c619f22752ec0634fdfae3e4c297cd809c336a9/source##usr##src##debug##build##..##sway-1.7##sway##desktop##idle_inhibit_v1.c:138
#4 destroy_inhibitor (inhibitor=0x55d847a0b120) at /home/lund/.cache/debuginfod_client/3c619f22752ec0634fdfae3e4c297cd809c336a9/source##usr##src##debug##build##..##sway-1.7##sway##desktop##idle_inhibit_v1.c:14
#5 handle_destroy (listener=0x55d847a0b150, data=<optimized out>) at /home/lund/.cache/debuginfod_client/3c619f22752ec0634fdfae3e4c297cd809c336a9/source##usr##src##debug##build##..##sway-1.7##sway##desktop##idle_inhibit_v1.c:22
#6 0x00007f78e6f64c5e in wlr_signal_emit_safe (signal=<optimized out>, data=0x55d848162b30) at /home/lund/.cache/debuginfod_client/373190f20c23d64e0de63f0806b36a0c8a8b07b9/source##usr##src##debug##build##..##wlroots-0.15.1##util##signal.c:29
#7 0x00007f78e6f46a1e in idle_inhibitor_v1_destroy (inhibitor=0x55d848239d00) at /home/lund/.cache/debuginfod_client/373190f20c23d64e0de63f0806b36a0c8a8b07b9/source##usr##src##debug##build##..##wlroots-0.15.1##types##wlr_idle_inhibit_v1.c:36
#8 idle_inhibitor_v1_destroy (inhibitor=0x55d848239d00) at /home/lund/.cache/debuginfod_client/373190f20c23d64e0de63f0806b36a0c8a8b07b9/source##usr##src##debug##build##..##wlroots-0.15.1##types##wlr_idle_inhibit_v1.c:31
#9 idle_inhibitor_v1_handle_resource_destroy (inhibitor_resource=<optimized out>) at /home/lund/.cache/debuginfod_client/373190f20c23d64e0de63f0806b36a0c8a8b07b9/source##usr##src##debug##build##..##wlroots-0.15.1##types##wlr_idle_inhibit_v1.c:48
#10 0x00007f78e6fbc6fa in destroy_resource (element=0x55d84817ff60, data=data@entry=0x7ffeeb3a1434, flags=0) at /home/lund/.cache/debuginfod_client/5526cec43774a83c7ab8c7ff820eea8b28880d51/source##usr##src##debug##build##..##wayland-1.20.0##src##wayland-server.c:727
#11 0x00007f78e6fbce93 in for_each_helper (entries=<optimized out>, entries=0x55d8471149a0, data=0x7ffeeb3a1434, func=0x7f78e6fbc640 <destroy_resource>) at /home/lund/.cache/debuginfod_client/5526cec43774a83c7ab8c7ff820eea8b28880d51/source##usr##src##debug##build##..##wayland-1.20.0##src##wayland-util.c:376
#12 wl_map_for_each (data=0x7ffeeb3a1434, func=0x7f78e6fbc640 <destroy_resource>, map=0x55d8471149a0) at /home/lund/.cache/debuginfod_client/5526cec43774a83c7ab8c7ff820eea8b28880d51/source##usr##src##debug##build##..##wayland-1.20.0##src##wayland-util.c:390
#13 wl_client_destroy (client=client@entry=0x55d847114970) at /home/lund/.cache/debuginfod_client/5526cec43774a83c7ab8c7ff820eea8b28880d51/source##usr##src##debug##build##..##wayland-1.20.0##src##wayland-server.c:886
#14 0x00007f78e6fbd569 in wl_client_connection_data (fd=<optimized out>, mask=<optimized out>, data=0x55d847114970) at /home/lund/.cache/debuginfod_client/5526cec43774a83c7ab8c7ff820eea8b28880d51/source##usr##src##debug##build##..##wayland-1.20.0##src##wayland-server.c:342
#15 0x00007f78e6fbc84a in wl_event_loop_dispatch (loop=0x55d847030b90, timeout=timeout@entry=-1) at /home/lund/.cache/debuginfod_client/5526cec43774a83c7ab8c7ff820eea8b28880d51/source##usr##src##debug##build##..##wayland-1.20.0##src##event-loop.c:1027
#16 0x00007f78e6fbd047 in wl_display_run (display=0x55d8470372a0) at /home/lund/.cache/debuginfod_client/5526cec43774a83c7ab8c7ff820eea8b28880d51/source##usr##src##debug##build##..##wayland-1.20.0##src##wayland-server.c:1408
#17 0x000055d84536fa10 in server_run (server=<optimized out>) at /home/lund/.cache/debuginfod_client/3c619f22752ec0634fdfae3e4c297cd809c336a9/source##usr##src##debug##build##..##sway-1.7##sway##server.c:304
#18 main (argc=<optimized out>, argv=<optimized out>) at /home/lund/.cache/debuginfod_client/3c619f22752ec0634fdfae3e4c297cd809c336a9/source##usr##src##debug##build##..##sway-1.7##sway##main.c:431
Dump of assembler code for function wlr_surface_is_xdg_surface:
0x00007f78e6f3cbb0 <+0>: endbr64
=> 0x00007f78e6f3cbb4 <+4>: mov 0x2a0(%rdi),%rdx
0x00007f78e6f3cbbb <+11>: lea 0x6bdee(%rip),%rax # 0x7f78e6fa89b0 <xdg_popup_surface_role>
0x00007f78e6f3cbc2 <+18>: lea 0x6be07(%rip),%rcx # 0x7f78e6fa89d0 <xdg_toplevel_surface_role>
0x00007f78e6f3cbc9 <+25>: cmp %rax,%rdx
0x00007f78e6f3cbcc <+28>: sete %al
0x00007f78e6f3cbcf <+31>: cmp %rcx,%rdx
0x00007f78e6f3cbd2 <+34>: sete %dl
0x00007f78e6f3cbd5 <+37>: or %edx,%eax
0x00007f78e6f3cbd7 <+39>: ret
End of assembler dump.
rax 0x55d8482b8af0 94387412110064
rbx 0x0 0
rcx 0x7f78e6fa89d0 140157247982032
rdx 0x7f78e6faa400 140157247988736
rsi 0x55d8453c8870 94387362891888
rdi 0x0 0
rbp 0x55d847f28820 0x55d847f28820
rsp 0x7ffeeb3a1318 0x7ffeeb3a1318
r8 0x55d847f47b10 94387408501520
r9 0x0 0
r10 0x1 1
r11 0x6f9b37588f76b130 8042082413103722800
r12 0x55d847a0b120 94387403010336
r13 0x55d848162b30 94387410709296
r14 0x7f78e6f57ee0 140157247651552
r15 0x7ffeeb3a1680 140732844873344
rip 0x7f78e6f3cbb4 0x7f78e6f3cbb4 <wlr_surface_is_xdg_surface+4>
eflags 0x10206 [ PF IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment