在win xp 运行报错 求大佬 看看 这是啥错误

867342143 · 2019-06-11 16:41:45 · 1126 次点击 · 大约8小时之前 开始浏览    置顶
这是一个创建于 2019-06-11 16:41:45 的主题,其中的信息可能已经有所发展或是发生改变。

D:/Go/src/syscall/dll_windows.go:294 +0x21 internal/syscall/windows.GetFileInformationByHandleEx(0x6e0, 0x9, 0x1142dc60, 0x 8, 0x3, 0x1141b348)

    D:/Go/src/internal/syscall/windows/zsyscall_windows.go:353 +0x27

os.newFileStatFromGetFileInformationByHandle(0x11688940, 0xa, 0x6e0, 0x0, 0x2, 0 x11688900)

    D:/Go/src/os/types_windows.go:52 +0x135

os.(*File).Stat(0x1143bff0, 0x6cc990, 0x1143bff0, 0x6cc980, 0x1143bff0)

    D:/Go/src/os/stat_windows.go:55 +0x133

net/http.serveFile(0x6cbdf0, 0x1144ed80, 0x11485500, 0x6c97f0, 0x1143a670, 0x116 88900, 0x8, 0x656d01)

    D:/Go/src/net/http/fs.go:712 +0xe3

net/http.(*fileHandler).ServeHTTP(0x1143a678, 0x6cbdf0, 0x1144ed80, 0x11485500)

    D:/Go/src/net/http/fs.go:876 +0x84

net/http.StripPrefix.func1(0x6cbdf0, 0x1144ed80, 0x11485480)

    D:/Go/src/net/http/server.go:2034 +0x12c

net/http.HandlerFunc.ServeHTTP(0x114b6480, 0x6cbdf0, 0x1144ed80, 0x11485480)

    D:/Go/src/net/http/server.go:1995 +0x34

net/http.(*ServeMux).ServeHTTP(0x86fc40, 0x6cbdf0, 0x1144ed80, 0x11485480)

    D:/Go/src/net/http/server.go:2375 +0x189

net/http.serverHandler.ServeHTTP(0x11484280, 0x6cbdf0, 0x1144ed80, 0x11485480)

    D:/Go/src/net/http/server.go:2774 +0x83

net/http.(*conn).serve(0x1175cde0, 0x6cc280, 0x114b7e00)

    D:/Go/src/net/http/server.go:1878 +0x796

created by net/http.(*Server).Serve

    D:/Go/src/net/http/server.go:2884 +0x26c

2019/06/11 16:30:17 http: panic serving 192.168.77.8:13639: Failed to find GetFi leInformationByHandleEx procedure in kernel32.dll: The specified procedure could not be found. goroutine 83 [running]: net/http.(*conn).serve.func1(0x116132c0)

    D:/Go/src/net/http/server.go:1769 +0x9b

panic(0x62f700, 0x117a2000)

    D:/Go/src/runtime/panic.go:522 +0x165

syscall.(*LazyProc).mustFind(0x1143d9c0)

    D:/Go/src/syscall/dll_windows.go:287 +0x42

syscall.(*LazyProc).Addr(0x1143d9c0, 0x1142a8c0)

    D:/Go/src/syscall/dll_windows.go:294 +0x21

internal/syscall/windows.GetFileInformationByHandleEx(0x6e0, 0x9, 0x1142dc60, 0x 8, 0x3, 0x1141b348)

    D:/Go/src/internal/syscall/windows/zsyscall_windows.go:353 +0x27

os.newFileStatFromGetFileInformationByHandle(0x116889d0, 0xa, 0x6e0, 0x0, 0x2, 0 x11688958)

    D:/Go/src/os/types_windows.go:52 +0x135

os.(*File).Stat(0x117a0018, 0x6cc990, 0x117a0018, 0x6cc980, 0x117a0018)

    D:/Go/src/os/stat_windows.go:55 +0x133

net/http.serveFile(0x6cbdf0, 0x1144ee10, 0x11485580, 0x6c97f0, 0x1143a670, 0x116 88958, 0x8, 0x656d01)

    D:/Go/src/net/http/fs.go:712 +0xe3

net/http.(*fileHandler).ServeHTTP(0x1143a678, 0x6cbdf0, 0x1144ee10, 0x11485580)

    D:/Go/src/net/http/fs.go:876 +0x84

net/http.StripPrefix.func1(0x6cbdf0, 0x1144ee10, 0x114dd580)

    D:/Go/src/net/http/server.go:2034 +0x12c

net/http.HandlerFunc.ServeHTTP(0x114b6480, 0x6cbdf0, 0x1144ee10, 0x114dd580)

    D:/Go/src/net/http/server.go:1995 +0x34

net/http.(*ServeMux).ServeHTTP(0x86fc40, 0x6cbdf0, 0x1144ee10, 0x114dd580)

    D:/Go/src/net/http/server.go:2375 +0x189

net/http.serverHandler.ServeHTTP(0x11484280, 0x6cbdf0, 0x1144ee10, 0x114dd580)

    D:/Go/src/net/http/server.go:2774 +0x83

net/http.(*conn).serve(0x116132c0, 0x6cc280, 0x1178a040)

    D:/Go/src/net/http/server.go:1878 +0x796

created by net/http.(*Server).Serve

    D:/Go/src/net/http/server.go:2884 +0x26c

有疑问加站长微信联系(非本文作者)

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

1126 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传