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

Getting SIGSEGV error when running for first time #117

Open
drluckyspin opened this issue Jul 26, 2021 · 0 comments
Open

Getting SIGSEGV error when running for first time #117

drluckyspin opened this issue Jul 26, 2021 · 0 comments

Comments

@drluckyspin
Copy link

Running on macos 11.4

Virtual Box v6.1.24r145767
Extensions Pack v6.1.24r145767

Seems like something to do with connecting to the Cloud to get virtualbox? Any ideas?

➜  .iotit git:(master) ✗ brew reinstall iotit
==> Downloading /~https://github.com/xshellinc/iotit/releases/download/v0.4.7/iotit_0.4.7_macos_amd64.tar.gz
Already downloaded: /Users/lucky/Library/Caches/Homebrew/downloads/ddfb7c635ba196be559e37bfdea0b12caaefa197976fbefaf21b0a74d39a0071--iotit_0.4.7_macos_amd64.tar.gz
==> Reinstalling xshellinc/iotit/iotit 
🍺  /usr/local/Cellar/iotit/0.4.7: 6 files, 7.7MB, built in 5 seconds
➜  .iotit git:(master) ✗ iotit
   [1] Raspberry Pi
   [2] Espressif ESP
   [3] Intel® Edison
   [4] Nano Pi
   [5] Beaglebone
   [6] Toradex Colibri iMX6
   [7] ASUS Tinker Board
   [8] DragonBoard 410c
   [9] Custom board
[?] Select device type: 7
[+] Flashing ASUS Tinker Board
   [1] TinkerOS Android
   [2] TinkerOS Debian
[?] Please select an image: 2
[+] Using TinkerOS Debian
[+] Checking virtual machine
[-] Could not connect to S3 bucket
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x1362638]

goroutine 1 [running]:
github.com/xshellinc/iotit/vbox.CheckMachine(0x147a086, 0x9, 0x27, 0xc42018e000)
        /Users/bnuriddin/code/go/src/github.com/xshellinc/iotit/vbox/machine.go:39 +0x428
github.com/xshellinc/iotit/vbox.NewConfig(0xc420026880, 0x11, 0x1)
        /Users/bnuriddin/code/go/src/github.com/xshellinc/iotit/vbox/vbox.go:85 +0x48
github.com/xshellinc/iotit/device.(*flasher).Prepare(0xc4200925a0, 0x1, 0x1)
        /Users/bnuriddin/code/go/src/github.com/xshellinc/iotit/device/flasher.go:88 +0xb0
github.com/xshellinc/iotit/device.(*sdFlasher).Configure(0xc42011f800, 0x1, 0x1)
        /Users/bnuriddin/code/go/src/github.com/xshellinc/iotit/device/sd_flasher.go:185 +0x32
github.com/xshellinc/iotit/device.(*sdFlasher).Flash(0xc42011f800, 0x14d2de0, 0xc42011f800)
        /Users/bnuriddin/code/go/src/github.com/xshellinc/iotit/device/sd_flasher.go:231 +0x6f
main.main.func1(0xc4200ee840, 0xc4200ee840, 0xc420083a17)
        /Users/bnuriddin/code/go/src/github.com/xshellinc/iotit/iotit.go:62 +0x4c
github.com/xshellinc/iotit/vendor/gopkg.in/urfave/cli%2ev1.HandleAction(0x13e7680, 0x14992d0, 0xc4200ee840, 0xc4200924e0, 0x0)
        /Users/bnuriddin/code/go/src/github.com/xshellinc/iotit/vendor/gopkg.in/urfave/cli.v1/app.go:490 +0xc8
github.com/xshellinc/iotit/vendor/gopkg.in/urfave/cli%2ev1.(*App).Run(0xc4200b8ea0, 0xc42001e1b0, 0x1, 0x1, 0x0, 0x0)
        /Users/bnuriddin/code/go/src/github.com/xshellinc/iotit/vendor/gopkg.in/urfave/cli.v1/app.go:264 +0x5ee
main.main()
        /Users/bnuriddin/code/go/src/github.com/xshellinc/iotit/iotit.go:332 +0xe26
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