gccgo-go segfaults, something related to alternatives
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gccgo-go (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
Trusty |
New
|
Undecided
|
Unassigned | ||
Utopic |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
When executed via $PATH, ie
$ go
The command segfaults during an early mmap operation
futex(0x3fffabd
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(
/usr/bin/go is redirected via an alternative
ubuntu@winton-02:~$ stat $(which go)
File: ‘/usr/bin/go’ -> ‘/etc/alternati
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: -
Changed in gccgo-go (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in gccgo-go (Ubuntu Utopic): | |
status: | New → Won't Fix |
This should be resolved once the next gccgo-go upload builds across all archs with 4.9 as default gccgo.