Unable to update or install AUR packages

Pamac --version

Pamac 10.3.0-5 - libpamac 11.2.0-1

Variant in use

GUI or CLI

Distribution

EndeavourOS

Desktop environment

Xfce

What's not working

Impossible to update/install any AUR packages with Pamac manager - it freezes at one of the installation steps or just terminates

How to reproduce?

  • Open Pamac and install any AUR package

More information (optional)

if installation is started in terminal, i get Segmentation fault. Whilst in yay installations run smoothly

the output of gdb is the following:

Thread 1 "pamac-manager" received signal SIGSEGV, Segmentation fault.
0x00007fbce9c742da in __strlen_sse2 () from /usr/lib/libc.so.6
(gdb) backtrace
#0  0x00007fbce9c742da in __strlen_sse2 () at /usr/lib/libc.so.6
#1  0x00007fbce9c33a43 in printf_positional () at /usr/lib/libc.so.6
#2  0x00007fbce9c34697 in __vfprintf_internal () at /usr/lib/libc.so.6
#3  0x00007fbce9c462b8 in __vasprintf_internal () at /usr/lib/libc.so.6
#4  0x00007fbce9fd01a4 in g_vasprintf () at /usr/lib/libglib-2.0.so.0
#5  0x00007fbce9fa0be2 in g_strdup_vprintf () at /usr/lib/libglib-2.0.so.0
#6  0x00007fbce9fa0cae in g_strdup_printf () at /usr/lib/libglib-2.0.so.0
#7  0x00007fbce9e25a38 in  () at /usr/lib/libpamac.so.11
#8  0x00007fbcea167d34 in  () at /usr/lib/libgio-2.0.so.0
#9  0x00007fbcea167d6d in  () at /usr/lib/libgio-2.0.so.0
#10 0x00007fbce9f7eee3 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#11 0x00007fbce9fd50f9 in  () at /usr/lib/libglib-2.0.so.0
#12 0x00007fbce9f7c455 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#13 0x00007fbcea19f6ee in g_application_run () at /usr/lib/libgio-2.0.so.0
#14 0x0000561cf26d4100 in  ()
#15 0x00007fbce9bf1310 in __libc_start_call_main () at /usr/lib/libc.so.6
#16 0x00007fbce9bf13c1 in __libc_start_main_impl () at /usr/lib/libc.so.6
#17 0x0000561cf26d4175 in  ()
(gdb)
Edited by Alex