Moving to core24, snap segfaults in Xorg session on Ubuntu 22.04

I tried to move my snap to core24, It runs well on wayland but It segfaults on Xorg session. I get this warning: QDBusMarshaller::appendVariantInternal: Found unknown D-BUS type ''

and then when I try to do some tasks it segafults with hundreds of error messages like this dbus: type unknown not a basic type

Is it a bug on core24 or should I do something to adapt?

I tested a core24 snap using the gnome extension on my 24.04 system in the Xorg session, no issue.

My app is Qt based snap.