gnome-session crashes in update_iceauthority() if IceAuthFileName() returns NULL
update_iceauthority() calls IceAuthFileName() which may return NULL (missing env[HOME] for example).
This condition is not checked calling IceLockAuthFile() that crashes on strlen()
gdb screenshot attached: