quicktime_video_hack
quicktime_video_hack copied to clipboard
qvh activate errors on first run
When I run command -> "qvh activate" in first time I have this one errors:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x529626]
goroutine 1 [running]:
github.com/google/gousb.(*Device).String(...)
/home/ganjalf/go/pkg/mod/github.com/google/[email protected]/device.go:101
github.com/danielpaulus/quicktime_video_hack/screencapture.mapToIosDevice(0xc0000d9bf0, 0x1, 0x1, 0x0, 0x0, 0xc0000861e0, 0xc0000a5260, 0x12d42c0)
/home/ganjalf/privaterepos/quicktime_video_hack/screencapture/discovery.go:105 +0x96
github.com/danielpaulus/quicktime_video_hack/screencapture.(*IosDevice).ReOpen(0xc0000d9d28, 0xc0000a5260, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/ganjalf/privaterepos/quicktime_video_hack/screencapture/discovery.go:28 +0xb5
github.com/danielpaulus/quicktime_video_hack/screencapture.EnableQTConfig(0xc0000ac150, 0x28, 0xc0000b0b34, 0x6, 0x4, 0xffffffffffffffff, 0x12a805ac, 0xc0000b3900, 0x1f, 0x0, ...)
/home/ganjalf/privaterepos/quicktime_video_hack/screencapture/activator.go:40 +0x36f
main.activate(0x0, 0x0)
/home/ganjalf/privaterepos/quicktime_video_hack/main.go:132 +0x266
main.main()
/home/ganjalf/privaterepos/quicktime_video_hack/main.go:70 +0x519
If I run it again every thing is ok and I see devece data:
{"device_activated":
{"deviceName":"iPhone","screen_mirroring_enabled":true,"udid":"divece_id","usb_device_info":"vid=05ac,pid=12a8,bus=3,addr=11"}
}
Do I have an error in the software setup?