mgphoto icon indicating copy to clipboard operation
mgphoto copied to clipboard

panic: runtime error: slice bounds out of range

Open ZeroDot1 opened this issue 3 years ago • 0 comments

panic: runtime error: slice bounds out of range [20656:20519] [recovered]
	panic: tabwriter: panic during Write

goroutine 91 [running]:
text/tabwriter.(*Writer).handlePanic(0xc0000d4000, 0xc00962abb8, 0x59429e, 0x5)
	/usr/local/go/src/text/tabwriter/tabwriter.go:486 +0x152
panic(0x57f3a0, 0xc00018c020)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
text/tabwriter.(*Writer).updateWidth(...)
	/usr/local/go/src/text/tabwriter/tabwriter.go:420
text/tabwriter.(*Writer).Write(0xc0000d4000, 0xc000020090, 0x81, 0x90, 0x0, 0x0, 0x0)
	/usr/local/go/src/text/tabwriter/tabwriter.go:542 +0xc01
io.(*multiWriter).Write(0xc0000921c0, 0xc000020090, 0x81, 0x90, 0x6b9780, 0x0, 0x0)
	/usr/local/go/src/io/multi.go:60 +0x87
log.(*Logger).Output(0xc0000a2140, 0x2, 0xc0003aad90, 0x66, 0x0, 0x0)
	/usr/local/go/src/log/log.go:172 +0x287
log.(*Logger).Println(0xc0000a2140, 0xc000170200, 0x2, 0x2)
	/usr/local/go/src/log/log.go:188 +0x6a
github.com/mgerb/mgphoto/common.(*MediaFile).Warn(0xc0000a15c0, 0xc00962ae08, 0x1, 0x1)
	/home/mitchell/go/src/github.com/mgerb/mgphoto/common/media-file.go:119 +0x18d
github.com/mgerb/mgphoto/common.(*MediaFile).processMetaData(0xc0000a15c0, 0xc00194e028)
	/home/mitchell/go/src/github.com/mgerb/mgphoto/common/media-file.go:158 +0x20f
github.com/mgerb/mgphoto/common.NewMediaFile(0xc00016e800, 0x3c, 0x1, 0x0)
	/home/mitchell/go/src/github.com/mgerb/mgphoto/common/media-file.go:82 +0x437
github.com/mgerb/mgphoto/common.worker(0xc0000a0960, 0xc0000a09c0)
	/home/mitchell/go/src/github.com/mgerb/mgphoto/common/cmd.go:197 +0x5e
created by github.com/mgerb/mgphoto/common.getMediaFiles
	/home/mitchell/go/src/github.com/mgerb/mgphoto/common/cmd.go:167 +0xe3

ZeroDot1 avatar May 24 '21 20:05 ZeroDot1