Created attachment 4148 stacktrace Hi, From: https://bugs.launchpad.net/ubuntu/+source/xfce4-xkb-plugin/+bug/899290 "xfce keyboard crashes when selecting latam layout" StacktraceTop: __libc_message (do_abort=2, fmt=0xdbf080 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189 malloc_printerr (action=<optimized out>, str=<optimized out>, ptr=0x21d50c05) at malloc.c:6283 _int_free (av=0xdfb400, p=0x21d50bfd) at malloc.c:4795 __GI___libc_free (mem=0x21d50c05) at malloc.c:3738 standard_free (mem=0x21d50c05) at /build/buildd/glib2.0-2.30.0/./glib/gmem.c:101
Created attachment 4149 Patch proposed by Daniel Richard G. (https://launchpad.net/~skunk) The patch attached above has been proposed on launchpad. From a quick look, here's the code causing the segfault: c = g_strdup(blabla) […] c++ […] g_free(c) Hopefully, the patch should fix that.
Fixed in a different way in ac73bc9de624d322b318c2eda0ace7f0bee97a64. Thanks for the bug report.