Skip to content

Instantly share code, notes, and snippets.

@selfup
Created August 20, 2019 19:36
Show Gist options
  • Save selfup/ac81bf429274f31b6858886587fcbd8d to your computer and use it in GitHub Desktop.
Save selfup/ac81bf429274f31b6858886587fcbd8d to your computer and use it in GitHub Desktop.
goroutine 102442 [semacquire]:
os.openDir(0xc006a5faa0, 0x60, 0x0, 0x0, 0x0)
C:/Go/src/os/file_windows.go:112 +0x504
os.openFileNolog(0xc006a5faa0, 0x60, 0x0, 0x0, 0xc006a5faa0, 0xc001f21620, 0x5a4c01)
C:/Go/src/os/file_windows.go:162 +0x17b
os.OpenFile(0xc006a5faa0, 0x60, 0x0, 0xc000000000, 0x5a4cc0, 0xc0017ebe20, 0x440d66)
C:/Go/src/os/file.go:284 +0x66
os.Open(...)
C:/Go/src/os/file.go:265
io/ioutil.ReadDir(0xc006a5faa0, 0x60, 0xc006a5faf2, 0xc00012de00, 0xe, 0x60, 0xc006a5faa0)
C:/Go/src/io/ioutil/ioutil.go:97 +0x66
main.(*FileSizeFinder).findFiles(0xc000076180, 0xc006a5faa0, 0x60, 0xc00541dc20, 0x51)
C:/Users/selfup/go/src/github.com/selfup/filesizefinder/main.go:88 +0x54
main.(*FileSizeFinder).findFiles.func1(0xc000076180, 0xc0001750f0, 0x502240, 0xc00d6c4380, 0xc00541dc20, 0x51, 0x4e49f7, 0x1)
C:/Users/selfup/go/src/github.com/selfup/filesizefinder/main.go:116 +0xc7
created by main.(*FileSizeFinder).findFiles
C:/Users/selfup/go/src/github.com/selfup/filesizefinder/main.go:115 +0x2e0
goroutine 85547 [runnable, locked to thread]:
syscall.Syscall(0x7ffa92f12170, 0x2, 0xc002d783c0, 0xc003db79e8, 0x0, 0x0, 0x0, 0x0)
C:/Go/src/runtime/syscall_windows.go:184 +0xea
syscall.findFirstFile1(0xc002d783c0, 0xc003db79e8, 0xc00e3c4a80, 0x1b27f8, 0x0)
C:/Go/src/syscall/zsyscall_windows.go:379 +0x80
syscall.FindFirstFile(0xc002d783c0, 0xc00c87ec80, 0xc002d783c0, 0x78, 0x78)
C:/Go/src/syscall/syscall_windows.go:998 +0x73
os.openDir(0xc00db99d80, 0x75, 0x0, 0x0, 0x0)
C:/Go/src/os/file_windows.go:119 +0x12c
os.openFileNolog(0xc00db99d80, 0x75, 0x0, 0x0, 0xc00db99d80, 0xc0000acc00, 0x5a4c01)
C:/Go/src/os/file_windows.go:162 +0x17b
os.OpenFile(0xc00db99d80, 0x75, 0x0, 0xc000000000, 0x5a4c00, 0xc003db7e20, 0x440d66)
C:/Go/src/os/file.go:284 +0x66
os.Open(...)
C:/Go/src/os/file.go:265
io/ioutil.ReadDir(0xc00db99d80, 0x75, 0xc00db99d93, 0xc006f73340, 0x62, 0x75, 0xc00db99d80)
C:/Go/src/io/ioutil/ioutil.go:97 +0x66
main.(*FileSizeFinder).findFiles(0xc000076180, 0xc00db99d80, 0x75, 0xc0002d4a00, 0x12)
C:/Users/selfup/go/src/github.com/selfup/filesizefinder/main.go:88 +0x54
main.(*FileSizeFinder).findFiles.func1(0xc000076180, 0xc00295a610, 0x502240, 0xc0043e3420, 0xc0002d4a00, 0x12, 0x4e49f7, 0x1)
C:/Users/selfup/go/src/github.com/selfup/filesizefinder/main.go:116 +0xc7
created by main.(*FileSizeFinder).findFiles
C:/Users/selfup/go/src/github.com/selfup/filesizefinder/main.go:115 +0x2e0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment