Cannot run GDB for debugging

I’ve been trying to help debug a crash using the --gdb flag, but I am getting:

gdb: symbol lookup error: /lib/x86_64-linux-gnu/libbabeltrace.so.1: undefined symbol: g_string_free_and_steal

I’ve tried with the latest official (8.2) and the current nightly (8.2.107). Any ideas of what could be wrong? I am running Debian Sid.

Your distro has built gdb with a verison of libbabeltrace that in turn is linked to a version of glib that differs from the one we use.

It’s a shitshow. I don’t have a solution for you.

2 Likes

Is this a case where checking whether the problem occurs with a locally built version is useful?

Yes, it probably is.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.