test-vala-unstable built with Meson segfaults
The meson build miscompiles test-vala-unstable
. -DSECRET_WITH_UNSTABLE
is missing, meaning the headers do not define secret_service_read_alias_dbus_path_sync
and the function is called without a prototype. Here (Arch Linux, x86_64) this results in the compiler truncating the returned pointer to 32-bits. The following free
of this value then segfaults.
Strangely, there is no warning about the missing prototype even though the build has warning_level
set to 1
. Is Meson not properly applying warning flags to Vala builds?
libsecret 0.20.4
meson 0.55.3
vala 0.50.1
gobject-introspection 1.66.1
Edited by Jan Alexander Steffens