Skip to content

Instantly share code, notes, and snippets.

@eiz
Created January 1, 2019 13:22
Show Gist options
  • Save eiz/5484853b70b5232982c812c7f93904f2 to your computer and use it in GitHub Desktop.
Save eiz/5484853b70b5232982c812c7f93904f2 to your computer and use it in GitHub Desktop.
Core was generated by `sway -c dev.config -d'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000564f86b209a3 in output_surface_for_each_surface (output=0x564f8732dfc0, surface=0x0, ox=0, oy=0,
iterator=0x564f86b22128 <render_surface_iterator>, user_data=0x7ffd9daf10f0) at ../sway/desktop/output.c:137
137 .width = surface->current.width,
[Current thread is 1 (Thread 0x7f4419392e40 (LWP 11965))]
(gdb) bt full
#0 0x0000564f86b209a3 in output_surface_for_each_surface
(output=0x564f8732dfc0, surface=0x0, ox=0, oy=0, iterator=0x564f86b22128 <render_surface_iterator>, user_data=0x7ffd9daf10f0)
at ../sway/desktop/output.c:137
data =
{user_iterator = 0x564f86b22128 <render_surface_iterator>, user_data = 0x7ffd9daf10f0, output = 0x564f8732dfc0, ox = 0, oy = 0, width = 24, height = 0, rotation = -4.6339498e-21}
#1 0x0000564f86b226be in render_view_toplevels (view=0x564f87490d00, output=0x564f8732dfc0, damage=0x7ffd9daf1210, alpha=1)
at ../sway/desktop/render.c:218
data = {damage = 0x7ffd9daf1210, alpha = 1}
ox = 0
oy = 0
#2 0x0000564f86b24f3a in output_render (output=0x564f8732dfc0, when=0x7ffd9daf1200, damage=0x7ffd9daf1210)
at ../sway/desktop/render.c:1021
clear_color = {0, 0, 0, 1}
nrects = 4
rects = 0x564f871c4b00
wlr_output = 0x564f873318e0
renderer = 0x564f8702e4e0
__func__ = "output_render"
workspace = 0x564f87258f60
fullscreen_con = 0x564f8748a680
seat = 0x1
focus = 0x7ffd00000002
width = 0
height = 4
transform = WL_OUTPUT_TRANSFORM_NORMAL
#3 0x0000564f86b214c9 in damage_handle_frame (listener=0x564f8732e138, data=0x564f871a3af0) at ../sway/desktop/output.c:378
output = 0x564f8732dfc0
now = {tv_sec = 43883, tv_nsec = 43416783}
needs_swap = true
damage = {extents = {x1 = 0, y1 = 0, x2 = 635, y2 = 1390}, data = 0x564f871c4af0}
#4 0x00007f441c255ad8 in wlr_signal_emit_safe (signal=0x564f871a3b50, data=0x564f871a3af0) at ../util/signal.c:29
pos = 0x564f8732e138
l = 0x564f8732e138
cursor = {link = {prev = 0x564f8732e138, next = 0x7ffd9daf1280}, notify = 0x7f441c255a22 <handle_noop>}
end = {link = {prev = 0x7ffd9daf1260, next = 0x564f871a3b50}, notify = 0x7f441c255a22 <handle_noop>}
#5 0x00007f441c243fe5 in output_handle_frame (listener=0x564f871a3be8, data=0x564f873318e0) at ../types/wlr_output_damage.c:50
output_damage = 0x564f871a3af0
#6 0x00007f441c255ad8 in wlr_signal_emit_safe (signal=0x564f87331a00, data=0x564f873318e0) at ../util/signal.c:29
pos = 0x564f871a3be8
l = 0x564f871a3be8
cursor = {link = {prev = 0x564f871a3be8, next = 0x7ffd9daf1320}, notify = 0x7f441c255a22 <handle_noop>}
end = {link = {prev = 0x7ffd9daf1300, next = 0x564f87331a00}, notify = 0x7f441c255a22 <handle_noop>}
#7 0x00007f441c246ef4 in wlr_output_send_frame (output=0x564f873318e0) at ../types/wlr_output.c:413
#8 0x00007f441c216405 in surface_frame_callback (data=0x564f873318e0, cb=0x564f873a6c70, time=43883042)
at ../backend/wayland/output.c:36
output = 0x564f873318e0
__PRETTY_FUNCTION__ = "surface_frame_callback"
#9 0x00007f441ae35dae in ffi_call_unix64 () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#10 0x00007f441ae3571f in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#11 0x00007f441ab9612d in () at /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
#12 0x00007f441ab92969 in () at /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
#13 0x00007f441ab93e34 in wl_display_dispatch_queue_pending () at /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
#14 0x00007f441c2155c4 in dispatch_events (fd=4, mask=1, data=0x564f86d24bc0) at ../backend/wayland/backend.c:37
wl = 0x564f86d24bc0
#15 0x00007f441c293942 in wl_event_loop_dispatch () at /usr/lib/x86_64-linux-gnu/libwayland-server.so.0
#16 0x00007f441c29256a in wl_display_run () at /usr/lib/x86_64-linux-gnu/libwayland-server.so.0
#17 0x0000564f86b1e436 in server_run (server=0x564f86b78dc0 <server>) at ../sway/server.c:190
#18 0x0000564f86b1da8d in main (argc=4, argv=0x7ffd9daf1b08) at ../sway/main.c:414
verbose = 0
debug = 1
validate = 0
allow_unsupported_gpu = 0
long_options =
{{name = 0x564f86b61c34 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x564f86b61c39 "config", has_arg = 1, flag = 0x0, val = 99}, {name = 0x564f86b61c40 "validate", has_arg = 0, flag = 0x0, val = 67}, {name = 0x564f86b61c49 "debug", has_arg = 0, flag = 0x0, val = 100}, {name = 0x564f86b61c4f "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x564f86b61c57 "verbose", has_arg = 0, flag = 0x0, val = 86}, {name = 0x564f86b61c5f "get-socketpath", has_arg = 0, flag = 0x0, val = 112}, {name = 0x564f86b61c6e "unsupported-gpu", has_arg = 0, flag = 0x0, val = 117}, {name = 0x564f86b61c7e "my-next-gpu-wont-be-nvidia", has_arg = 0, flag = 0x0, val = 117}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
config_path = 0x564f86d24820 "gl_TextureMatrixInverse"
usage = 0x564f86b617f0 "Usage: sway [options] [command]\n\n -h, --help", ' ' <repeats 13 times>, "Show help message and quit.\n--Type <RET> for more, q to quit, c to continue without paging--
-c, --config <config> Specify a config file.\n -C, --validate Check the validity of the config file, th"...
c = -1
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment