Libxcb.so.1 segment fault

After building a program of my own creation on manjaro running it causes a segment fault and gdb traces the problem to be in libxcb.so.1

#0  0x00007ffff7b31020 in ?? () from /usr/lib/libxcb.so.1
#1  0x00007ffff7b311a2 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#2  0x00007ffff7b326e4 in xcb_get_extension_data () from /usr/lib/libxcb.so.1
#3  0x00007ffff7b2fb88 in xcb_prefetch_maximum_request_length ()
   from /usr/lib/libxcb.so.1

This program works fine on 3 other Distros when built on them. Is there something about libxcb.so that is special to Manjaro?
If not, where do I get source code to compile with symbols for debugging?
BTW: This code is running a 2nd thread in the program.

libxcb is taken from arch as is and has been at version 1.14-1 since february 2020: doesn’t look special.

Thanks for checking for me.
It is monday so it is back to what I get paid to do till next weekend.
I will dig further then