Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qvh activate errors on first run #148

Open
VoroshylovDmitry opened this issue Jul 25, 2023 · 0 comments
Open

qvh activate errors on first run #148

VoroshylovDmitry opened this issue Jul 25, 2023 · 0 comments

Comments

@VoroshylovDmitry
Copy link

VoroshylovDmitry commented Jul 25, 2023

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/gousb@v0.0.0-20190812193832-18f4c1d8a750/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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant