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

Everything Broke (What!?) #4

Closed
imgurbot12 opened this issue Mar 7, 2018 · 0 comments
Closed

Everything Broke (What!?) #4

imgurbot12 opened this issue Mar 7, 2018 · 0 comments

Comments

@imgurbot12
Copy link

imgurbot12 commented Mar 7, 2018

I'm not sure what happened. I was attempting to write a bit of extra code for this module to gain access to the VMs INetworkAddress when all of a sudden. The entire library stopped functioning. I thought maybe the code I wrote had broken it so i reverted the changes and did some basic tests.

I even deleted and re-cloned the repository and yet the whole system is broken.
I was wondering if you might know the cause of some of these errors.

VBox-Version: 5.2.8r121009
OS: Ubuntu 16.04.4

Test-Results: (go test in repository)

vbox [vbox5] » git status ~/D/G/s/g/p/vbox
On branch vbox5
Your branch is up-to-date with 'origin/vbox5'.

nothing to commit, working tree clean

vbox [vbox5] » go test ~/D/G/s/g/p/vbox
--- FAIL: TestBiosSettings (0.00s)
bios_settings_test.go:10: Failed to create IMachine: 80bb0004
--- FAIL: TestConsole_GetMachine_PowerDown (0.00s)
helpers_test.go:58: Failed to create IMachine: 80bb0004
--- FAIL: TestDisplay (0.00s)
helpers_test.go:58: Failed to create IMachine: 80bb0004
--- FAIL: TestCreateMachine (0.00s)
machine_test.go:17: Failed to create IMachine: 80bb0004
--- FAIL: TestMachine_SaveSettings (0.00s)
machine_test.go:53: Failed to create IMachine: 80bb0004
--- FAIL: TestMachine_SetPointingHidType (0.00s)
machine_test.go:90: Failed to create IMachine: 80bb0004
--- FAIL: TestMachine_SetMemorySize_SetVramSize (0.00s)
machine_test.go:117: Failed to create IMachine: 80bb0004
--- FAIL: TestMachine_Register_Unregister (0.00s)
machine_test.go:155: Failed to create IMachine: 80bb0004
--- FAIL: TestFindMachine (0.00s)
machine_test.go:236: Failed to create IMachine: 80bb0004
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2 pc=0x7ff45b073255]

runtime stack:
runtime.throw(0x72184d, 0x2a)
/usr/local/go/src/runtime/panic.go:605 +0x95
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:351 +0x2b8

goroutine 14 [syscall, locked to thread]:
runtime.cgocall(0x66fb40, 0xc420043c30, 0x415728)
/usr/local/go/src/runtime/cgocall.go:132 +0xe4 fp=0xc420043be8 sp=0xc420043ba8 pc=0x406274
github.com/pwnall/vbox._Cfunc_GoVboxOpenMedium(0x1cf8e60, 0x1d1edb0, 0x100000002, 0x0, 0xc42000e0f8, 0x0)
github.com/pwnall/vbox/_test/_obj_test/_cgo_gotypes.go:2374 +0x4d fp=0xc420043c30 sp=0xc420043be8 pc=0x658b1d
github.com/pwnall/vbox.OpenMedium.func1(0x1cf8e60, 0x1d1edb0, 0x100000002, 0x0, 0xc42000e0f8, 0x494a1b)
/home/andrew/Desktop/Go/src/github.com/pwnall/vbox/medium.go:172 +0x109 fp=0xc420043c78 sp=0xc420043c30 pc=0x66b899
github.com/pwnall/vbox.OpenMedium(0xc4200221e0, 0x4d, 0x2, 0x1, 0x0, 0x0, 0x7d3ec0, 0xf)
/home/andrew/Desktop/Go/src/github.com/pwnall/vbox/medium.go:172 +0xc3 fp=0xc420043d00 sp=0xc420043c78 pc=0x65fef3
github.com/pwnall/vbox.TestMachine_AttachDevice_GetMedium(0xc4200fc960)
/home/andrew/Desktop/Go/src/github.com/pwnall/vbox/machine_test.go:288 +0x243 fp=0xc420043fa8 sp=0xc420043d00 pc=0x64e483
testing.tRunner(0xc4200fc960, 0x7298f0)
/usr/local/go/src/testing/testing.go:746 +0xd0 fp=0xc420043fd0 sp=0xc420043fa8 pc=0x4d5110
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc420043fd8 sp=0xc420043fd0 pc=0x460741
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:789 +0x2de

goroutine 1 [chan receive]:
testing.(*T).Run(0xc4200fc000, 0x71e83d, 0x22, 0x7298f0, 0x489200)
/usr/local/go/src/testing/testing.go:790 +0x2fc
testing.runTests.func1(0xc4200fc000)
/usr/local/go/src/testing/testing.go:1004 +0x64
testing.tRunner(0xc4200fc000, 0xc420053cc8)
/usr/local/go/src/testing/testing.go:746 +0xd0
testing.runTests(0xc4200e4240, 0xa77380, 0x19, 0x19, 0x47d794)
/usr/local/go/src/testing/testing.go:1002 +0x2d8
testing.(*M).Run(0xc420053f18, 0x4d)
/usr/local/go/src/testing/testing.go:921 +0x111
github.com/pwnall/vbox.TestMain(0xc420053f18)
/home/andrew/Desktop/Go/src/github.com/pwnall/vbox/main_test.go:54 +0x2f9
main.main()
github.com/pwnall/vbox/_test/_testmain.go:90 +0xdb
exit status 2
FAIL github.com/pwnall/vbox 0.179s

I even tried restarting all virtualbox services and rebooting my machine
but I have had no luck fixing this issue. Thanks for your help.

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