Sway crashes after sending a form on Chromium
Hello,
The same issue is tracked in sway https://github.com/swaywm/sway/issues/8510
I came across this bug; it is reproducible:
1. Fill a login form on Chromium
2. Press Log In
3. Then crashes.
I couldn't get the Chrome HAR; since I am running sway on ArchLinux.
Here are the core dumps.
```
Dec 22 23:49:49 arc systemd-coredump[2483]: [🡕] Process 2024 (sway) of user 1000 dumped core.
Stack trace of thread 2024:
#0 0x0000724237fe13f4 n/a (libc.so.6 + 0x963f4)
#1 0x0000724237f88120 raise (libc.so.6 + 0x3d120)
#2 0x0000724237f6f4c3 abort (libc.so.6 + 0x244c3)
#3 0x0000724237f6f3df n/a (libc.so.6 + 0x243df)
#4 0x0000724237f80177 __assert_fail (libc.so.6 + 0x35177)
#5 0x00007242381f340e wlr_render_pass_add_texture (libwlroots-0.18.so + 0x2b40e)
#6 0x0000724238235311 wlr_scene_output_build_state (libwlroots-0.18.so + 0x6d311)
#7 0x000063d7fa48fe0e n/a (n/a + 0x0)
#8 0x000063d7fa490057 n/a (n/a + 0x0)
#9 0x00007242382e747e wl_signal_emit_mutable (libwayland-server.so.0 + 0x847e)
#10 0x00007242382113b9 n/a (libwlroots-0.18.so + 0x493b9)
#11 0x000072423881af30 drmHandleEvent (libdrm.so.2 + 0xef30)
#12 0x000072423820765c n/a (libwlroots-0.18.so + 0x3f65c)
#13 0x00007242382e9112 wl_event_loop_dispatch (libwayland-server.so.0 + 0xa112)
#14 0x00007242382eb1f7 wl_display_run (libwayland-server.so.0 + 0xc1f7)
#15 0x000063d7fa480dd2 n/a (n/a + 0x0)
#16 0x0000724237f70e08 n/a (libc.so.6 + 0x25e08)
#17 0x0000724237f70ecc __libc_start_main (libc.so.6 + 0x25ecc)
#18 0x000063d7fa481275 n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64
```
And the logs I could gather:
```
Environment variable $XDG_CURRENT_DESKTOP not set, ignoring.
2024-12-22 23:48:56 - [swaybg-1.2.1/main.c:282] Found config * for output eDP-1 (BOE 0x07E8)
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported maximum keycode 708, clipping.
> X11 cannot support keycodes above 255.
> Warning: Could not resolve keysym XF86KbdInputAssistPrevgrou
> Warning: Could not resolve keysym XF86KbdInputAssistNextgrou
Errors from xkbcomp are not fatal to the X server
00:00:53.526 [ERROR] [sway/sway_text_node.c:110] cairo_image_surface_create failed: invalid value (typically too big) for the size of the input (surface, pattern, etc.)
00:00:53.526 [ERROR] [sway/sway_text_node.c:110] cairo_image_surface_create failed: invalid value (typically too big) for the size of the input (surface, pattern, etc.)
sway: render/pass.c:23: wlr_render_pass_add_texture: Assertion `box->x >= 0 && box->y >= 0 && box->x + box->width <= options->texture->width && box->y + box->height <= options->texture->height' failed.
(EE) failed to read Wayland events: Connection reset by peer
Gdk-Message: 23:49:49.800: Error reading events from display: Broken pipe
```
My configuration:
```shell
# swaybg --version
swaybg version 1.2.1
# sway --version
sway version 1.10
# wayland-scanner --version
wayland-scanner 1.23.1
# waybar --version
Waybar v0.11.0
# chromium --version
Chromium 131.0.6778.204 Arch Linux
# uname -a
Linux arc 6.12.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 19 Dec 2024 21:29:01 +0000 x86_64 GNU/Linux
```
关闭于 2024-12-23 2 条评论