Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rofi crashes randomly on fractional scaling. #124

Open
2 tasks done
siddharthkumarjha opened this issue Mar 16, 2024 · 1 comment
Open
2 tasks done

rofi crashes randomly on fractional scaling. #124

siddharthkumarjha opened this issue Mar 16, 2024 · 1 comment
Labels

Comments

@siddharthkumarjha
Copy link

siddharthkumarjha commented Mar 16, 2024

Rofi version (rofi -v or git commit in case of build issue)

1.7.5+wayland3

Configuration

https://gist.github.com/siddharthkumarjha/da593d6c835d325bb07bbad00d784155

Theme

https://gist.github.com/siddharthkumarjha/8b230344e25a057b904b7591cd16970a

Timing report

https://gist.github.com/siddharthkumarjha/34c5ab72fddf7a4dedf5aa85ad37db0c

Launch command

rofi -show drun -no-config -no-plugins

Step to reproduce

This is very random but all you have to do is launch rofi the flags you pass it doesn't matter. The program will crash regardless with the same error.

'rofi -show drun' terminated by signal SIGBUS (Misaligned address error)

The possible suspect is scaling factor. The reasons for this belief, re-iterating with my findings in discussion davatorium#1964
I have git cloned the repo,

git clone --depth=1 --branch 1.7.5+wayland3 [email protected]:lbonn/rofi.git

built it,

meson setup build --prefix ${PWD}/target --debug
ninja -C build install

and put it in gdb to get the following stack trace when the issue happens,

Core was generated by `./target/bin/rofi -show drun -no-config -no-plugins'.
Program terminated with signal SIGBUS, Bus error.
#0  0x000055ec82bb913f in _mm_store_si128 (__B=..., __P=0x55ec7afe9000)
    at /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include/emmintrin.h:736
736	 *__P = __B;
[Current thread is 1 (Thread 0x55ec826648c0 (LWP 80579))]
(gdb) info stack 
#0  0x000055ec82bb913f in _mm_store_si128 (__B=..., __P=0x55ec7afe9000)
    at /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include/emmintrin.h:736
#1  save_128_aligned (data=..., dst=0x55ec7afe9000)
    at ../pixman-0.43.4/pixman/pixman-sse2.c:381
#2  sse2_fill
    (imp=<optimized out>, bits=<optimized out>, stride=6392, bpp=<optimized out>, x=<optimized out>, y=<optimized out>, width=1598, height=185, filler=0)
    at ../pixman-0.43.4/pixman/pixman-sse2.c:3387
#3  0x000055ec82b5cf3b in _pixman_implementation_fill
    (filler=0, height=892, width=1598, y=0, x=0, bpp=32, stride=1598, bits=0x55ec7ab9a000, imp=0x55ec83d320e0)
    at ../pixman-0.43.4/pixman/pixman-implementation.c:277
#4  pixman_fill
    (bits=0x55ec7ab9a000, stride=1598, bpp=32, x=0, y=0, width=1598, height=892, filler=0) at ../pixman-0.43.4/pixman/pixman.c:759
#5  0x000055ec8366a677 in fill_boxes
    (_dst=0x55ec83d770c0, op=<optimized out>, color=<optimized out>, boxes=<optimized out>) at ../cairo/src/cairo-image-compositor.c:350
#6  0x000055ec836ac2de in composite_aligned_boxes
    (boxes=0x7ffd28898110, extents=0x7ffd288983b0, compositor=0x55ec8377ecc0 <spans>) at ../cairo/src/cairo-spans-compositor.c:628
#7  clip_and_composite_boxes
    (compositor=compositor@entry=0x55ec8377ecc0 <spans>, extents=extents@entry=0x7ffd288983b0, boxes=boxes@entry=0x7ffd28898110)
    at ../cairo/src/cairo-spans-compositor.c:882
#8  0x000055ec836ac8c8 in clip_and_composite_boxes
    (compositor=compositor@entry=0x55ec8377ecc0 <spans>, extents=extents@entry=0x7ffd288983b0, boxes=boxes@entry=0x7ffd28898110)
    at ../cairo/src/cairo-spans-compositor.c:901
#9  0x000055ec836ac970 in _cairo_spans_compositor_mask
    (_compositor=0x55ec8377ecc0 <spans>, extents=0x7ffd288983b0)
    at ../cairo/src/cairo-spans-compositor.c:999
#10 0x000055ec836653c1 in _cairo_compositor_paint
    (compositor=0x55ec8377ecc0 <spans>, surface=0x55ec83d770c0, op=<optimized out>, source=<optimized out>, clip=<optimized out>)
    at ../cairo/src/cairo-compositor.c:65
#11 0x000055ec836b60fd in _cairo_surface_paint
    (surface=0x55ec83d770c0, op=CAIRO_OPERATOR_CLEAR, source=0x55ec8374ee60 <_cairo_pattern_clear>, clip=0x0) at ../cairo/src/cairo-surface.c:2203
#12 0x000055ec8367091c in _cairo_gstate_paint (gstate=0x55ec83e95060)
--Type <RET> for more, q to quit, c to continue without paging--
    at ../cairo/src/cairo-gstate.c:1101
#13 0x000055ec836c11b9 in cairo_paint (cr=0x55ec83e95030)
    at ../cairo/src/cairo.c:2230
#14 0x000055ec8397b41e in wayland_rofi_view_update
    (state=0x55ec83e65e30, qr=1) at ../source/wayland/view.c:357
#15 0x000055ec8397b7c6 in wayland_rofi_view_pool_refresh ()
    at ../source/wayland/view.c:468
#16 0x000055ec8394c1f9 in rofi_view_pool_refresh () at ../source/view.c:1992
#17 0x000055ec8397ac7b in wayland_rofi_view_window_update_size
    (state=0x55ec83e65e30) at ../source/wayland/view.c:159
#18 0x000055ec8397acc4 in wayland_rofi_view_set_size
    (state=0x55ec83e65e30, width=-1, height=-1)
    at ../source/wayland/view.c:170
#19 0x000055ec8394c185 in rofi_view_set_size
    (state=0x55ec83e65e30, width=-1, height=-1) at ../source/view.c:1983
#20 0x000055ec8397cf27 in wayland_surface_protocol_enter
    (data=0x55ec839afa00 <wayland_>, wl_surface=0x55ec83e03970, wl_output=0x55ec83d7ffb0) at ../source/wayland/display.c:257
#21 0x000055ec82afa596 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#22 0x000055ec82af700e in ffi_call_int
    (cif=cif@entry=0x7ffd28898b30, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#23 0x000055ec82af9bd3 in ffi_call
    (cif=cif@entry=0x7ffd28898b30, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffd28898c00) at ../src/x86/ffi64.c:710
#24 0x000055ec83179645 in wl_closure_invoke
    (closure=closure@entry=0x55ec83f4e720, target=<optimized out>, 
    target@entry=0x55ec83e03970, opcode=opcode@entry=0, data=<optimized out>, flags=1) at ../wayland-1.22.0/src/connection.c:1025
#25 0x000055ec83179e73 in dispatch_event
    (display=display@entry=0x55ec83d78520, queue=0x55ec83d78610)
    at ../wayland-1.22.0/src/wayland-client.c:1631
#26 0x000055ec8317a13c in dispatch_queue
    (queue=0x55ec83d78610, display=0x55ec83d78520)
    at ../wayland-1.22.0/src/wayland-client.c:1777
#27 wl_display_dispatch_queue_pending
    (display=0x55ec83d78520, queue=0x55ec83d78610)
    at ../wayland-1.22.0/src/wayland-client.c:2019
#28 0x000055ec83980bdd in _g_water_wayland_source_dispatch
    (source=0x55ec83d3e8f0, callback=0x55ec8397f80d <wayland_error>, user_data--Type <RET> for more, q to quit, c to continue without paging--c
=0x0) at ../subprojects/libgwater/wayland/libgwater-wayland.c:107
#29 0x000055ec837e0f69 in g_main_dispatch (context=0x55ec83d3c730)
    at ../glib/glib/gmain.c:3476
#30 0x000055ec8383f3a7 in g_main_context_dispatch_unlocked
    (context=0x55ec83d3c730) at ../glib/glib/gmain.c:4284
#31 g_main_context_iterate_unlocked.isra.0
    (context=0x55ec83d3c730, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#32 0x000055ec837e1b97 in g_main_loop_run (loop=0x55ec83d77280)
    at ../glib/glib/gmain.c:4551
#33 0x000055ec839378d3 in main (argc=5, argv=0x7ffd28899118)
    at ../source/rofi.c:1251

With the help of this stack trace and the rofi debug logs I went into code and saw that, the program was crashing in wayland_rofi_view_update function in source/wayland/view.c at line 357 when cairo_paint is invoked over the scaled version of rofi.

To confirm this I added a few debug log lines in the program,

static void wayland_rofi_view_update(RofiViewState *state, gboolean qr) {
  if (!widget_need_redraw(WIDGET(state->main_window))) {
    return;
  }
  g_debug("Redraw view");
  TICK();
  if (state->pool == NULL) {
    state->pool = display_buffer_pool_new(state->width, state->height);
  }
  cairo_surface_t *surface = display_buffer_pool_get_next_buffer(state->pool);
  if (surface == NULL) {
    // no available buffer, bail out
    return;
  }
  cairo_t *d = cairo_create(surface);
  cairo_set_operator(d, CAIRO_OPERATOR_SOURCE);
  // Paint the background transparent.
  cairo_set_source_rgba(d, 0, 0, 0, 0.0);
  guint scale = display_scale();
  cairo_surface_set_device_scale(surface, scale, scale);
  printf("DEBUG1\n");
  printf("DEBUG: %p cairo_t\n", d);
  printf("DEBUG: %p surface\n", surface);
  printf("DEBUG: %d scale\n", scale);
  cairo_paint(d);
  printf("DEBUG2\n");
  printf("DEBUG: %p cairo_t\n", d);
  printf("DEBUG: %p surface\n", surface);
  printf("DEBUG: %d scale\n", scale);
  TICK_N("Background");

  // Always paint as overlay over the background.
  cairo_set_operator(d, CAIRO_OPERATOR_OVER);
  widget_draw(WIDGET(state->main_window), d);

  TICK_N("widgets");
  cairo_destroy(d);
  display_surface_commit(surface);

  if (qr) {
    wayland_rofi_view_queue_redraw();
  }
}

and ran this as below,

G_MESSAGES_DEBUG=Timings ./target/bin/rofi -show drun -no-config -no-plugins 

which generated the logs I shared in timing report,
https://gist.github.com/siddharthkumarjha/34c5ab72fddf7a4dedf5aa85ad37db0c

as can be seen the program crashed as soon as scaling was set as 2 (it's actually 1.2 but wayland seems to round that to 2 and report it as such to rofi). I launched the program with -x11 flag which seems to hardcode the scale of 1,

static guint xcb_display_scale(void) { return 1; }

and the program would work. I changed my hyprland config,

monitor= eDP-1, [email protected], 0x0, 1.20

scale here from 1.20 to 1.00 and it works again. go back and it stops working again.

I noticed that if I stop rofi from scaling like this,
(function in line 231 source/wayland/display.c)

static void wayland_surface_protocol_enter(void *data,
                                           struct wl_surface *wl_surface,
                                           struct wl_output *wl_output) {
  wayland_output *output;

  output = g_hash_table_lookup(wayland->outputs, wl_output);
  if (output == NULL) {
    return;
  }

  if (config.dpi == 0 || config.dpi == 1) {
    // DPI auto-detect requested.
    config.dpi = wayland_output_get_dpi(output, output->current.scale, height);
    g_debug("Auto-detected DPI: %d", config.dpi);
  }

  wl_surface_set_buffer_scale(wl_surface, output->current.scale);

  // if (wayland->scale != output->current.scale) {
  //   wayland->scale = output->current.scale;

  //   // create new buffers with the correct scaled size
  //   rofi_view_pool_refresh();

  //   RofiViewState *state = rofi_view_get_active();
  //   if (state != NULL) {
  //     rofi_view_set_size(state, -1, -1);
  //   }
  // }
}

The issue went away. Just changing wayland->scale = output->current.scale; in the commented out if statement to wayland->scale = 1 works as well.

I tested it several times and saw consistent behavior so I decided to report the issue through a discussion first. However shortly after reporting the issue it went away again like a ghost. With no changes from my side at all. Suddenly rofi is working again with scaling it's receiving.

G_MESSAGES_DEBUG=Timings ./target/bin/rofi -show drun -no-config -no-plugins
(process:145199): Timings-DEBUG: 22:50:50.276: 0.000001 (0.000000): Started
(process:145199): Timings-DEBUG: 22:50:50.280: 0.004014 (0.004014): ../source/rofi.c:main:961 
(process:145199): Timings-DEBUG: 22:50:50.281: 0.005560 (0.001546): ../source/rofi.c:main:1011 
(process:145199): Timings-DEBUG: 22:50:50.282: 0.005691 (0.000131): ../source/rofi.c:main:1034 Select Backend
(process:145199): Timings-DEBUG: 22:50:50.282: 0.005898 (0.000207): ../source/rofi.c:main:1042 Setup Locale
(process:145199): Timings-DEBUG: 22:50:50.282: 0.005976 (0.000078): ../source/rofi.c:main:1044 Collect MODES
(process:145199): Timings-DEBUG: 22:50:50.282: 0.006033 (0.000057): ../source/rofi.c:main:1046 Setup MODES
(process:145199): Timings-DEBUG: 22:50:50.282: 0.006096 (0.000063): ../source/rofi.c:main:1050 Setup mainloop
(process:145199): Timings-DEBUG: 22:50:50.282: 0.006412 (0.000316): ../source/rofi.c:main:1053 NK Bindings
xkbcommon: ERROR: couldn't find a Compose file for locale "en_IN" (mapped to "en_IN.ISO8859-1")
(process:145199): Timings-DEBUG: 22:50:50.284: 0.007827 (0.001415): ../source/rofi.c:main:1060 Setup Display
(process:145199): Timings-DEBUG: 22:50:50.284: 0.007924 (0.000097): ../source/rofi.c:main:1064 Setup abe
(process:145199): Timings-DEBUG: 22:50:50.284: 0.008149 (0.000225): ../source/rofi.c:main:1124 Load cmd config 
(process:145199): Timings-DEBUG: 22:50:50.284: 0.008197 (0.000048): ../source/rofi.c:main:1146 Setup Modes
(process:145199): Timings-DEBUG: 22:50:50.284: 0.008480 (0.000283): ../source/view.c:rofi_view_workers_initialize:1832 Setup Threadpool, start
(process:145199): Timings-DEBUG: 22:50:50.285: 0.008694 (0.000214): ../source/view.c:rofi_view_workers_initialize:1857 Setup Threadpool, done
(process:145199): Timings-DEBUG: 22:50:50.285: 0.008741 (0.000047): ../source/rofi.c:main:1214 Workers initialize
(process:145199): Timings-DEBUG: 22:50:50.302: 0.026519 (0.017778): ../source/rofi.c:main:1216 Icon fetcher initialize
(process:145199): Timings-DEBUG: 22:50:50.303: 0.026654 (0.000135): ../source/rofi.c:main:1224 Pid file created
(process:145199): Timings-DEBUG: 22:50:50.303: 0.026677 (0.000023): ../source/rofi.c:main:1230 Text box setup
(process:145199): Timings-DEBUG: 22:50:50.307: 0.031572 (0.004895): ../source/rofi.c:main:1237 Setup late Display
(process:145199): Timings-DEBUG: 22:50:50.308: 0.031743 (0.000171): ../source/rofi.c:main:1242 Theme setup
(process:145199): Timings-DEBUG: 22:50:50.308: 0.031914 (0.000171): ../source/rofi.c:startup:773 Startup
(process:145199): Timings-DEBUG: 22:50:50.308: 0.031939 (0.000025): ../source/rofi.c:startup:782 Grab keyboard
(process:145199): Timings-DEBUG: 22:50:50.308: 0.032211 (0.000272): ../source/wayland/view.c:wayland___create_window:256 create cairo surface
(process:145199): Timings-DEBUG: 22:50:50.308: 0.032521 (0.000310): ../source/wayland/view.c:wayland___create_window:260 pango cairo font setup
(process:145199): Timings-DEBUG: 22:50:50.308: 0.032604 (0.000083): ../source/wayland/view.c:wayland___create_window:293 configure font
(process:145199): Timings-DEBUG: 22:50:50.353: 0.077447 (0.044843): ../source/wayland/view.c:wayland___create_window:308 done
(process:145199): Timings-DEBUG: 22:50:50.353: 0.077511 (0.000064): ../source/rofi.c:startup:784 Create Window
(process:145199): Timings-DEBUG: 22:50:50.353: 0.077527 (0.000016): ../source/rofi.c:startup:786 Parse ABE
(process:145199): Timings-DEBUG: 22:50:50.353: 0.077540 (0.000013): ../source/rofi.c:startup:789 Config sanity check
(process:145199): Timings-DEBUG: 22:50:50.354: 0.078171 (0.000631): ../source/modes/drun.c:get_apps:1028 Get Desktop apps (start)
(process:145199): Timings-DEBUG: 22:50:50.355: 0.079065 (0.000894): ../source/modes/drun.c:get_apps:1050 Get Desktop apps (user dir)
(process:145199): Timings-DEBUG: 22:50:50.368: 0.092122 (0.013057): ../source/modes/drun.c:get_apps:1073 Get Desktop apps (system dirs)
(process:145199): Timings-DEBUG: 22:50:50.368: 0.092177 (0.000055): ../source/modes/drun.c:get_apps_history:804 Start drun history
(process:145199): Timings-DEBUG: 22:50:50.368: 0.092299 (0.000122): ../source/modes/drun.c:get_apps_history:823 Stop drun history
(process:145199): Timings-DEBUG: 22:50:50.369: 0.093252 (0.000953): ../source/modes/drun.c:get_apps:1080 Sorting done.
(process:145199): Timings-DEBUG: 22:50:50.369: 0.093279 (0.000027): ../source/modes/run.c:get_apps:244 start
(process:145199): Timings-DEBUG: 22:50:50.378: 0.102111 (0.008832): ../source/modes/run.c:get_apps:383 stop
(process:145199): Timings-DEBUG: 22:50:50.378: 0.102232 (0.000121): ../source/view.c:rofi_view_create:1680 
(process:145199): Timings-DEBUG: 22:50:50.378: 0.102271 (0.000039): ../source/view.c:rofi_view_create:1705 Startup notification
(process:145199): Timings-DEBUG: 22:50:50.378: 0.102288 (0.000017): ../source/view.c:rofi_view_create:1708 Get active monitor
(process:145199): Timings-DEBUG: 22:50:50.383: 0.106919 (0.004631): ../source/view.c:rofi_view_refilter_real:724 Filter start
(process:145199): Timings-DEBUG: 22:50:50.383: 0.107047 (0.000128): ../source/view.c:rofi_view_refilter_real:729 Filter reload rows
(process:145199): Timings-DEBUG: 22:50:50.383: 0.107077 (0.000030): ../source/view.c:rofi_view_refilter_real:734 Filter tokenize
(process:145199): Timings-DEBUG: 22:50:50.383: 0.107103 (0.000026): ../source/view.c:rofi_view_refilter_real:814 Filter matching done
(process:145199): Timings-DEBUG: 22:50:50.383: 0.107130 (0.000027): ../source/widgets/listview.c:listview_set_num_elements:589 listview_set_num_elements
(process:145199): Timings-DEBUG: 22:50:50.383: 0.107158 (0.000028): ../source/widgets/listview.c:listview_set_num_elements:595 Set selected
(process:145199): Timings-DEBUG: 22:50:50.384: 0.107955 (0.000797): ../source/widgets/listview.c:listview_set_num_elements:597 recompute elements
(process:145199): Timings-DEBUG: 22:50:50.384: 0.107993 (0.000038): ../source/widgets/listview.c:listview_set_num_elements:599 queue redraw
(process:145199): Timings-DEBUG: 22:50:50.385: 0.108688 (0.000695): ../source/view.c:rofi_view_refilter_real:827 Update filter lines
(process:145199): Timings-DEBUG: 22:50:50.385: 0.108894 (0.000206): ../source/view.c:rofi_view_refilter_real:845 Filter resize window based on window 
(process:145199): Timings-DEBUG: 22:50:50.385: 0.108919 (0.000025): ../source/view.c:rofi_view_refilter_real:847 Filter done
(process:145199): Timings-DEBUG: 22:50:50.385: 0.108939 (0.000020): ../source/wayland/view.c:wayland_rofi_view_update:338 
DEBUG1
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 1 scale
DEBUG2
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 1 scale
(process:145199): Timings-DEBUG: 22:50:50.387: 0.111142 (0.002203): ../source/wayland/view.c:wayland_rofi_view_update:362 Background
(process:145199): Timings-DEBUG: 22:50:50.412: 0.135677 (0.024535): ../source/wayland/view.c:wayland_rofi_view_update:368 widgets
(process:145199): Timings-DEBUG: 22:50:50.412: 0.135998 (0.000321): ../source/wayland/view.c:wayland_rofi_view_update:338 
DEBUG1
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 1 scale
DEBUG2
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 1 scale
(process:145199): Timings-DEBUG: 22:50:50.414: 0.137897 (0.001899): ../source/wayland/view.c:wayland_rofi_view_update:362 Background
(process:145199): Timings-DEBUG: 22:50:50.422: 0.145889 (0.007992): ../source/wayland/view.c:wayland_rofi_view_update:368 widgets
(process:145199): Timings-DEBUG: 22:50:50.422: 0.146087 (0.000198): ../source/wayland/view.c:wayland_rofi_view_update:338 
DEBUG1
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
DEBUG2
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
(process:145199): Timings-DEBUG: 22:50:50.428: 0.152498 (0.006411): ../source/wayland/view.c:wayland_rofi_view_update:362 Background
(process:145199): Timings-DEBUG: 22:50:50.445: 0.169355 (0.016857): ../source/wayland/view.c:wayland_rofi_view_update:368 widgets
(process:145199): Timings-DEBUG: 22:50:50.445: 0.169619 (0.000264): ../source/wayland/view.c:wayland_rofi_view_update:338 
DEBUG1
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
DEBUG2
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
(process:145199): Timings-DEBUG: 22:50:50.453: 0.177056 (0.007437): ../source/wayland/view.c:wayland_rofi_view_update:362 Background
(process:145199): Timings-DEBUG: 22:50:50.467: 0.191283 (0.014227): ../source/wayland/view.c:wayland_rofi_view_update:368 widgets
(process:145199): Timings-DEBUG: 22:50:51.581: 1.305139 (1.113856): ../source/wayland/view.c:wayland_rofi_view_update:338 
DEBUG1
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
DEBUG2
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
(process:145199): Timings-DEBUG: 22:50:51.582: 1.306189 (0.001050): ../source/wayland/view.c:wayland_rofi_view_update:362 Background
(process:145199): Timings-DEBUG: 22:50:51.594: 1.317981 (0.011792): ../source/wayland/view.c:wayland_rofi_view_update:368 widgets
(process:145199): Timings-DEBUG: 22:50:52.783: 2.507395 (1.189414): ../source/wayland/view.c:wayland_rofi_view_update:338 
DEBUG1
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
DEBUG2
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
(process:145199): Timings-DEBUG: 22:50:52.784: 2.508383 (0.000988): ../source/wayland/view.c:wayland_rofi_view_update:362 Background
(process:145199): Timings-DEBUG: 22:50:52.795: 2.519284 (0.010901): ../source/wayland/view.c:wayland_rofi_view_update:368 widgets
(process:145199): Timings-DEBUG: 22:50:53.985: 3.709107 (1.189823): ../source/wayland/view.c:wayland_rofi_view_update:338 
DEBUG1
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
DEBUG2
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
(process:145199): Timings-DEBUG: 22:50:53.986: 3.710103 (0.000996): ../source/wayland/view.c:wayland_rofi_view_update:362 Background
(process:145199): Timings-DEBUG: 22:50:54.002: 3.725662 (0.015559): ../source/wayland/view.c:wayland_rofi_view_update:368 widgets
(process:145199): Timings-DEBUG: 22:50:55.187: 4.910842 (1.185180): ../source/wayland/view.c:wayland_rofi_view_update:338 
DEBUG1
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
DEBUG2
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
(process:145199): Timings-DEBUG: 22:50:55.188: 4.911859 (0.001017): ../source/wayland/view.c:wayland_rofi_view_update:362 Background
(process:145199): Timings-DEBUG: 22:50:55.198: 4.922435 (0.010576): ../source/wayland/view.c:wayland_rofi_view_update:368 widgets
(process:145199): Timings-DEBUG: 22:50:56.389: 6.113088 (1.190653): ../source/wayland/view.c:wayland_rofi_view_update:338 
DEBUG1
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
DEBUG2
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
(process:145199): Timings-DEBUG: 22:50:56.390: 6.114114 (0.001026): ../source/wayland/view.c:wayland_rofi_view_update:362 Background
(process:145199): Timings-DEBUG: 22:50:56.401: 6.124957 (0.010843): ../source/wayland/view.c:wayland_rofi_view_update:368 widgets
(process:145199): Timings-DEBUG: 22:50:57.591: 7.315055 (1.190098): ../source/wayland/view.c:wayland_rofi_view_update:338 
DEBUG1
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
DEBUG2
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
(process:145199): Timings-DEBUG: 22:50:57.592: 7.316053 (0.000998): ../source/wayland/view.c:wayland_rofi_view_update:362 Background
(process:145199): Timings-DEBUG: 22:50:57.603: 7.326579 (0.010526): ../source/wayland/view.c:wayland_rofi_view_update:368 widgets
(process:145199): Timings-DEBUG: 22:50:58.793: 8.517509 (1.190930): ../source/wayland/view.c:wayland_rofi_view_update:338 
DEBUG1
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
DEBUG2
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
(process:145199): Timings-DEBUG: 22:50:58.794: 8.518577 (0.001068): ../source/wayland/view.c:wayland_rofi_view_update:362 Background
(process:145199): Timings-DEBUG: 22:50:58.805: 8.529159 (0.010582): ../source/wayland/view.c:wayland_rofi_view_update:368 widgets
(process:145199): Timings-DEBUG: 22:50:59.996: 9.719732 (1.190573): ../source/wayland/view.c:wayland_rofi_view_update:338 
DEBUG1
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
DEBUG2
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
(process:145199): Timings-DEBUG: 22:50:59.997: 9.720902 (0.001170): ../source/wayland/view.c:wayland_rofi_view_update:362 Background
(process:145199): Timings-DEBUG: 22:51:00.006: 9.729883 (0.008981): ../source/wayland/view.c:wayland_rofi_view_update:368 widgets
(process:145199): Timings-DEBUG: 22:51:01.198: 10.922272 (1.192389): ../source/wayland/view.c:wayland_rofi_view_update:338 
DEBUG1
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
DEBUG2
DEBUG: 0x55ff7483f2c0 cairo_t
DEBUG: 0x55ff747230c0 surface
DEBUG: 2 scale
(process:145199): Timings-DEBUG: 22:51:01.199: 10.923271 (0.000999): ../source/wayland/view.c:wayland_rofi_view_update:362 Background
(process:145199): Timings-DEBUG: 22:51:01.210: 10.933801 (0.010530): ../source/wayland/view.c:wayland_rofi_view_update:368 widgets
(process:145199): Timings-DEBUG: 22:51:02.010: 11.733800 (0.000000): Stopped

I am quite puzzled as to why this is happening. This is not a first time issue and has happened before as well 3 months ago to be exact (discussion: davatorium#1932 ). At that time too it came and went away quite randomly like this.

Expected behavior

The expected behavior is the program works with without crashing. I have tested this problem with,

rofi -show drun -no-plugins -no-config

as well as various other flag combinations and that hasn't helped. It still generates the same errors.

My inxi,

System:
  Kernel: 6.7.10-1-clear arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/@hypr/boot/vmlinuz-linux-clear
    root=UUID=e0a08d20-208f-444a-a6f0-281ffd8a1e1b rw rootflags=subvol=@hypr
    quiet console=tty0 console=ttyS0,115200n8 cryptomgr.notests
    initcall_debug intel_iommu=igfx_off kvm-intel.nested=1 no_timer_check
    noreplace-smp page_alloc.shuffle=1 rcupdate.rcu_expedited=1
    rootfstype=btrfs tsc=reliable
    resume=UUID=1824b554-dd46-4e14-a85d-6aafd14791a7 loglevel=3
    acpi_backlight=video nvidia-drm.modeset=1 ibt=off
  Desktop: Hyprland v: 0.36.0-83-gfa886d8b with: waybar tools:
    avail: swayidle,swaylock vt: 1 dm: SDDM Distro: Hypr Linux
Machine:
  Type: Convertible System: LENOVO product: 81X1 v: IdeaPad Flex 5 14IIL05
    serial: <superuser required> Chassis: type: 31 v: IdeaPad Flex 5 14IIL05
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0Q55722 WIN
    serial: <superuser required> part-nu: LENOVO_MT_81X1_BU_idea_FM_IdeaPad
    Flex 5 14IIL05 uuid: <superuser required> UEFI: LENOVO v: ECCN41WW
    date: 06/27/2022
Battery:
  ID-1: BAT0 charge: 8.8 Wh (22.1%) condition: 39.9/52.6 Wh (75.7%)
    power: 5.8 W volts: 11.0 min: 11.5 model: Sunwoda L19D3PD6 type: Li-poly
    serial: <filter> status: discharging cycles: 2195
CPU:
  Info: model: Intel Core i7-1065G7 bits: 64 type: MT MCP arch: Ice Lake
    gen: core 10 level: v4 note: check built: 2019-21 process: Intel 10nm
    family: 6 model-id: 0x7E (126) stepping: 5 microcode: 0xC4
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 2 MiB desc: 4x512 KiB L3: 8 MiB
    desc: 1x8 MiB
  Speed (MHz): avg: 472 high: 978 min/max: 400/3900 scaling:
    driver: intel_pstate governor: powersave cores: 1: 978 2: 400 3: 400 4: 400
    5: 400 6: 400 7: 400 8: 400 bogomips: 23961
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel Iris Plus Graphics G7 vendor: Lenovo driver: i915 v: kernel
    arch: Gen-11 process: Intel 10nm built: 2019-21 ports: active: eDP-1
    empty: DP-1, DP-2, DP-3, HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:8a52
    class-ID: 0300
  Device-2: NVIDIA GP108M [GeForce MX330] vendor: Lenovo driver: N/A
    alternate: nvidiafb, nouveau, nvidia_drm, nvidia non-free: 545.xx+
    status: current (as of 2024-02; EOL~2026-12-xx) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-2021 pcie: gen: 3 speed: 8 GT/s lanes: 4
    bus-ID: 01:00.0 chip-ID: 10de:1d16 class-ID: 0302
  Device-3: Bison Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2:2 chip-ID: 5986:212a
    class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
    compositor: Hyprland v: 0.36.0-83-gfa886d8b driver: X: loaded: modesetting
    alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: 1
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x1406 built: 2019 res: 1920x1080
    hz: 60 dpi: 158 gamma: 1.2 scale: 1.199219 size: 309x173mm (12.17x6.81")
    diag: 354mm (13.9") ratio: 16:9 modes: 1920x1080
  API: Vulkan v: 1.3.279 layers: 12 device: 0 type: integrated-gpu
    name: Intel Iris Plus Graphics (ICL GT2) driver: mesa intel
    v: 24.0.3-arch1.1 device-ID: 8086:8a52 surfaces: xcb,xlib,wayland
    device: 1 type: cpu name: llvmpipe (LLVM 17.0.6 256 bits)
    driver: mesa llvmpipe v: 24.0.3-arch1.1 (LLVM 17.0.6)
    device-ID: 10005:0000 surfaces: xcb,xlib,wayland
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Lenovo
    driver: sof-audio-pci-intel-icl
    alternate: snd_hda_intel,snd_sof_pci_intel_icl bus-ID: 00:1f.3
    chip-ID: 8086:34c8 class-ID: 0401
  API: ALSA v: k6.7.10-1-clear status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.0.4 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ice Lake-LP PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:34f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-10:4 chip-ID: 8087:0026
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 4 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 5.2 lmp-v: 11
    status: discoverable: no pairing: no
Drives:
  Local Storage: total: 476.94 GiB used: 73.53 GiB (15.4%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZALQ512HALU-000L2 size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 3L1QFXV7 temp: 26.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 459.82 GiB size: 459.82 GiB (100.00%)
    used: 73.53 GiB (16.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 584 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 459.82 GiB size: 459.82 GiB (100.00%)
    used: 73.53 GiB (16.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 459.82 GiB size: 459.82 GiB (100.00%)
    used: 73.53 GiB (16.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 459.82 GiB size: 459.82 GiB (100.00%)
    used: 73.53 GiB (16.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 15.29 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc max-streams: 8 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 16.82 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 48.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 15.29 GiB used: 5.22 GiB (34.1%)
  Processes: 257 Power: uptime: 4h 35m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 1 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 6.1 GiB services: thermald,upowerd
    Init: systemd v: 255 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1443 libs: 447 tools: paru Compilers:
    gcc: 13.2.1 alt: 8 Shell: garuda-inxi default: fish v: 3.7.0
    running-in: foot inxi: 3.3.33

Actual behavior

Actual behavior is the program randomly crashes with fractional scaling.

Additional information

No response

Using wayland display server protocol

  • Yes, I use rofi with wayland support

I've checked if the issue exists in the latest stable release

  • Yes, I have checked the problem exists in the latest stable version
@siddharthkumarjha
Copy link
Author

The bug has been coming on and off randomly in repeated succession. It comes and goes away with no input from my side.

Core was generated by `./target/bin/rofi -show drun'.
Program terminated with signal SIGBUS, Bus error.
#0  _mm_store_si128 (__B=..., __P=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include/emmintrin.h:736
736	 *__P = __B;
[Current thread is 1 (Thread 0x56046dd608c0 (LWP 324536))]
(gdb) bt -full
#0  _mm_store_si128 (__B=..., __P=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include/emmintrin.h:736
#1  save_128_aligned (data=..., dst=<optimized out>) at ../pixman-0.43.4/pixman/pixman-sse2.c:381
#2  sse2_fill
    (imp=<optimized out>, bits=<optimized out>, stride=7200, bpp=<optimized out>, x=<optimized out>, y=<optimized out>, width=1800, height=102, filler=0)
    at ../pixman-0.43.4/pixman/pixman-sse2.c:3392
        w = <optimized out>
        d = 0x56044d10dfa0 ""
        byte_width = <optimized out>
        byte_line = <optimized out>
        xmm_def = {<optimized out>, <optimized out>}
#3  0x000056046e258f3b in _pixman_implementation_fill
    (filler=0, height=1200, width=1800, y=0, x=0, bpp=32, stride=1800, bits=0x56044c984600, imp=0x56046f8f70e0)
    at ../pixman-0.43.4/pixman/pixman-implementation.c:277
#4  pixman_fill (bits=0x56044c984600, stride=1800, bpp=32, x=0, y=0, width=1800, height=1200, filler=0) at ../pixman-0.43.4/pixman/pixman.c:759
#5  0x000056046ed66677 in fill_boxes (_dst=0x56046fae1320, op=<optimized out>, color=<optimized out>, boxes=<optimized out>)
    at ../cairo/src/cairo-image-compositor.c:350
        x = <optimized out>
        y = <optimized out>
        w = <optimized out>
        h = <optimized out>
        dst = <optimized out>
        chunk = 0x7ffd706f4680
        pixel = 0
        i = 0
#6  0x000056046eda82de in composite_aligned_boxes (boxes=0x7ffd706f4650, extents=0x7ffd706f48f0, compositor=0x56046ee7acc0 <spans>)
    at ../cairo/src/cairo-spans-compositor.c:628
        color = <optimized out>
        dst = 0x56046fae1320
        status = <optimized out>
        need_clip_mask = 0
        op_is_source = <optimized out>
        op = CAIRO_OPERATOR_CLEAR
        source = 0x7ffd706f4970
        no_mask = 1
        inplace = <optimized out>
        dst = <optimized out>
        op = <optimized out>
        source = <optimized out>
        status = <optimized out>
        need_clip_mask = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--c
        op_is_source = <optimized out>
        no_mask = <optimized out>
        inplace = <optimized out>
        recording_clip = <optimized out>
        source = <optimized out>
        m = <optimized out>
        matrix = {xx = <optimized out>, yx = <optimized out>, xy = <optimized out>, yy = <optimized out>, x0 = <optimized out>, y0 = <optimized out>}
        color = <optimized out>
        src = <optimized out>
        mask = <optimized out>
        src_x = <optimized out>
        src_y = <optimized out>
        mask_x = <optimized out>
        mask_y = <optimized out>
#7  clip_and_composite_boxes (compositor=compositor@entry=0x56046ee7acc0 <spans>, extents=extents@entry=0x7ffd706f48f0, boxes=boxes@entry=0x7ffd706f4650)
    at ../cairo/src/cairo-spans-compositor.c:882
        status = <optimized out>
        polygon = {status = 1886341360, extents = {p1 = {x = 32765, y = 1886341168}, p2 = {x = 32765, y = 1207959552}}, limit = {p1 = {x = -1889785610, y = 13762}, p2 = {x = 0, y = 0}}, limits = 0x7ffd706f42b8, num_limits = 1, num_edges = 0, edges_size = 1886339776, edges = 0x145c80000, edges_embedded = {{line = {p1 = {x = 1852856364, y = 22020}, p2 = {x = 1886341440, y = 32765}}, top = 1886341264, bottom = 32765, dir = 128}, {line = {p1 = {x = 0, y = 1854246992}, p2 = {x = 22020, y = 1874407888}}, top = 22020, bottom = -142, dir = 0}, {line = {p1 = {x = 0, y = 0}, p2 = {x = 1852665922, y = 22020}}, top = 2, bottom = 1, dir = 1886339584}, {line = {p1 = {x = 32765, y = 1886341264}, p2 = {x = 32765, y = 14}}, top = 0, bottom = 1886341264, dir = 32765}, {line = {p1 = {x = 1852665061, y = 22020}, p2 = {x = 1886341440, y = 32765}}, top = 1852666217, bottom = 22020, dir = 6}, {line = {p1 = {x = 22020, y = 1886341264}, p2 = {x = 32765, y = 1861877454}}, top = 22020, bottom = 1861877453, dir = 22020}, {line = {p1 = {x = 1886341520, y = 32765}, p2 = {x = 1852699386, y = 22020}}, top = 1856242559, bottom = 0, dir = 0}, {line = {p1 = {x = 22020, y = 0}, p2 = {x = 32, y = 0}}, top = 0, bottom = 1, dir = 102}, {line = {p1 = {x = 1, y = 0}, p2 = {x = 1886339712, y = 32765}}, top = 2, bottom = 0, dir = 1886339616}, {line = {p1 = {x = 2, y = 0}, p2 = {x = 0, y = 1886339664}}, top = 32765, bottom = 1861877451, dir = 22020}, {line = {p1 = {x = 1861877451, y = 22020}, p2 = {x = 13, y = 0}}, top = -1, bottom = -1, dir = 0}, {line = {p1 = {x = 0, y = 1861877454}, p2 = {x = 22020, y = -1126158080}}, top = 96228375, bottom = 0, dir = 2}, {line = {p1 = {x = 1854256064, y = 22020}, p2 = {x = 1842253616, y = 22020}}, top = 1886340528, bottom = 32765, dir = 1842253618}, {line = {p1 = {x = 22020, y = 1886340512}, p2 = {x = 32765, y = 0}}, top = 0, bottom = 24, dir = 48}, {line = {p1 = {x = 1886341744, y = 32765}, p2 = {x = 1886341552, y = 32765}}, top = 1886340224, bottom = 32765, dir = 1886340224}, {line = {p1 = {x = 32765, y = 1886340944}, p2 = {x = 32765, y = 1860676800}}, top = 22020, bottom = 1886340192, dir = 32765}, {line = {p1 = {x = 1886340352, y = 32765}, p2 = {x = 1886343240, y = 32765}}, top = 1842253618, bottom = 22020, dir = 1842253616}, {line = {p1 = {x = 22020, y = 1886322944}, p2 = {x = 32765, y = 1847554720}}, top = 22020, bottom = 0, dir = 0}, {line = {p1 = {x = 1847554720, y = 22020}, p2 = {x = 1847554720, y = 22020}}, top = 1886343160, bottom = 32765, dir = 0}, {line = {p1 = {x = 0, y = 1854253856}, p2 = {x = 22020, y = 0}}, top = 0, bottom = 458763, dir = 720905}, {line = {p1 = {x = 0, y = 0}, p2 = {x = 1295856203, y = 757341484}}, top = -1126158080, bottom = 96228375, dir = 0}, {line = {p1 = {x = 0, y = 1852666217}, p2 = {x = 22020, y = 0}}, top = 0, bottom = 1886341680, dir = 32765}, {line = {p1 = {x = 1862851795, y = 22020}, p2 = {x = 1862851795, y = 22020}}, top = 1886342256, bottom = 32765, dir = 1852699386}, {line = {p1 = {x = 22020, y = 0}, p2 = {x = 0, y = 0}}, top = 10, bottom = 0, dir = 32}, {line = {p1 = {x = 0, y = 0}, p2 = {x = 3, y = 0}}, top = 6, bottom = 0, dir = 1886341605}, {line = {p1 = {x = 32765, y = 1886341608}, p2 = {x = 32765, y = 0}}, top = 2, bottom = 0, dir = 0}, {line = {p1 = {x = 100, y = 0}, p2 = {x = 1862851767, y = 22020}}, top = 1862851767, bottom = 22020, dir = 1886340592}, {line = {p1 = {x = 32765, y = 1871645589}, p2 = {x = 22020, y = -1126158080}}, top = 96228375, bottom = 0, dir = 0}, {line = {p1 = {x = 1859527968, y = 22020}, p2 = {x = 0, y = 0}}, top = 1800, bottom = 1200, dir = 1886341408}, {line = {p1 = {x = 32765, y = -1126158080}, p2 = {x = 96228375, y = 1854002162}}, top = 22020, bottom = 1886340688, dir = 32765}, {line = {p1 = {x = 1886341360, y = 32765}, p2 = {x = 1860676800, y = 22020}}, top = 1886340608, bottom = 32765, dir = 1886340768}, {line = {p1 = {x = 32765, y = 1886343272}, p2 = {x = 32765, y = 1859815532}}, top = 22020, bottom = 0, dir = 0}}}
#8  0x000056046eda88c8 in clip_and_composite_boxes
    (compositor=compositor@entry=0x56046ee7acc0 <spans>, extents=extents@entry=0x7ffd706f48f0, boxes=boxes@entry=0x7ffd706f4650)
    at ../cairo/src/cairo-spans-compositor.c:901
        status = <optimized out>
        polygon = {status = <optimized out>, extents = {p1 = {x = <optimized out>, y = <optimized out>}, p2 = {x = <optimized out>, y = <optimized out>}}, limit = {p1 = {x = <optimized out>, y = <optimized out>}, p2 = {x = <optimized out>, y = <optimized out>}}, limits = <optimized out>, num_limits = <optimized out>, num_edges = <optimized out>, edges_size = <optimized out>, edges = <optimized out>, edges_embedded = {{line = {p1 = {x = <optimized out>, y = <optimized out>}, p2 = {x = <optimized out>, y = <optimized out>}}, top = <optimized out>, bottom = <optimized out>, dir = <optimized out>} <repeats 32 times>}}
        polygon = {status = <optimized out>, extents = {p1 = {x = <optimized out>, y = <optimized out>}, p2 = {x = <optimized out>, y = <optimized out>}}, limit = {p1 = {x = <optimized out>, y = <optimized out>}, p2 = {x = <optimized out>, y = <optimized out>}}, limits = <optimized out>, num_limits = <optimized out>, num_edges = <optimized out>, edges_size = <optimized out>, edges = <optimized out>, edges_embedded = {{line = {p1 = {x = <optimized out>, y = <optimized out>}, p2 = {x = <optimized out>, y = <optimized out>}}, top = <optimized out>, bottom = <optimized out>, dir = <optimized out>} <repeats 32 times>}}
        fill_rule = <optimized out>
        antialias = <optimized out>
        clip = <optimized out>
        saved_clip = <optimized out>
#9  0x000056046eda8970 in _cairo_spans_compositor_mask (_compositor=0x56046ee7acc0 <spans>, extents=0x7ffd706f48f0)
    at ../cairo/src/cairo-spans-compositor.c:999
        compositor = 0x56046ee7acc0 <spans>
        status = <optimized out>
        boxes = {status = CAIRO_STATUS_SUCCESS, limit = {p1 = {x = 22020, y = 1862877796}, p2 = {x = 22020, y = 1886342336}}, limits = 0x56046e6df2fa <__printf_buffer+938>, num_limits = 0, num_boxes = 1, is_pixel_aligned = 1, chunks = {next = 0x0, base = 0x7ffd706f46a0, count = 1, size = 1}, tail = 0x7ffd706f4680, boxes_embedded = {{p1 = {x = 0, y = 0}, p2 = {x = 460800, y = 307200}}, {p1 = {x = 5, y = 0}, p2 = {x = 0, y = 0}}, {p1 = {x = 859452260, y = 0}, p2 = {x = 1862877787, y = 22020}}, {p1 = {x = 1862877794, y = 22020}, p2 = {x = 13, y = 22020}}, {p1 = {x = -1, y = -1}, p2 = {x = 0, y = 96228375}}, {p1 = {x = 1862877803, y = 22020}, p2 = {x = 0, y = 0}}, {p1 = {x = 1886341086, y = 32765}, p2 = {x = 1886341092, y = 32765}}, {p1 = {x = 1886341088, y = 32765}, p2 = {x = 1886341092, y = 32765}}, {p1 = {x = 0, y = 0}, p2 = {x = 224, y = 0}}, {p1 = {x = 0, y = 0}, p2 = {x = 8, y = 48}}, {p1 = {x = 1886342560, y = 32765}, p2 = {x = 1886342368, y = 32765}}, {p1 = {x = 1871692544, y = 22020}, p2 = {x = 143, y = 0}}, {p1 = {x = 1886341168, y = 32765}, p2 = {x = 1852856157, y = 22020}}, {p1 = {x = 0, y = 0}, p2 = {x = 1854256576, y = 22020}}, {p1 = {x = 1854246992, y = 22020}, p2 = {x = 1871692544, y = 22020}}, {p1 = {x = 143, y = 0}, p2 = {x = 1852848676, y = 22020}}, {p1 = {x = 143, y = 0}, p2 = {x = 15, y = 0}}, {p1 = {x = 1886341327, y = 32765}, p2 = {x = 1854246992, y = 22020}}, {p1 = {x = 0, y = 0}, p2 = {x = 1852852265, y = 22020}}, {p1 = {x = 1854256576, y = 22020}, p2 = {x = 1852856535, y = 22020}}, {p1 = {x = 1874189136, y = 22020}, p2 = {x = 1886341264, y = 32765}}, {p1 = {x = 15, y = 0}, p2 = {x = 1854246992, y = 22020}}, {p1 = {x = 2, y = 0}, p2 = {x = 1, y = 0}}, {p1 = {x = 1886341264, y = 32765}, p2 = {x = 1859518101, y = 22020}}, {p1 = {x = 1886341168, y = 32765}, p2 = {x = 1854256576, y = 22020}}, {p1 = {x = 1886341264, y = 32765}, p2 = {x = 1861877451, y = 22020}}, {p1 = {x = 1886341520, y = 32765}, p2 = {x = -1126158080, y = 96228375}}, {p1 = {x = 1886341360, y = 32765}, p2 = {x = 0, y = 0}}, {p1 = {x = 1860472032, y = 22020}, p2 = {x = 1859518605, y = 22020}}, {p1 = {x = 0, y = 0}, p2 = {x = 460800, y = 307200}}, {p1 = {x = 1860472032, y = 22020}, p2 = {x = -1126158080, y = 96228375}}, {p1 = {x = 1886341360, y = 32765}, p2 = {x = 1859523224, y = 22020}}}}
#10 0x000056046ed613c1 in _cairo_compositor_paint
    (compositor=0x56046ee7acc0 <spans>, surface=0x56046fae1320, op=<optimized out>, source=<optimized out>, clip=<optimized out>)
    at ../cairo/src/cairo-compositor.c:65
        extents = {surface = 0x56046fae1320, op = CAIRO_OPERATOR_CLEAR, source = {x = -8388608, y = -8388608, width = 16777215, height = 16777215}, mask = {x = 0, y = 0, width = 1800, height = 1200}, destination = {x = 0, y = 0, width = 1800, height = 1200}, bounded = {x = 0, y = 0, width = 1800, height = 1200}, unbounded = {x = 0, y = 0, width = 1800, height = 1200}, is_bounded = 2, source_sample_area = {x = 1871678560, y = 22020, width = 1874407760, height = 22020}, mask_sample_area = {x = 4, y = 0, width = 1854256576, height = 22020}, source_pattern = {base = {ref_count = {ref_count = 0}, status = CAIRO_STATUS_SUCCESS, user_data = {size = 0, num_elements = 0, element_size = 24, elements = 0x0}, observers = {next = 0x7ffd706f4990, prev = 0x7ffd706f4990}, type = CAIRO_PATTERN_TYPE_SOLID, filter = CAIRO_FILTER_NEAREST, extend = CAIRO_EXTEND_REPEAT, has_component_alpha = 0, is_foreground_marker = 0, dither = CAIRO_DITHER_DEFAULT, matrix = {xx = 1, yx = 0, xy = 0, yy = 1, x0 = 0, y0 = 0}, opacity = 1}, solid = {base = {ref_count = {ref_count = 0}, status = CAIRO_STATUS_SUCCESS, user_data = {size = 0, num_elements = 0, element_size = 24, elements = 0x0}, observers = {next = 0x7ffd706f4990, prev = 0x7ffd706f4990}, type = CAIRO_PATTERN_TYPE_SOLID, filter = CAIRO_FILTER_NEAREST, extend = CAIRO_EXTEND_REPEAT, has_component_alpha = 0, is_foreground_marker = 0, dither = CAIRO_DITHER_DEFAULT, matrix = {xx = 1, yx = 0, xy = 0, yy = 1, x0 = 0, y0 = 0}, opacity = 1}, color = {red = 0, green = 0, blue = 0, alpha = 0, red_short = 0, green_short = 0, blue_short = 0, alpha_short = 0}}, surface = {base = {ref_count = {ref_count = 0}, status = CAIRO_STATUS_SUCCESS, user_data = {size = 0, num_elements = 0, element_size = 24, elements = 0x0}, observers = {next = 0x7ffd706f4990, prev = 0x7ffd706f4990}, type = CAIRO_PATTERN_TYPE_SOLID, filter = CAIRO_FILTER_NEAREST, extend = CAIRO_EXTEND_REPEAT, has_component_alpha = 0, is_foreground_marker = 0, dither = CAIRO_DITHER_DEFAULT, matrix = {xx = 1, yx = 0, xy = 0, yy = 1, x0 = 0, y0 = 0}, opacity = 1}, surface = 0x0, region_array_id = 0}, gradient = {base = {base = {ref_count = {ref_count = 0}, status = CAIRO_STATUS_SUCCESS, user_data = {size = 0, num_elements = 0, element_size = 24, elements = 0x0}, observers = {next = 0x7ffd706f4990, prev = 0x7ffd706f4990}, type = CAIRO_PATTERN_TYPE_SOLID, filter = CAIRO_FILTER_NEAREST, extend = CAIRO_EXTEND_REPEAT, has_component_alpha = 0, is_foreground_marker = 0, dither = CAIRO_DITHER_DEFAULT, matrix = {xx = 1, yx = 0, xy = 0, yy = 1, x0 = 0, y0 = 0}, opacity = 1}, n_stops = 0, stops_size = 0, stops = 0x0, stops_embedded = {{offset = 0, color = {red = 0, green = 0, blue = 7.5091065054982458e-310, alpha = -nan(0xfffffffffff88), red_short = 13, green_short = 0, blue_short = 0, alpha_short = 0}}, {offset = 4.6727263441528073e-310, color = {red = 4.672726279910983e-310, green = 4.6727263436792948e-310, blue = 4.6727262723000499e-310, alpha = 6.3240402667679558e-322, red_short = 12624, green_short = 28601, blue_short = 22020, alpha_short = 0}}}}, linear = {base = {base = {ref_count = {ref_count = 0}, status = CAIRO_STATUS_SUCCESS, user_data = {size = 0, num_elements = 0, element_size = 24, elements = 0x0}, observers = {next = 0x7ffd706f4990, prev = 0x7ffd706f4990}, type = CAIRO_PATTERN_TYPE_SOLID, filter = CAIRO_FILTER_NEAREST, extend = CAIRO_EXTEND_REPEAT, has_component_alpha = 0, is_foreground_marker = 0, dither = CAIRO_DITHER_DEFAULT, matrix = {xx = 1, yx = 0, xy = 0, yy = 1, x0 = 0, y0 = 0}, opacity = 1}, n_stops = 0, stops_size = 0, stops = 0x0, stops_embedded = {{offset = 0, color = {red = 0, green = 0, blue = 7.5091065054982458e-310, alpha = -nan(0xfffffffffff88), red_short = 13, green_short = 0, blue_short = 0, alpha_short = 0}}, {offset = 4.6727263441528073e-310, color = {red = 4.672726279910983e-310, green = 4.6727263436792948e-310, blue = 4.6727262723000499e-310, alpha = 6.3240402667679558e-322, red_short = 12624, green_short = 28601, blue_short = 22020, alpha_short = 0}}}}, pd1 = {x = 1.9762625833649862e-323, y = 4.6727262993795904e-310}, pd2 = {x = 6.952812406771613e-310, y = 7.4109846876186982e-323}}, radial = {base = {base = {ref_count = {ref_count = 0}, status = CAIRO_STATUS_SUCCESS, user_data = {size = 0, num_elements = 0, element_size = 24, elements = 0x0}, observers = {next = 0x7ffd706f4990, prev = 0x7ffd706f4990}, type = CAIRO_PATTERN_TYPE_SOLID, filter = CAIRO_FILTER_NEAREST, extend = CAIRO_EXTEND_REPEAT, has_component_alpha = 0, is_foreground_marker = 0, dither = CAIRO_DITHER_DEFAULT, matrix = {xx = 1, yx = 0, xy = 0, yy = 1, x0 = 0, y0 = 0}, opacity = 1}, n_stops = 0, stops_size = 0, stops = 0x0, stops_embedded = {{offset = 0, color = {red = 0, green = 0, blue = 7.5091065054982458e-310, alpha = -nan(0xfffffffffff88), red_short = 13, green_short = 0, blue_short = 0, alpha_short = 0}}, {offset = 4.6727263441528073e-310, color = {red = 4.672726279910983e-310, green = 4.6727263436792948e-310, blue = 4.6727262723000499e-310, alpha = 6.3240402667679558e-322, red_short = 12624, green_short = 28601, blue_short = 22020, alpha_short = 0}}}}, cd1 = {center = {x = 1.9762625833649862e-323, y = 4.6727262993795904e-310}, radius = 6.952812406771613e-310}, cd2 = {center = {x = 7.4109846876186982e-323, y = 4.6727272056040864e-310}, radius = 7.4109846876186982e-323}}}, mesh = {base = {ref_count = {ref_count = 0}, status = CAIRO_STATUS_SUCCESS, user_data = {size = 0, num_elements = 0, element_size = 24, elements = 0x0}, observers = {next = 0x7ffd706f4990, prev = 0x7ffd706f4990}, type = CAIRO_PATTERN_TYPE_SOLID, filter = CAIRO_FILTER_NEAREST, extend = CAIRO_EXTEND_REPEAT, has_component_alpha = 0, is_foreground_marker = 0, dither = CAIRO_DITHER_DEFAULT, matrix = {xx = 1, yx = 0, xy = 0, yy = 1, x0 = 0, y0 = 0}, opacity = 1}, patches = {size = 0, num_elements = 0, element_size = 0, elements = 0x0}, current_patch = 0x0, current_side = 0, has_control_point = {0, 191, 35387, -120}, has_color = {-1, 13, 0, 1854256576}}, raster_source = {base = {ref_count = {ref_count = 0}, status = CAIRO_STATUS_SUCCESS, user_data = {size = 0, num_elements = 0, element_size = 24, elements = 0x0}, observers = {next = 0x7ffd706f4990, prev = 0x7ffd706f4990}, type = CAIRO_PATTERN_TYPE_SOLID, filter = CAIRO_FILTER_NEAREST, extend = CAIRO_EXTEND_REPEAT, has_component_alpha = 0, is_foreground_marker = 0, dither = CAIRO_DITHER_DEFAULT, matrix = {xx = 1, yx = 0, xy = 0, yy = 1, x0 = 0, y0 = 0}, opacity = 1}, content = 0, extents = {x = 0, y = 0, width = 0, height = 0}, acquire = 0x0, release = 0x0, snapshot = 0x8a3b000000bf, copy = 0xffffffffffffff88, finish = 0xd, user_data = 0x56046e85b5c0 <_IO_2_1_stdout_>}}, mask_pattern = {base = {ref_count = {ref_count = 1886341920}, status = 32765, user_data = {size = 1852856157, num_elements = 22020, element_size = 128, elements = 0x56046e85b5c0 <_IO_2_1_stdout_> "\204*\255", <incomplete sequence \373>}, observers = {next = 0x56046e859050 <_IO_file_jumps>, prev = 0x56046f8fc300}, type = CAIRO_PATTERN_TYPE_SOLID, filter = CAIRO_FILTER_FAST, extend = 1852848676, has_component_alpha = 22020, is_foreground_marker = 15, dither = CAIRO_DITHER_NONE, matrix = {xx = 7.4109846876186982e-323, yx = 6.9528124067826306e-310, xy = 4.6727263436792948e-310, yy = 0, x0 = 4.6727262747706252e-310, y0 = 4.6727263441528073e-310}, opacity = 4.6727262749815912e-310}, solid = {base = {ref_count = {ref_count = 1886341920}, status = 32765, user_data = {size = 1852856157, num_elements = 22020, element_size = 128, elements = 0x56046e85b5c0 <_IO_2_1_stdout_> "\204*\255", <incomplete sequence \373>}, observers = {next = 0x56046e859050 <_IO_file_jumps>, prev = 0x56046f8fc300}, type = CAIRO_PATTERN_TYPE_SOLID, filter = CAIRO_FILTER_FAST, extend = 1852848676, has_component_alpha = 22020, is_foreground_marker = 15, dither = CAIRO_DITHER_NONE, matrix = {xx = 7.4109846876186982e-323, yx = 6.9528124067826306e-310, xy = 4.6727263436792948e-310, yy = 0, x0 = 4.6727262747706252e-310, y0 = 4.6727263441528073e-310}, opacity = 4.6727262749815912e-310}, color = {red = 6.3240402667679558e-322, green = 6.952812406779518e-310, blue = 7.4109846876186982e-323, alpha = 1, red_short = 0, green_short = 0, blue_short = 0, alpha_short = 65535}}, surface = {base = {ref_count = {ref_count = 1886341920}, status = 32765, user_data = {size = 1852856157, num_elements = 22020, element_size = 128, elements = 0x56046e85b5c0 <_IO_2_1_stdout_> "\204*\255", <incomplete sequence \373>}, observers = {next = 0x56046e859050 <_IO_file_jumps>, prev = 0x56046f8fc300}, type = CAIRO_PATTERN_TYPE_SOLID, filter = CAIRO_FILTER_FAST, extend = 1852848676, has_component_alpha = 22020, is_foreground_marker = 15, dither = CAIRO_DITHER_NONE, matrix = {xx = 7.4109846876186982e-323, yx = 6.9528124067826306e-310, xy = 4.6727263436792948e-310, yy = 0, x0 = 4.6727262747706252e-310, y0 = 4.6727263441528073e-310}, opacity = 4.6727262749815912e-310}, surface = 0x80, region_array_id = 1886342080}, gradient = {base = {base = {ref_count = {ref_count = 1886341920}, status = 32765, user_data = {size = 1852856157, num_elements = 22020, element_size = 128, elements = 0x56046e85b5c0 <_IO_2_1_stdout_> "\204*\255", <incomplete sequence \373>}, observers = {next = 0x56046e859050 <_IO_file_jumps>, prev = 0x56046f8fc300}, type = CAIRO_PATTERN_TYPE_SOLID, filter = CAIRO_FILTER_FAST, extend = 1852848676, has_component_alpha = 22020, is_foreground_marker = 15, dither = CAIRO_DITHER_NONE, matrix = {xx = 7.4109846876186982e-323, yx = 6.9528124067826306e-310, xy = 4.6727263436792948e-310, yy = 0, x0 = 4.6727262747706252e-310, y0 = 4.6727263441528073e-310}, opacity = 4.6727262749815912e-310}, n_stops = 128, stops_size = 0, stops = 0x7ffd706f4bc0, stops_embedded = {{offset = 7.4109846876186982e-323, color = {red = 1, green = -nan(0xf000000000000), blue = 4.9406564584124654e-324, alpha = 6.952812406779518e-310, red_short = 28738, green_short = 28269, blue_short = 22020, alpha_short = 0}}, {offset = 0, color = {red = 4.6727263441528073e-310, green = 6.952812406779518e-310, blue = 4.6727267700972254e-310, alpha = 6.9528124067921661e-310, red_short = 28932, green_short = 28269, blue_short = 22020, alpha_short = 0}}}}, linear = {base = {base = {ref_count = {ref_count = 1886341920}, status = 32765, user_data = {size = 1852856157, num_elements = 22020, element_size = 128, elements = 0x56046e85b5c0 <_IO_2_1_stdout_> "\204*\255", <incomplete sequence \373>}, observers = {next = 0x56046e859050 <_IO_file_jumps>, prev = 0x56046f8fc300}, type = CAIRO_PATTERN_TYPE_SOLID, filter = CAIRO_FILTER_FAST, extend = 1852848676, has_component_alpha = 22020, is_foreground_marker = 15, dither = CAIRO_DITHER_NONE, matrix = {xx = 7.4109846876186982e-323, yx = 6.9528124067826306e-310, xy = 4.6727263436792948e-310, yy = 0, x0 = 4.6727262747706252e-310, y0 = 4.6727263441528073e-310}, opacity = 4.6727262749815912e-310}, n_stops = 128, stops_size = 0, stops = 0x7ffd706f4bc0, stops_embedded = {{offset = 7.4109846876186982e-323, color = {red = 1, green = -nan(0xf000000000000), blue = 4.9406564584124654e-324, alpha = 6.952812406779518e-310, red_short = 28738, green_short = 28269, blue_short = 22020, alpha_short = 0}}, {offset = 0, color = {red = 4.6727263441528073e-310, green = 6.952812406779518e-310, blue = 4.6727267700972254e-310, alpha = 6.9528124067921661e-310, red_short = 28932, green_short = 28269, blue_short = 22020, alpha_short = 0}}}}, pd1 = {x = 4.6727263441528073e-310, y = 4.6727262676096871e-310}, pd2 = {x = 0, y = 3.2749448851420377e-313}}, radial = {base = {base = {ref_count = {ref_count = 1886341920}, status = 32765, user_data = {size = 1852856157, num_elements = 22020, element_size = 128, elements = 0x56046e85b5c0 <_IO_2_1_stdout_> "\204*\255", <incomplete sequence \373>}, observers = {next = 0x56046e859050 <_IO_file_jumps>, prev = 0x56046f8fc300}, type = CAIRO_PATTERN_TYPE_SOLID, filter = CAIRO_FILTER_FAST, extend = 1852848676, has_component_alpha = 22020, is_foreground_marker = 15, dither = CAIRO_DITHER_NONE, matrix = {xx = 7.4109846876186982e-323, yx = 6.9528124067826306e-310, xy = 4.6727263436792948e-310, yy = 0, x0 = 4.6727262747706252e-310, y0 = 4.6727263441528073e-310}, opacity = 4.6727262749815912e-310}, n_stops = 128, stops_size = 0, stops = 0x7ffd706f4bc0, stops_embedded = {{offset = 7.4109846876186982e-323, color = {red = 1, green = -nan(0xf000000000000), blue = 4.9406564584124654e-324, alpha = 6.952812406779518e-310, red_short = 28738, green_short = 28269, blue_short = 22020, alpha_short = 0}}, {offset = 0, color = {red = 4.6727263441528073e-310, green = 6.952812406779518e-310, blue = 4.6727267700972254e-310, alpha = 6.9528124067921661e-310, red_short = 28932, green_short = 28269, blue_short = 22020, alpha_short = 0}}}}, cd1 = {center = {x = 4.6727263441528073e-310, y = 4.6727262676096871e-310}, radius = 0}, cd2 = {center = {x = 3.2749448851420377e-313, y = 4.6727262653252264e-310}, radius = 4.6727263441528073e-310}}}, mesh = {base = {ref_count = {ref_count = 1886341920}, status = 32765, user_data = {size = 1852856157, num_elements = 22020, element_size = 128, elements = 0x56046e85b5c0 <_IO_2_1_stdout_> "\204*\255", <incomplete sequence \373>}, observers = {next = 0x56046e859050 <_IO_file_jumps>, prev = 0x56046f8fc300}, type = CAIRO_PATTERN_TYPE_SOLID, filter = CAIRO_FILTER_FAST, extend = 1852848676, has_component_alpha = 22020, is_foreground_marker = 15, dither = CAIRO_DITHER_NONE, matrix = {xx = 7.4109846876186982e-323, yx = 6.9528124067826306e-310, xy = 4.6727263436792948e-310, yy = 0, x0 = 4.6727262747706252e-310, y0 = 4.6727263441528073e-310}, opacity = 4.6727262749815912e-310}, patches = {size = 128, num_elements = 0, element_size = 1886342080, elements = 0xf <error: Cannot access memory at address 0xf>}, current_patch = 0x3ff0000000000000, current_side = 0, has_control_point = {-65536, 1, 0, 1886342080}, has_color = {32765, 1852665922, 22020, 0}}, raster_source = {base = {ref_count = {ref_count = 1886341920}, status = 32765, user_data = {size = 1852856157, num_elements = 22020, element_size = 128, elements = 0x56046e85b5c0 <_IO_2_1_stdout_> "\204*\255", <incomplete sequence \373>}, observers = {next = 0x56046e859050 <_IO_file_jumps>, prev = 0x56046f8fc300}, type = CAIRO_PATTERN_TYPE_SOLID, filter = CAIRO_FILTER_FAST, extend = 1852848676, has_component_alpha = 22020, is_foreground_marker = 15, dither = CAIRO_DITHER_NONE, matrix = {xx = 7.4109846876186982e-323, yx = 6.9528124067826306e-310, xy = 4.6727263436792948e-310, yy = 0, x0 = 4.6727262747706252e-310, y0 = 4.6727263441528073e-310}, opacity = 4.6727262749815912e-310}, content = 128, extents = {x = 0, y = 1886342080, width = 32765, height = 15}, acquire = 0x3ff0000000000000, release = 0xffff000000000000, snapshot = 0x1, copy = 0x7ffd706f4bc0, finish = 0x56046e6d7042 <__printf_buffer_flush_to_file+194>, user_data = 0x0}}, original_source_pattern = 0x56046ee4ae60 <_cairo_pattern_clear>, original_mask_pattern = 0x0, clip = 0x56046fb03ee0}
        status = <optimized out>
#11 0x000056046edb20fd in _cairo_surface_paint (surface=0x56046fae1320, op=CAIRO_OPERATOR_CLEAR, source=0x56046ee4ae60 <_cairo_pattern_clear>, clip=0x0)
    at ../cairo/src/cairo-surface.c:2203
        status = <optimized out>
        is_clear = <optimized out>
#12 0x000056046ed6c91c in _cairo_gstate_paint (gstate=0x560438041bd0) at ../cairo/src/cairo-gstate.c:1101
        source_pattern = {base = {ref_count = {ref_count = 1886343448}, status = 32765, user_data = {size = 1852956307, num_elements = 22020, element_size = 1886342544, elements = 0x7ffd706f5118 "\362\361,\277\332\032\357", <incomplete sequence \372>}, observers = {next = 0x7ffd706f5010, prev = 0x7ffd706f4e60}, type = 1886342544, filter = 32765, extend = 1861113636, has_component_alpha = 22020, is_foreground_marker = 48, dither = 80, matrix = {xx = 4.8769403255736709e-281, yx = 6.9528124067897946e-310, xy = 6.9528124068127192e-310, yy = 6.9528124068056047e-310, x0 = 6.9528124068471062e-310, y0 = 6.9528124068340629e-310}, opacity = 6.9528124068214148e-310}, solid = {base = {ref_count = {ref_count = 1886343448}, status = 32765, user_data = {size = 1852956307, num_elements = 22020, element_size = 1886342544, elements = 0x7ffd706f5118 "\362\361,\277\332\032\357", <incomplete sequence \372>}, observers = {next = 0x7ffd706f5010, prev = 0x7ffd706f4e60}, type = 1886342544, filter = 32765, extend = 1861113636, has_component_alpha = 22020, is_foreground_marker = 48, dither = 80, matrix = {xx = 4.8769403255736709e-281, yx = 6.9528124067897946e-310, xy = 6.9528124068127192e-310, yy = 6.9528124068056047e-310, x0 = 6.9528124068471062e-310, y0 = 6.9528124068340629e-310}, opacity = 6.9528124068214148e-310}, color = {red = 6.9528124068384106e-310, green = 4.6727262654579818e-310, blue = 1.0185579797423812e-312, alpha = 6.9528124068032332e-310, red_short = 19680, green_short = 28783, blue_short = 32765, alpha_short = 0}}, surface = {base = {ref_count = {ref_count = 1886343448}, status = 32765, user_data = {size = 1852956307, num_elements = 22020, element_size = 1886342544, elements = 0x7ffd706f5118 "\362\361,\277\332\032\357", <incomplete sequence \372>}, observers = {next = 0x7ffd706f5010, prev = 0x7ffd706f4e60}, type = 1886342544, filter = 32765, extend = 1861113636, has_component_alpha = 22020, is_foreground_marker = 48, dither = 80, matrix = {xx = 4.8769403255736709e-281, yx = 6.9528124067897946e-310, xy = 6.9528124068127192e-310, yy = 6.9528124068056047e-310, x0 = 6.9528124068471062e-310, y0 = 6.9528124068340629e-310}, opacity = 6.9528124068214148e-310}, surface = 0x7ffd706f5068, region_array_id = 1852663775}, gradient = {base = {base = {ref_count = {ref_count = 1886343448}, status = 32765, user_data = {size = 1852956307, num_elements = 22020, element_size = 1886342544, elements = 0x7ffd706f5118 "\362\361,\277\332\032\357", <incomplete sequence \372>}, observers = {next = 0x7ffd706f5010, prev = 0x7ffd706f4e60}, type = 1886342544, filter = 32765, extend = 1861113636, has_component_alpha = 22020, is_foreground_marker = 48, dither = 80, matrix = {xx = 4.8769403255736709e-281, yx = 6.9528124067897946e-310, xy = 6.9528124068127192e-310, yy = 6.9528124068056047e-310, x0 = 6.9528124068471062e-310, y0 = 6.9528124068340629e-310}, opacity = 6.9528124068214148e-310}, n_stops = 1886343272, stops_size = 32765, stops = 0x56046e6d67df <__printf+175>, stops_embedded = {{offset = 1.0185579797423812e-312, color = {red = 6.9528124068032332e-310, green = 6.9528124067937471e-310, blue = 4.8769403255736709e-281, alpha = 4.6727263436792948e-310, red_short = 2, green_short = 0, blue_short = 0, alpha_short = 0}}, {offset = 0, color = {red = 0, green = 0, blue = 0, alpha = 4.6727263441528073e-310, red_short = 46624, green_short = 28426, blue_short = 22020, alpha_short = 0}}}}, linear = {base = {base = {ref_count = {ref_count = 1886343448}, status = 32765, user_data = {size = 1852956307, num_elements = 22020, element_size = 1886342544, elements = 0x7ffd706f5118 "\362\361,\277\332\032\357", <incomplete sequence \372>}, observers = {next = 0x7ffd706f5010, prev = 0x7ffd706f4e60}, type = 1886342544, filter = 32765, extend = 1861113636, has_component_alpha = 22020, is_foreground_marker = 48, dither = 80, matrix = {xx = 4.8769403255736709e-281, yx = 6.9528124067897946e-310, xy = 6.9528124068127192e-310, yy = 6.9528124068056047e-310, x0 = 6.9528124068471062e-310, y0 = 6.9528124068340629e-310}, opacity = 6.9528124068214148e-310}, n_stops = 1886343272, stops_size = 32765, stops = 0x56046e6d67df <__printf+175>, stops_embedded = {{offset = 1.0185579797423812e-312, color = {red = 6.9528124068032332e-310, green = 6.9528124067937471e-310, blue = 4.8769403255736709e-281, alpha = 4.6727263436792948e-310, red_short = 2, green_short = 0, blue_short = 0, alpha_short = 0}}, {offset = 0, color = {red = 0, green = 0, blue = 0, alpha = 4.6727263441528073e-310, red_short = 46624, green_short = 28426, blue_short = 22020, alpha_short = 0}}}}, pd1 = {x = 4.6727263436792948e-310, y = 4.6727262747706252e-310}, pd2 = {x = 4.6727263441528073e-310, y = 4.6727262748367312e-310}}, radial = {base = {base = {ref_count = {ref_count = 1886343448}, status = 32765, user_data = {size = 1852956307, num_elements = 22020, element_size = 1886342544, elements = 0x7ffd706f5118 "\362\361,\277\332\032\357", <incomplete sequence \372>}, observers = {next = 0x7ffd706f5010, prev = 0x7ffd706f4e60}, type = 1886342544, filter = 32765, extend = 1861113636, has_component_alpha = 22020, is_foreground_marker = 48, dither = 80, matrix = {xx = 4.8769403255736709e-281, yx = 6.9528124067897946e-310, xy = 6.9528124068127192e-310, yy = 6.9528124068056047e-310, x0 = 6.9528124068471062e-310, y0 = 6.9528124068340629e-310}, opacity = 6.9528124068214148e-310}, n_stops = 1886343272, stops_size = 32765, stops = 0x56046e6d67df <__printf+175>, stops_embedded = {{offset = 1.0185579797423812e-312, color = {red = 6.9528124068032332e-310, green = 6.9528124067937471e-310, blue = 4.8769403255736709e-281, alpha = 4.6727263436792948e-310, red_short = 2, green_short = 0, blue_short = 0, alpha_short = 0}}, {offset = 0, color = {red = 0, green = 0, blue = 0, alpha = 4.6727263441528073e-310, red_short = 46624, green_short = 28426, blue_short = 22020, alpha_short = 0}}}}, cd1 = {center = {x = 4.6727263436792948e-310, y = 4.6727262747706252e-310}, radius = 4.6727263441528073e-310}, cd2 = {center = {x = 4.6727262748367312e-310, y = 2.9643938750474793e-323}, radius = 4.6727267700950021e-310}}}, mesh = {base = {ref_count = {ref_count = 1886343448}, status = 32765, user_data = {size = 1852956307, num_elements = 22020, element_size = 1886342544, elements = 0x7ffd706f5118 "\362\361,\277\332\032\357", <incomplete sequence \372>}, observers = {next = 0x7ffd706f5010, prev = 0x7ffd706f4e60}, type = 1886342544, filter = 32765, extend = 1861113636, has_component_alpha = 22020, is_foreground_marker = 48, dither = 80, matrix = {xx = 4.8769403255736709e-281, yx = 6.9528124067897946e-310, xy = 6.9528124068127192e-310, yy = 6.9528124068056047e-310, x0 = 6.9528124068471062e-310, y0 = 6.9528124068340629e-310}, opacity = 6.9528124068214148e-310}, patches = {size = 1886343272, num_elements = 32765, element_size = 1852663775, elements = 0x3000000010 <error: Cannot access memory at address 0x3000000010>}, current_patch = 0x7ffd706f4da0, current_side = 1886342368, has_control_point = {32765, -1126158080, 96228375, 1854246992}, has_color = {22020, 2, 0, 0}}, raster_source = {base = {ref_count = {ref_count = 1886343448}, status = 32765, user_data = {size = 1852956307, num_elements = 22020, element_size = 1886342544, elements = 0x7ffd706f5118 "\362\361,\277\332\032\357", <incomplete sequence \372>}, observers = {next = 0x7ffd706f5010, prev = 0x7ffd706f4e60}, type = 1886342544, filter = 32765, extend = 1861113636, has_component_alpha = 22020, is_foreground_marker = 48, dither = 80, matrix = {xx = 4.8769403255736709e-281, yx = 6.9528124067897946e-310, xy = 6.9528124068127192e-310, yy = 6.9528124068056047e-310, x0 = 6.9528124068471062e-310, y0 = 6.9528124068340629e-310}, opacity = 6.9528124068214148e-310}, content = 1886343272, extents = {x = 32765, y = 1852663775, width = 22020, height = 16}, acquire = 0x7ffd706f4da0, release = 0x7ffd706f4ce0, snapshot = 0x5bc5417bce03100, copy = 0x56046e859050 <_IO_file_jumps>, finish = 0x2, user_data = 0x0}}
        pattern = <optimized out>
        status = <optimized out>
        op = CAIRO_OPERATOR_CLEAR
#13 0x000056046edbd1b9 in cairo_paint (cr=0x560438041ba0) at ../cairo/src/cairo.c:2230
        status = <optimized out>
#14 0x000056046f07741e in wayland_rofi_view_update (state=0x56046fa774f0, qr=1) at ../source/wayland/view.c:357
        __func__ = "wayland_rofi_view_update"
        surface = 0x56046fae1320
        d = 0x560438041ba0
        scale = 2
#15 0x000056046f077586 in wayland_rofi_view_maybe_update (state=0x56046fa774f0) at ../source/wayland/view.c:403
#16 0x000056046f047f5b in rofi_view_maybe_update (state=0x56046fa774f0) at ../source/view.c:1928
#17 0x000056046f07974b in wayland_keyboard_modifiers
    (data=0x56046f943b20, keyboard=0x56046f9019c0, serial=58558, mods_depressed=0, mods_latched=0, mods_locked=16, group=0)
    at ../source/wayland/display.c:503
        self = 0x56046f943b20
        state = 0x56046fa774f0
#18 0x000056046e1f6596 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#19 0x000056046e1f300e in ffi_call_int
    (cif=cif@entry=0x7ffd706f5010, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
        classes = {X86_64_INTEGERSI_CLASS, 32765, 1847531340, 22020}
        stack = <optimized out>
        argp = 0x7ffd706f4e64 ""
        arg_types = <optimized out>
        gprcount = 6
        ssecount = <optimized out>
        ngpr = 1
        nsse = 0
        i = <optimized out>
        avn = <optimized out>
        flags = <optimized out>
        reg_args = <optimized out>
#20 0x000056046e1f5bd3 in ffi_call (cif=cif@entry=0x7ffd706f5010, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffd706f50e0)
    at ../src/x86/ffi64.c:710
        arg_types = 0x7ffd706f5030
        i = <optimized out>
        nargs = 7
        max_reg_struct_size = <optimized out>
#21 0x000056046e875645 in wl_closure_invoke (closure=closure@entry=0x56046fb681e0, target=<optimized out>, 
    target@entry=0x56046f9019c0, opcode=opcode@entry=4, data=<optimized out>, flags=1) at ../wayland-1.22.0/src/connection.c:1025
        count = <optimized out>
        cif = {abi = FFI_UNIX64, nargs = 7, arg_types = 0x7ffd706f5030, rtype = 0x56046e1f71a0 <ffi_type_void>, bytes = 8, flags = 0}
        ffi_types = {0x56046e1f72a0 <ffi_type_pointer>, 0x56046e1f72a0 <ffi_type_pointer>, 0x56046e1f7240 <ffi_type_uint32>, 0x56046e1f7240 <ffi_type_uint32>, 0x56046e1f7240 <ffi_type_uint32>, 0x56046e1f7240 <ffi_type_uint32>, 0x56046e1f7240 <ffi_type_uint32>, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x3160fbf2d343123, 0x32ee242c2e27eefc, 0x2733312027232328, 0x332224292e312fee}
        ffi_args = {0x7ffd706f4ff0, 0x7ffd706f4ff8, 0x56046fb681f8, 0x56046fb68200, 0x56046fb68208, 0x56046fb68210, 0x56046fb68218, 0xfaef1adabf2cf1f2, 0x0, 0x0, 0x0, 0x0, 0x4141414141414141, 0x4141414141414141, 0x4141414141414141, 0x56046e71a045 <_int_free_create_chunk+149>, 0x0, 0xf0, 0x56046e85aac0 <main_arena>, 0xf0, 0x56046fb680c0, 0x56046e71b308 <_int_free_merge_chunk+152>}
        implementation = <optimized out>
#22 0x000056046e875e73 in dispatch_event (display=display@entry=0x56046f943620, queue=0x56046f943710) at ../wayland-1.22.0/src/wayland-client.c:1631
        closure = 0x56046fb681e0
        proxy = 0x56046f9019c0
        opcode = 4
        proxy_destroyed = <optimized out>
#23 0x000056046e87613c in dispatch_queue (queue=0x56046f943710, display=0x56046f943620) at ../wayland-1.22.0/src/wayland-client.c:1777
        count = 4
        count = <optimized out>
        err = <optimized out>
#24 wl_display_dispatch_queue_pending (display=0x56046f943620, queue=0x56046f943710) at ../wayland-1.22.0/src/wayland-client.c:2019
        ret = <optimized out>
#25 0x000056046f07cbdd in _g_water_wayland_source_dispatch (source=0x56046f903ea0, callback=0x56046f07b80d <wayland_error>, user_data=0x0)
    at ../subprojects/libgwater/wayland/libgwater-wayland.c:107
        self = 0x56046f903ea0
        revents = G_IO_IN
#26 0x000056046eedcf69 in g_main_dispatch (context=0x56046f901ce0) at ../glib/glib/gmain.c:3476
        dispatch = 0x56046f07cb4c <_g_water_wayland_source_dispatch>
        prev_source = 0x0
        begin_time_nsec = 25346485179580
        was_in_call = 0
        user_data = 0x0
        callback = 0x56046f07b80d <wayland_error>
        cb_funcs = 0x56046efcd380 <g_source_callback_funcs>
        cb_data = 0x56046f942f50
        need_destroy = <optimized out>
        source = 0x56046f903ea0
        current = 0x56046f951930
        i = 0
        __func__ = "g_main_dispatch"
#27 0x000056046ef3b3a7 in g_main_context_dispatch_unlocked (context=0x56046f901ce0) at ../glib/glib/gmain.c:4284
#28 g_main_context_iterate_unlocked.isra.0 (context=0x56046f901ce0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../glib/glib/gmain.c:4349
        max_priority = 2147483647
        timeout = 40
        some_ready = 1
        nfds = 2
        allocated_nfds = 2
        fds = 0x56046f961530
        begin_time_nsec = 25346485069128
#29 0x000056046eeddb97 in g_main_loop_run (loop=0x56046f9042a0) at ../glib/glib/gmain.c:4551
        self = <optimized out>
        __func__ = "g_main_loop_run"
#30 0x000056046f0338d3 in main (argc=3, argv=0x7ffd706f55f8) at ../source/rofi.c:1251
        __func__ = "main"
        path = 0x56046f8f89d0 "/run/user/1000"
        proxy = 0x56046f0ab480 <display_>
        wl_display = 0x7ffd706f78db "wayland-1"
        windowid = 0x0
        theme_str = 0x0
        interval = 1
        kill_running = 0
        pfd = 8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant