Closed olifloof closed 2 years ago
Please post a stack trace. "It segfaults" isn't very useful info.
Aug 11 19:48:40 pc100 systemd-coredump[2090]: Process 2072 (mako) of user 1000 dumped core.
Module mako with build-id 91c64eb80b15c4cdbd2180e7079624efc322223b
#0 0x00005595570505e8 n/a (mako + 0xa5e8)
#6 0x000055955704d8b0 n/a (mako + 0x78b0)
#9 0x000055955704dc65 n/a (mako + 0x7c65)
PID: 2072 (mako)
UID: 1000 (pinkcreeper100)
GID: 1000 (pinkcreeper100)
Signal: 11 (SEGV)
Timestamp: Thu 2022-08-11 19:48:40 BST (10min ago)
Command Line: mako
Executable: /usr/bin/mako
Control Group: /user.slice/user-1000.slice/session-1.scope
Unit: session-1.scope
Slice: user-1000.slice
Session: 1
Owner UID: 1000 (pinkcreeper100)
Boot ID: 09c37dc2ca874d71b813138bb621c204
Machine ID: c520689af4a542e98a19d57f19976f1f
Hostname: pc100
Storage: /var/lib/systemd/coredump/core.mako.1000.09c37dc2ca874d71b813138bb621c204.2072.1660243720000000>
Disk Size: 358.2K
Message: Process 2072 (mako) of user 1000 dumped core.
Module linux-vdso.so.1 with build-id 1ae89d98798409ec8d014bb68399cba9c70ec3b4
Module libblkid.so.1 with build-id fb2c5d3c17aac74758a3eb80a2bc1c16bcf183b1
Module libbrotlicommon.so.1 with build-id acfd597a977c8087bb6184383daae2e828a9ce42
Module libgraphite2.so.3 with build-id ce58945ebb55b86d3a4e717b6eae29efc4720d8e
Module libdatrie.so.1 with build-id 6fe3b6ece2c8e7d11869fa051375128d8f808f58
Module libgpg-error.so.0 with build-id 4738b8a9478177c202cccd64e0eb65d3dea2bfae
Module libpthread.so.0 with build-id beb247374758b5c4cdc7a45b934fff02bfd90a71
Module libmount.so.1 with build-id 9064fc3620c42e6f7aed38119f0a3ec39fca9a37
Module libXdmcp.so.6 with build-id d864159ab0008415667db8d5f251696d75c90df2
Module libXau.so.6 with build-id 60db1eac70f819bea9d4c366603c1583067510b4
Module libbrotlidec.so.1 with build-id 66c54e9301f7e102ecc1d88547e5f0e8a056fe22
Module libbz2.so.1.0 with build-id 919597c477c9b2cb9cdbb7745ed6494ac0e6da60
Module libexpat.so.1 with build-id 113bb5a3e9ad856801bfcfc029102c9bdc13d67e
Module libpangoft2-1.0.so.0 with build-id 1d293edcbaefc8c1b024f83d0935e88e6f09dfcb
Module libharfbuzz.so.0 with build-id 236ab65053439e673a39fcb7aadedb28b17a338a
Module libthai.so.0 with build-id a7ac5010b4275c49308021200d23690533952702
Module libfribidi.so.0 with build-id fe9f35ac2a0074108c8306c517793f7279bd9b37
Module ld-linux-x86-64.so.2 with build-id 8dac9e5903543a5f8a5f7339139c14444b9b4e0e
Module libgcc_s.so.1 with build-id 308aed8b7d7e38f5efa23f75c25601668c1fc009
Module liblz4.so.1 with build-id e63600ab23b2f6997f42fac2fa56e1f02ce159a1
Module libzstd.so.1 with build-id ab54c2881f53ab314e134f3e08c76d504376dd5d
Module liblzma.so.5 with build-id 28b40c7af8098a66af6ee093b6986b91cad7694d
Module libgcrypt.so.20 with build-id 8bf3cb884124273640de797a3e77d86c98434ea4
Module libcap.so.2 with build-id 1f87347b85b55db2f75a2ecea5cb45d846dc7093
Module libpcre.so.1 with build-id 845483dd0acba86de9f0313102bebbaf3ce52767
Module libffi.so.8 with build-id f0a9586cf0f42d2b9971bd1065ca3a6b19f4a2c2
Module libtiff.so.5 with build-id 5f020a8eb30e12c2e4012d0cb50da9480c7b5d34
Module libjpeg.so.8 with build-id 8e6d3f3e8f438912b561c43b6e7f66e6e5e097d0
Module libgio-2.0.so.0 with build-id 7a769ec24a9a705d04ee0297730032f70ed0835b
Module libgmodule-2.0.so.0 with build-id abd986222e2cf12fc7324cb0182dfc2c8f2269c0
Module libpixman-1.so.0 with build-id d2170a3ac106c2a68597bf7910ab04b1cdd69c14
Module libxcb-shm.so.0 with build-id 828fec4d856e2710e732ea8d92c3f250c807b1c2
Module libxcb-render.so.0 with build-id b1ca498d665807ab0ccdafbe8070853efd058173
Module libxcb.so.1 with build-id 13d677412a71468381b11092915d231f664d18d3
Module libXrender.so.1 with build-id 42e386d2acf3cde61081959d9671ca74acfb3edc
Module libXext.so.6 with build-id 17beadf1cb40d41ab36629db3b4eed74110678a7
Module libX11.so.6 with build-id 21e886e968772b7964d646f54c1faecc56734de9
Module libfreetype.so.6 with build-id f89dd5502e75aca28fb5c3ccd0dbd26fe822bfef
Module libfontconfig.so.1 with build-id 36be6951b8c1e42a7dd05684a37400fc8ef9147c
Module libpng16.so.16 with build-id 2dc0bce07f199bf983c07a05fb95a6f4af83a9b3
Module libz.so.1 with build-id fefe3219a96d682ec98fcfb78866b8594298b5a2
Module libm.so.6 with build-id 598f2cb2b61d6ba52686c3d0d380daea7e55e97c
Module libc.so.6 with build-id e637217a46491314667a7a37b2155cb07afc1a40
Module libwayland-cursor.so.0 with build-id 46a637dbcbb02d6712a201f177377b66598b9121
Module libwayland-client.so.0 with build-id 515c72111400d7bdbfbdfcec78d597e4986a5943
Module libpangocairo-1.0.so.0 with build-id e7a2a9e56f2e2f6121d9c5741b3e93871b673cfa
Module libpango-1.0.so.0 with build-id b358a862a5ca8b1e4e69235edce1780e9f860a0a
Module libsystemd.so.0 with build-id a664cbc6b724392704b96360284c40664d8d4c99
Module libglib-2.0.so.0 with build-id 1340f3a762b2293ebf6d725edf0eb14839f85317
Module libgobject-2.0.so.0 with build-id a7515bd8cd51064d187953c0f506a43958de31a6
Module libgdk_pixbuf-2.0.so.0 with build-id b2822dc16bd1470683ce421978ad142c4f3c3f89
Module libcairo.so.2 with build-id a222d042e56108d2786ece7bf291b56ba2069591
Module mako with build-id 91c64eb80b15c4cdbd2180e7079624efc322223b
Stack trace of thread 2072:
#0 0x00005595570505e8 n/a (mako + 0xa5e8)
#1 0x00007f6d119e4536 n/a (libffi.so.8 + 0x7536)
#2 0x00007f6d119e1037 n/a (libffi.so.8 + 0x4037)
#3 0x00007f6d12376645 n/a (libwayland-client.so.0 + 0x7645)
#4 0x00007f6d12376e03 n/a (libwayland-client.so.0 + 0x7e03)
#5 0x00007f6d12376ffc wl_display_dispatch_queue_pending (libwayland-client.so.0 + 0x7ffc)
#6 0x000055955704d8b0 n/a (mako + 0x78b0)
#7 0x00007f6d121a42d0 n/a (libc.so.6 + 0x232d0)
#8 0x00007f6d121a438a __libc_start_main (libc.so.6 + 0x2338a)
#9 0x000055955704dc65 n/a (mako + 0x7c65)
ELF object binary architecture: AMD x86-64
This is occurring for me also and I managed to reproduce it reliably. It is about app-name, and perhaps any other criteria, in mako config:
[app-name="segfault"]
anchor=top-center
Then just notify-send -a segfault segfault -t 500
and notify-send crash hover
. Hovering over the notification causes mako segmentation fault. Using Debian testing, so mako 1.7.1 and sway 1.7.
This is what gdb outputs with tip of master:
Thread 1 "mako" received signal SIGSEGV, Segmentation fault.
pointer_handle_enter (data=0x55555558e750, wl_pointer=0x55555558f4b0, serial=18521, wl_surface=0x55555561ed00, surface_x=37156, surface_y=14595) at ../wayland.c:232
232 if (surface->surface_output->scale > scale) {
Can you confirm this is fixed by https://github.com/emersion/mako/pull/442?
Yes. This is now fixed with that pull request. Thanks for the fix.
Unsure where coredumps are stored