-
Notifications
You must be signed in to change notification settings - Fork 37
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
got error "signal arrived during external code execution" when running lanch example on windows 10 #26
Comments
Hello, I'd like to share my opinion for digging further. How about to run the pipeline first with a launch tool given by gstreamer, 'gst-launch-1.0'
How about to run more simple pipeline below?
I am not sure that the environment like Win10 on VMware is capable of enabling |
@brucekim Hi, thanks of your guide. But this worked for one second, then the windows closed and exe exit: Sometimes, just crash again, this is log:GST_DEBUG=4 ./launch.exe videotestsrc ! autovideosink 0:00:00.000597600 9740 000002C6A77DD0F0 INFO GST_INIT gst.c:586:init_pre: Initializing GStreamer Core Library version 1.18.5 runtime.cgocall(0x7ff68f720b10, 0xc00007f4c0) |
The call stack indicates Lines 37 to 41 in 5437f8a
Anyway, exception was happened. And I found that the exception code is kind of access violation
And I also found that anti virus program prevents to execute external one. The link above suggests a following trick. |
@brucekim you've been active in a lot of issues, and I've been swamped with work these days and not been able to be as attentive. Would you be open to me adding you as a maintainer so you can help field issues and PRs? |
@tinyzimmer Hi. I am willing to want joining as a maintainer since I think |
@adwpc move this issue to https://github.com/go-gst/go-gst (where future development of the bindings will take place) if you think it is still necessary. @brucekim I could also add you as member in the new org if you want to |
Device monitor
were you able to resolve this issue? I'm running it from PS run with admin privileges and got the same issue. |
ENV:
Vmware fusion + WIN10 + MingW + Gstreamer1.8.x + golang 1.16.x
What happen:
exe crash and got error:
signal arrived during external code execution
I found the error string from signal_windows.go
Please help!
Logs:
./launch.exe autovideosrc ! videoconvert ! decodebin ! autovideosink autoaudiosrc! audioresample ! audioconvert ! decodebin ! autoaudiosink
[autoaudiosink0-actual-sink-wasapi] STATE-CHANGED - State changed from NULL to READY
[autoaudiosink0] STATE-CHANGED - State changed from NULL to READY
[autovideosink0] NEED-CONTEXT - Element needs context
[autovideosink0] HAVE-CONTEXT - Received context of type gst.d3d11.device.handle
[d3d11videosink0] STATE-CHANGED - State changed from NULL to READY
[d3d11upload0] STATE-CHANGED - State changed from NULL to READY
[autovideosink0-actual-sink-d3d11video] STATE-CHANGED - State changed from NULL to READY
[autovideosink0] STATE-CHANGED - State changed from NULL to READY
[typefind] STATE-CHANGED - State changed from NULL to READY
[decodebin1] STATE-CHANGED - State changed from NULL to READY
[audioconvert0] STATE-CHANGED - State changed from NULL to READY
[audioresample0] STATE-CHANGED - State changed from NULL to READY
[autoaudiosrc0-actual-src-wasap] STATE-CHANGED - State changed from NULL to READY
[autoaudiosrc0] STATE-CHANGED - State changed from NULL to READY
[typefind] STATE-CHANGED - State changed from NULL to READY
[decodebin0] STATE-CHANGED - State changed from NULL to READY
[videoconvert0] STATE-CHANGED - State changed from NULL to READY
[autovideosrc0-actual-src-ksvide] STATE-CHANGED - State changed from NULL to READY
[autovideosrc0] STATE-CHANGED - State changed from NULL to READY
[pipeline0] STATE-CHANGED - State changed from NULL to READY
[d3d11upload0] STATE-CHANGED - State changed from READY to PAUSED
[typefind] STATE-CHANGED - State changed from READY to PAUSED
[audioconvert0] STATE-CHANGED - State changed from READY to PAUSED
[audioresample0] STATE-CHANGED - State changed from READY to PAUSED
Exception 0xc0000005 0x0 0xfffffffffffffc07 0x7ffd033d6c3b
PC=0x7ffd033d6c3b
signal arrived during external code execution
runtime.cgocall(0x7ff68f720b10, 0xc0000cd4c0)
C:/Program Files/Go/src/runtime/cgocall.go:156 +0x4a fp=0xc0000cd498 sp=0xc0000cd460 pc=0x7ff68f64424a
github.com/tinyzimmer/go-gst/gst._Cfunc_free(0x25e41574320)
_cgo_gotypes.go:2429 +0x4e fp=0xc0000cd4c0 sp=0xc0000cd498 pc=0x7ff68f6fbb0e
github.com/tinyzimmer/go-gst/gst.(*Object).GetName.func2.1()
C:/Users/adam/go/src/pion/go-gst/gst/gst_object.go:39 +0x3b fp=0xc0000cd4f8 sp=0xc0000cd4c0 pc=0x7ff68f70f3db
github.com/tinyzimmer/go-gst/gst.(*Object).GetName(0x7ff68f791564)
C:/Users/adam/go/src/pion/go-gst/gst/gst_object.go:40 +0x6c fp=0xc0000cd538 sp=0xc0000cd4f8 pc=0x7ff68f70f2cc
github.com/tinyzimmer/go-gst/gst.(*Message).String(0xc000032000)
C:/Users/adam/go/src/pion/go-gst/gst/gst_message_stringer.go:79 +0xd5a fp=0xc0000cd738 sp=0xc0000cd538 pc=0x7ff68f6fab1a
fmt.(*pp).handleMethods(0xc00008c8f0, 0xd0280)
C:/Program Files/Go/src/fmt/print.go:626 +0x383 fp=0xc0000cd9e8 sp=0xc0000cd738 pc=0x7ff68f6dae03
fmt.(*pp).printArg(0xc00008c8f0, {0x7ff68f786780, 0xc0000ce140}, 0x76)
C:/Program Files/Go/src/fmt/print.go:709 +0x693 fp=0xc0000cda88 sp=0xc0000cd9e8 pc=0x7ff68f6db9b3
fmt.(*pp).doPrintln(0xc00008c8f0, {0xc0000cdb88, 0x1, 0x0})
C:/Program Files/Go/src/fmt/print.go:1169 +0x149 fp=0xc0000cdaf8 sp=0xc0000cda88 pc=0x7ff68f6df149
fmt.Fprintln({0x7ff68f7bbe60, 0xc0000ce008}, {0xc0000cdb88, 0x1, 0x1})
C:/Program Files/Go/src/fmt/print.go:264 +0x4f fp=0xc0000cdb48 sp=0xc0000cdaf8 pc=0x7ff68f6d89cf
fmt.Println(...)
C:/Program Files/Go/src/fmt/print.go:274
main.runPipeline.func1(0xc0000ce140)
C:/Users/adam/go/src/pion/go-gst/examples/launch/main.go:46 +0x190 fp=0xc0000cdbe8 sp=0xc0000cdb48 pc=0x7ff68f719ad0
github.com/tinyzimmer/go-gst/gst.goBusFunc(0x1, 0x25e41518890, 0xc000032000)
C:/Users/adam/go/src/pion/go-gst/gst/cgo_exports.go:128 +0x7d fp=0xc0000cdc18 sp=0xc0000cdbe8 pc=0x7ff68f70455d
_cgoexp_aa7f20127082_goBusFunc(0xdff1fff7c0)
_cgo_gotypes.go:17353 +0x2c fp=0xc0000cdc40 sp=0xc0000cdc18 pc=0x7ff68f716bec
runtime.cgocallbackg1(0x7ff68f716bc0, 0xc0000cde00, 0x0)
C:/Program Files/Go/src/runtime/cgocall.go:306 +0x29a fp=0xc0000cdd10 sp=0xc0000cdc40 pc=0x7ff68f64479a
runtime.cgocallbackg(0xc000032000, 0x300000002, 0xc000032000)
C:/Program Files/Go/src/runtime/cgocall.go:232 +0x106 fp=0xc0000cdda8 sp=0xc0000cdd10 pc=0x7ff68f644426
runtime.cgocallbackg(0x7ff68f716bc0, 0xdff1fff7c0, 0x0)
:1 +0x36 fp=0xc0000cddd0 sp=0xc0000cdda8 pc=0x7ff68f6a2396
runtime.cgocallback(0x7ff68f6442ac, 0x7ff68f71c1f0, 0xc0000cde60)
C:/Program Files/Go/src/runtime/asm_amd64.s:915 +0xd7 fp=0xc0000cddf8 sp=0xc0000cddd0 pc=0x7ff68f6a0237
runtime.systemstack_switch()
C:/Program Files/Go/src/runtime/asm_amd64.s:350 fp=0xc0000cde00 sp=0xc0000cddf8 pc=0x7ff68f69e0e0
runtime.cgocall(0x7ff68f71c1f0, 0xc0000cde60)
C:/Program Files/Go/src/runtime/cgocall.go:166 +0xac fp=0xc0000cde38 sp=0xc0000cde00 pc=0x7ff68f6442ac
github.com/tinyzimmer/go-glib/glib._Cfunc_g_main_loop_run(0x25e1a435aa0)
_cgo_gotypes.go:2825 +0x52 fp=0xc0000cde60 sp=0xc0000cde38 pc=0x7ff68f6e3492
github.com/tinyzimmer/go-glib/glib.(*MainLoop).Run.func1(0xc0000ce070)
C:/Users/adam/go/pkg/mod/github.com/tinyzimmer/[email protected]/glib/gmainloop.go:53 +0x46 fp=0xc0000cde98 sp=0xc0000cde60 pc=0x7ff68f6e6e46
github.com/tinyzimmer/go-glib/glib.(*MainLoop).Run(0xc000088390)
C:/Users/adam/go/pkg/mod/github.com/tinyzimmer/[email protected]/glib/gmainloop.go:53 +0x19 fp=0xc0000cdeb0 sp=0xc0000cde98 pc=0x7ff68f6e6dd9
github.com/tinyzimmer/go-glib/glib.(*MainLoop).RunError(...)
C:/Users/adam/go/pkg/mod/github.com/tinyzimmer/[email protected]/glib/gmainloop.go:59
main.runPipeline(0xc0000aa300)
C:/Users/adam/go/src/pion/go-gst/examples/launch/main.go:55 +0x126 fp=0xc0000cdef8 sp=0xc0000cdeb0 pc=0x7ff68f7198c6
main.main.func1(0x25e1a42f380)
C:/Users/adam/go/src/pion/go-gst/examples/launch/main.go:60 +0x19 fp=0xc0000cdf10 sp=0xc0000cdef8 pc=0x7ff68f719b79
github.com/tinyzimmer/go-gst/examples.RunLoop(0x7ff68f79bb30)
C:/Users/adam/go/src/pion/go-gst/examples/common.go:28 +0x5d fp=0xc0000cdf68 sp=0xc0000cdf10 pc=0x7ff68f6ec7bd
main.main()
C:/Users/adam/go/src/pion/go-gst/examples/launch/main.go:59 +0x25 fp=0xc0000cdf80 sp=0xc0000cdf68 pc=0x7ff68f719b45
runtime.main()
C:/Program Files/Go/src/runtime/proc.go:255 +0x217 fp=0xc0000cdfe0 sp=0xc0000cdf80 pc=0x7ff68f678657
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0000cdfe8 sp=0xc0000cdfe0 pc=0x7ff68f6a0481
rax 0x25e41571b00
rbx 0xfffffffffffffbff
rcx 0x2810
rdi 0x0
rsi 0x25e1a3a0000
rbp 0x0
rsp 0xdff1fff500
r8 0x7e684525
r9 0x0
r10 0x25e40ed0668
r11 0x0
r12 0x0
r13 0x25e41574320
r14 0x25e41574310
r15 0x1
rip 0x7ffd033d6c3b
rflags 0x10286
cs 0x33
fs 0x53
gs 0x2b
The text was updated successfully, but these errors were encountered: