Public bug reported: When executed via $PATH, ie
$ go The command segfaults during an early mmap operation futex(0x3fffabd2a49c, FUTEX_WAKE_PRIVATE, 2147483647) = 0 open("go", O_RDONLY|O_CLOEXEC) = 3 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 mmap(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0) = -1 ENODEV (No such device) When executed with the full command line, ie $ /usr/bin/go Everything works and the command is hunky dory open("/usr/bin/go", O_RDONLY|O_CLOEXEC) = 3 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 mmap(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0) = 0x3fff7c563000 munmap(0x3fff7c563000, 4096) = 0 /usr/bin/go is redirected via an alternative ubuntu@winton-02:~$ stat $(which go) File: ‘/usr/bin/go’ -> ‘/etc/alternatives/go’ Size: 20 Blocks: 0 IO Block: 4096 symbolic link Device: 800h/2048d Inode: 36858 Links: 1 Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2014-02-03 04:59:56.513098574 +0000 Modify: 2014-02-03 04:58:26.423103413 +0000 Change: 2014-02-03 04:58:26.443103413 +0000 Birth: - ** Affects: gccgo-go (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1275620 Title: gccgo-go segfaults, something related to alternatives To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gccgo-go/+bug/1275620/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs