Skip to content

Instantly share code, notes, and snippets.

@dhoss
Last active August 29, 2015 14:24
Show Gist options
  • Save dhoss/a1844e8f09f7222176ea to your computer and use it in GitHub Desktop.
Save dhoss/a1844e8f09f7222176ea to your computer and use it in GitHub Desktop.
gst error
devin@kodiak-dev:~/projects/gst/examples$ go run live_webm.go
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x40b23c]
goroutine 1 [running]:
main.NewWebM(0x180, 0xd8, 0x19, 0x0)
/home/devin/projects/gst/examples/live_webm.go:107 +0x93c
main.main()
/home/devin/projects/gst/examples/live_webm.go:145 +0x69
goroutine 2 [runnable]:
runtime.forcegchelper()
/usr/local/go/src/runtime/proc.go:90
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1
goroutine 3 [runnable]:
runtime.bgsweep()
/usr/local/go/src/runtime/mgc0.go:82
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1
goroutine 4 [runnable]:
runtime.runfinq()
/usr/local/go/src/runtime/malloc.go:712
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1
goroutine 5 [runnable]:
github.com/ziutek/glib.callbackLoop()
/home/devin/go/src/github.com/ziutek/glib/object.go:415
created by github.com/ziutek/glib.init·1
/home/devin/go/src/github.com/ziutek/glib/object.go:423 +0x25
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1
exit status 2
devin@kodiak-dev:~/projects/gst/examples$ go run simple.go
can't make element: videotestsrc
exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment