<p dir="auto">by <strong>Ziyu4Huang</strong>:</p>
<pre class="notranslate">Before filing a bug, please check whether it has been fixed since
the latest release: run "hg pull -u" and retry what you did to
reproduce the problem.  Thanks.

What steps will reproduce the problem?
1. try on NFS mount disk
2. 8g hello_file01.go ; 8l hello_file01.
3. ./8.out hello_file01.go

code:

package main
import ("io"; "os"; "fmt")
func main() {
  println(os.Args[1]);
  b,_ := io.ReadFile(os.Args[1]);
  fmt.Printf("%s", b);
}

What is the expected output? What do you see instead?
It should print out file content, but return null bytes slice.

What is your $GOOS?  $GOARCH?
linux
386

Which revision are you using?  (hg identify)
3160c0fad7


Please provide any additional information below.
The code just works fine on local disk, but fail in NFS filesystem.</pre>
<p dir="auto">by <strong>untheoretic</strong>:</p>
<pre class="notranslate">git show
commit f0ff4ae8866610f2fcafd7f1500ab8272fbbebe4
Author: mattn &lt;mattn.jp@gmail.com&gt;
Date:   Thu Feb 9 18:04:40 2012 +0900


go install github.com/mattn/go-gtk...

# github.com/mattn/go-gtk/gtk
gtk.go: In function ‘_cgo_180a90a506dc_Cfunc_gtk_about_dialog_set_artists’:
gtk.go:1888:2: warning: passing argument 2 of ‘gtk_about_dialog_set_artists’ from
incompatible pointer type [enabled by default]
/usr/include/gtk-2.0/gtk/gtkaboutdialog.h:117:24: note: expected ‘const gchar **’
but argument is of type ‘gchar **’
gtk.go: In function ‘_cgo_180a90a506dc_Cfunc_gtk_about_dialog_set_documenters’:
gtk.go:5565:2: warning: passing argument 2 of ‘gtk_about_dialog_set_documenters’
from incompatible pointer type [enabled by default]
/usr/include/gtk-2.0/gtk/gtkaboutdialog.h:114:24: note: expected ‘const gchar **’
but argument is of type ‘gchar **’
gtk.go: In function ‘_cgo_180a90a506dc_Cfunc_gtk_about_dialog_set_authors’:
gtk.go:10088:2: warning: passing argument 2 of ‘gtk_about_dialog_set_authors’ from
incompatible pointer type [enabled by default]
/usr/include/gtk-2.0/gtk/gtkaboutdialog.h:111:24: note: expected ‘const gchar **’
but argument is of type ‘gchar **’
# github.com/mattn/go-gtk/gtk
/tmp/go-build276977879/github.com/mattn/go-gtk/gtk/_obj/_cgo_gotypes.go:1: ambiguous
selector *_Ctype_GtkProgressBar._
/tmp/go-build276977879/github.com/mattn/go-gtk/gtk/_obj/_cgo_gotypes.go:1: ambiguous
selector _Ctype_GtkProgressBar._
/tmp/go-build276977879/github.com/mattn/go-gtk/gtk/_obj/_cgo_gotypes.go:1: cannot use
&amp;p._ (type *[4]byte) as type *[8]byte in function argument
/tmp/go-build276977879/github.com/mattn/go-gtk/gtk/_obj/_cgo_gotypes.go:1: ambiguous
selector *_Ctype_GtkProgressBar._
/tmp/go-build276977879/github.com/mattn/go-gtk/gtk/_obj/_cgo_gotypes.go:1: ambiguous
selector _Ctype_GtkProgressBar._
/tmp/go-build276977879/github.com/mattn/go-gtk/gtk/_obj/_cgo_gotypes.go:1: ambiguous
selector *_Ctype_GtkProgressBar._
/tmp/go-build276977879/github.com/mattn/go-gtk/gtk/_obj/_cgo_gotypes.go:1: ambiguous
selector _Ctype_GtkProgressBar._
/tmp/go-build276977879/github.com/mattn/go-gtk/gtk/_obj/_cgo_gotypes.go:1: ambiguous
selector *_Ctype_GtkFrame._
/tmp/go-build276977879/github.com/mattn/go-gtk/gtk/_obj/_cgo_gotypes.go:1: ambiguous
selector _Ctype_GtkFrame._
/tmp/go-build276977879/github.com/mattn/go-gtk/gtk/_obj/_cgo_gotypes.go:1: ambiguous
selector *_Ctype_GtkFrame._
/tmp/go-build276977879/github.com/mattn/go-gtk/gtk/_obj/_cgo_gotypes.go:1: too many
errors



bisected to:

dbb174c8796e846c2409d727fbf75caacd629600 is the first bad commit
commit dbb174c8796e846c2409d727fbf75caacd629600
Author: Russ Cox &lt;rsc@golang.org&gt;
Date:   Thu Jan 26 16:25:07 2012 -0500

    gc, runtime: handle floating point map keys
    
    Fixes <a href="https://golang.org/issue/2609" rel="nofollow">issue #2609</a>.
    
    R=ken2
    CC=golang-dev
    <a href="http://golang.org/cl/5572069" rel="nofollow">http://golang.org/cl/5572069</a></pre>