Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff6891700 (LWP 12865)]
__GI_getenv (name=0x36451798c0 "NGUAGE") at getenv.c:90
90 getenv.c: No such file or directory.
(gdb) bt
#0 __GI_getenv (name=0x36451798c0 "NGUAGE") at getenv.c:90
#1 0x0000003645030b8c in guess_category_value (category=5, categoryname=<optimised out>)
at dcigettext.c:1359
#2 __dcigettext (domainname=0x326808c892 "glib20", msgid1=0x3268d1062c "Exit on close",
msgid2=0x0, plural=0, n=0, category=5) at dcigettext.c:575
#3 0x0000003268cbbfcf in g_dbus_connection_class_init (klass=0x7ffff0004040)
at /build/buildd/glib2.0-2.34.1/./gio/gdbusconnection.c:969
#4 g_dbus_connection_class_intern_init (klass=0x7ffff0004040)
at /build/buildd/glib2.0-2.34.1/./gio/gdbusconnection.c:523
#5 0x000000326842e926 in type_class_init_Wm (pclass=0x6b9e20, node=0x7ffff0003db0)
at /build/buildd/glib2.0-2.34.1/./gobject/gtype.c:2217
#6 g_type_class_ref (type=type@entry=140737219935664)
at /build/buildd/glib2.0-2.34.1/./gobject/gtype.c:2924
#7 0x0000003268416ecd in g_object_new_valist (
object_type=object_type@entry=140737219935664,
first_property_name=first_property_name@entry=0x3268cf81a0 "address",
var_args=var_args@entry=0x7ffff6890978)
at /build/buildd/glib2.0-2.34.1/./gobject/gobject.c:1796
#8 0x0000003268417374 in g_object_new (object_type=140737219935664,
first_property_name=first_property_name@entry=0x3268cf81a0 "address")
at /build/buildd/glib2.0-2.34.1/./gobject/gobject.c:1550
#9 0x0000003268cba067 in get_uninitialized_connection (bus_type=<optimised out>,
cancellable=cancellable@entry=0x0, error=error@entry=0x7ffff6890b18)
at /build/buildd/glib2.0-2.34.1/./gio/gdbusconnection.c:6805
#10 0x0000003268cc15ab in g_bus_get_sync (bus_type=<optimised out>, cancellable=0x0,
error=0x7ffff6890b18) at /build/buildd/glib2.0-2.34.1/./gio/gdbusconnection.c:6878
#11 0x00007ffff6898555 in ?? ()
from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#12 0x00007ffff689869d in ?? ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#13 0x0000003268047ab5 in g_main_dispatch (context=0x72aab0)
at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:2715
#14 g_main_context_dispatch (context=context@entry=0x72aab0)
at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3219
#15 0x0000003268047de8 in g_main_context_iterate (context=context@entry=0x72aab0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimised out>)
at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3290
#16 0x0000003268047ea4 in g_main_context_iteration (context=0x72aab0, may_block=1)
at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#17 0x00007ffff68984ad in ?? ()
from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#18 0x000000326806b645 in g_thread_proxy (data=0x724450)
at /build/buildd/glib2.0-2.34.1/./glib/gthread.c:797
#19 0x0000003645807e9a in start_thread (arg=0x7ffff6891700) at pthread_create.c:308
#20 0x00000036450f3cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#21 0x0000000000000000 in ?? ()
Having searched around for similar stack-traces, I see this one:
https:/ /bugs.launchpad .net/ubuntu/ +source/ unity/+ bug/817691
and: /bugs.launchpad .net/ubuntu/ +source/ epiphany- browser/ +bug/1016923
https:/
The former suggests that there is a race between two threads, one calling setenv and one calling getenv.
See notes on a gio bug here:
https:/ /bugzilla. gnome.org/ show_bug. cgi?id= 659326
We do call setenv in libgeda, to set the GEDADATA and GEDADATARC variables.
(in libgeda/ src/s_basic. c)
We should _probably_ not be doing that... It is not as if we are launching child processes which need the env-var, is it?