On Sun, Jul 19, 2009 at 10:49 AM, Matthias Kilian <k...@outback.escape.de> wrote: > On Sun, Jul 19, 2009 at 02:38:08AM +0000, 4625 wrote: >> >>>On first run and exit from X, I have 'Segmentation fault (core dumped)' >> >>>(xauth.core). > [...] >> >How old is you X installation? Afaik this bug was fixed in march 09. >> My X come with OpenBSD 4.5 distributive. > > The fix had been merged to the stable branch (OPENBSD_4_5) of > xenocara, so just rebuild xauth from this branch. > > Or look for duplicate entries in your /etc/hosts and remove them. > > Ciao, > Kili > >
Instead of fixing Xenocara or other programs, the proper way to solve this issue is to elliminate the possibility to have multiple records of the same host in /etc/hosts file. I was stunned to see that after installing fresh OpenBSD and configuring and setting it up, I had several entries for 127.0.0.1 in my hosts file without modifying it by hand. It is clearly a flaw in OpenBSD or even standard Unix libraries. So the patch for Xenocara is a quickhack instead of a fix for the problem. If there are several entries of the same host in hosts file, then I would expect misbehaving programs all over the place but unfortunately only xauth was complaining