LANG=C libtool --mode=execute gdb --args ../../dbus/dbus-binding-tool --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/dev-libs/dbus-glib-0.112/work/dbus-glib-0.112/dbus/examples/example-signal-emitter.xml GNU gdb (Gentoo 11.2 vanilla) 11.2 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/dev-libs/dbus-glib-0.112/work/dbus-glib-0.112-.arm-build/dbus/.libs/dbus-binding-tool... (No debugging symbols found in /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/dev-libs/dbus-glib-0.112/work/dbus-glib-0.112-.arm-build/dbus/.libs/dbus-binding-tool) (gdb) run Starting program: /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/dev-libs/dbus-glib-0.112/work/dbus-glib-0.112-.arm-build/dbus/.libs/dbus-binding-tool --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/dev-libs/dbus-glib-0.112/work/dbus-glib-0.112/dbus/examples/example-signal-emitter.xml [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". (process:17842): GLib-CRITICAL **: 10:22:21.411: g_string_insert_c: assertion '(gsize) pos <= string->len' failed Program received signal SIGSEGV, Segmentation fault. __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:476 476 ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory. (gdb) bt 476 #0 __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:476 #1 0x00007ffff7c50a82 in memcpy (__len=2047, __src=0x55555558fc22, __dest=) at /usr/include/bits/string_fortified.h:29 #2 g_string_insert_len (string=0x55555557c280, pos=pos@entry=-1, val=val@entry=0x55555558fc22 "", len=len@entry=2047) at ../glib-2.70.4/glib/gstring.c:498 #3 0x00007ffff7c50b96 in g_string_append_len (string=, val=val@entry=0x55555558fc22 "", len=len@entry=2047) at ../glib-2.70.4/glib/gstring.c:574 #4 0x00007ffff7c22afe in g_io_channel_write_chars (channel=0x55555557df20, buf=0x55555558fc22 "", count=4294967295, bytes_written=0x7fffffffce44, error=0x7fffffffdfb8) at ../glib-2.70.4/glib/giochannel.c:2314 #5 0x000055555555a436 in write_marshaller () #6 0x00007ffff7c1c4ae in g_hash_table_foreach (hash_table=0x555555570300, func=0x55555555a3d0 , user_data=0x7fffffffcee0) at ../glib-2.70.4/glib/ghash.c:2065 #7 0x000055555555d2e1 in dbus_binding_tool_output_glib_server () #8 0x000055555555a083 in main ()