~ghost08/photon

2 2

Issue running photon

Details
Message ID
<CVX8YQ2AHD0O.2YS56PF1D4AKL@rek2laptop>
DKIM signature
missing
Download raw message
Hello I been having this issue again on my laptop 
I did notice you added  better debug output with a trace.

contenx: This is a lenovo intel with intel graphics card X1 carbon 
running Arch GNU/Linux with wayland, sway and the terminal now im using
is "foot" 



photon
SIGSEGV: segmentation violation
PC=0x7fb6ee4444bd m=0 sigcode=1
signal arrived during cgo execution

goroutine 1 [syscall]:
runtime.cgocall(0x55f03f3cfc90, 0xc0002477d0)
	runtime/cgocall.go:157 +0x4b fp=0xc0002477a8 sp=0xc000247770 pc=0x55f03ee287cb
git.sr.ht/~ghost08/photon/imgproc._Cfunc_init(0x0)
	_cgo_gotypes.go:132 +0x4b fp=0xc0002477d0 sp=0xc0002477a8 pc=0x55f03ef5ac2b
git.sr.ht/~ghost08/photon/imgproc.Init(0x0)
	git.sr.ht/~ghost08/photon/imgproc/clir_linux.go:33 +0x69 fp=0xc000247848 sp=0xc0002477d0 pc=0x55f03ef5b029
main.main()
	git.sr.ht/~ghost08/photon/main.go:122 +0x9c7 fp=0xc000247f40 sp=0xc000247848 pc=0x55f03f3c85e7
runtime.main()
	runtime/proc.go:267 +0x2d2 fp=0xc000247fe0 sp=0xc000247f40 pc=0x55f03ee5dd52
runtime.goexit()
	runtime/asm_amd64.s:1650 +0x1 fp=0xc000247fe8 sp=0xc000247fe0 pc=0x55f03ee8f021

goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:398 +0xce fp=0xc000048fa8 sp=0xc000048f88 pc=0x55f03ee5e1ae
runtime.goparkunlock(...)
	runtime/proc.go:404
runtime.forcegchelper()
	runtime/proc.go:322 +0xb8 fp=0xc000048fe0 sp=0xc000048fa8 pc=0x55f03ee5e038
runtime.goexit()
	runtime/asm_amd64.s:1650 +0x1 fp=0xc000048fe8 sp=0xc000048fe0 pc=0x55f03ee8f021
created by runtime.init.6 in goroutine 1
	runtime/proc.go:310 +0x1a

goroutine 3 [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:398 +0xce fp=0xc000049778 sp=0xc000049758 pc=0x55f03ee5e1ae
runtime.goparkunlock(...)
	runtime/proc.go:404
runtime.bgsweep(0x0?)
	runtime/mgcsweep.go:280 +0x94 fp=0xc0000497c8 sp=0xc000049778 pc=0x55f03ee49554
runtime.gcenable.func1()
	runtime/mgc.go:200 +0x25 fp=0xc0000497e0 sp=0xc0000497c8 pc=0x55f03ee3e365
runtime.goexit()
	runtime/asm_amd64.s:1650 +0x1 fp=0xc0000497e8 sp=0xc0000497e0 pc=0x55f03ee8f021
created by runtime.gcenable in goroutine 1
	runtime/mgc.go:200 +0x66

goroutine 18 [GC scavenge wait]:
runtime.gopark(0xc000030070?, 0x55f03f4ceac8?, 0x1?, 0x0?, 0xc000082340?)
	runtime/proc.go:398 +0xce fp=0xc000044770 sp=0xc000044750 pc=0x55f03ee5e1ae
runtime.goparkunlock(...)
	runtime/proc.go:404
runtime.(*scavengerState).park(0x55f03fa7f4c0)
	runtime/mgcscavenge.go:425 +0x49 fp=0xc0000447a0 sp=0xc000044770 pc=0x55f03ee46de9
runtime.bgscavenge(0x0?)
	runtime/mgcscavenge.go:653 +0x3c fp=0xc0000447c8 sp=0xc0000447a0 pc=0x55f03ee4737c
runtime.gcenable.func2()
	runtime/mgc.go:201 +0x25 fp=0xc0000447e0 sp=0xc0000447c8 pc=0x55f03ee3e305
runtime.goexit()
	runtime/asm_amd64.s:1650 +0x1 fp=0xc0000447e8 sp=0xc0000447e0 pc=0x55f03ee8f021
created by runtime.gcenable in goroutine 1
	runtime/mgc.go:201 +0xa5

goroutine 19 [finalizer wait]:
runtime.gopark(0x55f03f5ec060?, 0x13ee5f301?, 0x0?, 0x0?, 0x55f03ee663c5?)
	runtime/proc.go:398 +0xce fp=0xc000048628 sp=0xc000048608 pc=0x55f03ee5e1ae
runtime.runfinq()
	runtime/mfinal.go:193 +0x107 fp=0xc0000487e0 sp=0xc000048628 pc=0x55f03ee3d3e7
runtime.goexit()
	runtime/asm_amd64.s:1650 +0x1 fp=0xc0000487e8 sp=0xc0000487e0 pc=0x55f03ee8f021
created by runtime.createfing in goroutine 1
	runtime/mfinal.go:163 +0x3d

goroutine 20 [chan receive]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:398 +0xce fp=0xc000044e48 sp=0xc000044e28 pc=0x55f03ee5e1ae
runtime.chanrecv(0xc000092360, 0xc000044f98, 0x1)
	runtime/chan.go:583 +0x3cd fp=0xc000044ec0 sp=0xc000044e48 pc=0x55f03ee2abad
runtime.chanrecv2(0x0?, 0x0?)
	runtime/chan.go:447 +0x12 fp=0xc000044ee8 sp=0xc000044ec0 pc=0x55f03ee2a7d2
git.sr.ht/~ghost08/photon/imgproc.imageProcWorker()
	git.sr.ht/~ghost08/photon/imgproc/imgproc.go:35 +0x5e fp=0xc000044fe0 sp=0xc000044ee8 pc=0x55f03ef5873e
runtime.goexit()
	runtime/asm_amd64.s:1650 +0x1 fp=0xc000044fe8 sp=0xc000044fe0 pc=0x55f03ee8f021
created by git.sr.ht/~ghost08/photon/imgproc.init.0 in goroutine 1
	git.sr.ht/~ghost08/photon/imgproc/imgproc.go:30 +0x1e

goroutine 21 [chan receive]:
runtime.gopark(0xc0000923b8?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:398 +0xce fp=0xc000045648 sp=0xc000045628 pc=0x55f03ee5e1ae
runtime.chanrecv(0xc000092360, 0xc000045798, 0x1)
	runtime/chan.go:583 +0x3cd fp=0xc0000456c0 sp=0xc000045648 pc=0x55f03ee2abad
runtime.chanrecv2(0x0?, 0x0?)
	runtime/chan.go:447 +0x12 fp=0xc0000456e8 sp=0xc0000456c0 pc=0x55f03ee2a7d2
git.sr.ht/~ghost08/photon/imgproc.imageProcWorker()
	git.sr.ht/~ghost08/photon/imgproc/imgproc.go:35 +0x5e fp=0xc0000457e0 sp=0xc0000456e8 pc=0x55f03ef5873e
runtime.goexit()
	runtime/asm_amd64.s:1650 +0x1 fp=0xc0000457e8 sp=0xc0000457e0 pc=0x55f03ee8f021
created by git.sr.ht/~ghost08/photon/imgproc.init.0 in goroutine 1
	git.sr.ht/~ghost08/photon/imgproc/imgproc.go:30 +0x1e

goroutine 22 [chan receive]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:398 +0xce fp=0xc000045e48 sp=0xc000045e28 pc=0x55f03ee5e1ae
runtime.chanrecv(0xc000092360, 0xc000045f98, 0x1)
	runtime/chan.go:583 +0x3cd fp=0xc000045ec0 sp=0xc000045e48 pc=0x55f03ee2abad
runtime.chanrecv2(0x0?, 0x0?)
	runtime/chan.go:447 +0x12 fp=0xc000045ee8 sp=0xc000045ec0 pc=0x55f03ee2a7d2
git.sr.ht/~ghost08/photon/imgproc.imageProcWorker()
	git.sr.ht/~ghost08/photon/imgproc/imgproc.go:35 +0x5e fp=0xc000045fe0 sp=0xc000045ee8 pc=0x55f03ef5873e
runtime.goexit()
	runtime/asm_amd64.s:1650 +0x1 fp=0xc000045fe8 sp=0xc000045fe0 pc=0x55f03ee8f021
created by git.sr.ht/~ghost08/photon/imgproc.init.0 in goroutine 1
	git.sr.ht/~ghost08/photon/imgproc/imgproc.go:30 +0x1e

goroutine 23 [chan receive]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:398 +0xce fp=0xc000046648 sp=0xc000046628 pc=0x55f03ee5e1ae
runtime.chanrecv(0xc000092360, 0xc000046798, 0x1)
	runtime/chan.go:583 +0x3cd fp=0xc0000466c0 sp=0xc000046648 pc=0x55f03ee2abad
runtime.chanrecv2(0x0?, 0x0?)
	runtime/chan.go:447 +0x12 fp=0xc0000466e8 sp=0xc0000466c0 pc=0x55f03ee2a7d2
git.sr.ht/~ghost08/photon/imgproc.imageProcWorker()
	git.sr.ht/~ghost08/photon/imgproc/imgproc.go:35 +0x5e fp=0xc0000467e0 sp=0xc0000466e8 pc=0x55f03ef5873e
runtime.goexit()
	runtime/asm_amd64.s:1650 +0x1 fp=0xc0000467e8 sp=0xc0000467e0 pc=0x55f03ee8f021
created by git.sr.ht/~ghost08/photon/imgproc.init.0 in goroutine 1
	git.sr.ht/~ghost08/photon/imgproc/imgproc.go:30 +0x1e

goroutine 24 [IO wait]:
runtime.gopark(0x200?, 0xb?, 0x0?, 0x0?, 0x8?)
	runtime/proc.go:398 +0xce fp=0xc000046d38 sp=0xc000046d18 pc=0x55f03ee5e1ae
runtime.netpollblock(0x55f03eedf798?, 0x3ee27f26?, 0xf0?)
	runtime/netpoll.go:564 +0xf7 fp=0xc000046d70 sp=0xc000046d38 pc=0x55f03ee56b57
internal/poll.runtime_pollWait(0x7fb6a5ebbd00, 0x72)
	runtime/netpoll.go:343 +0x85 fp=0xc000046d90 sp=0xc000046d70 pc=0x55f03ee89105
internal/poll.(*pollDesc).wait(0xc0002011a0?, 0xc000382000?, 0x1)
	internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc000046db8 sp=0xc000046d90 pc=0x55f03eefad27
internal/poll.(*pollDesc).waitRead(...)
	internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc0002011a0, {0xc000382000, 0x200, 0x200})
	internal/poll/fd_unix.go:164 +0x27a fp=0xc000046e50 sp=0xc000046db8 pc=0x55f03eefc01a
os.(*File).read(...)
	os/file_posix.go:29
os.(*File).Read(0xc0000a04f0, {0xc000382000?, 0x7fb6a4e12fd0?, 0xc000046ed8?})
	os/file.go:118 +0x52 fp=0xc000046e90 sp=0xc000046e50 pc=0x55f03ef071f2
bytes.(*Buffer).ReadFrom(0xc000380000, {0x55f03f5f61f8, 0xc0000a04f0})
	bytes/buffer.go:211 +0x98 fp=0xc000046ee8 sp=0xc000046e90 pc=0x55f03ef1d998
io.copyBuffer({0x55f03f5f6558, 0xc000380000}, {0x55f03f5f61f8, 0xc0000a04f0}, {0x0, 0x0, 0x0})
	io/io.go:416 +0x147 fp=0xc000046f68 sp=0xc000046ee8 pc=0x55f03eed6127
io.Copy(...)
	io/io.go:389
git.sr.ht/~ghost08/photon/imgproc.NewCapturer.func1()
	git.sr.ht/~ghost08/photon/imgproc/stdout_redirect.go:47 +0x59 fp=0xc000046fe0 sp=0xc000046f68 pc=0x55f03ef5c6f9
runtime.goexit()
	runtime/asm_amd64.s:1650 +0x1 fp=0xc000046fe8 sp=0xc000046fe0 pc=0x55f03ee8f021
created by git.sr.ht/~ghost08/photon/imgproc.NewCapturer in goroutine 1
	git.sr.ht/~ghost08/photon/imgproc/stdout_redirect.go:45 +0x1d2

rax    0x0
rbx    0x0
rcx    0x7ffc0808de20
rdx    0x1
rdi    0x7fb6ee475a08
rsi    0x0
rbp    0x7fb6ee475a08
rsp    0x7ffc0808dce0
r8     0x0
r9     0x7
r10    0x55f040d25cb0
r11    0x6816f99f7fbdf5e2
r12    0x7ffc0808de78
r13    0x7ffc0808df30
r14    0x7fb68e7384a0
r15    0x7ffc0808e080
rip    0x7fb6ee4444bd
rflags 0x10202
cs     0x33
fs     0x0
gs     0x0




-- 
- {gemini,https}://{,rek2.}hispagatos.org - mastodon: @rek2@hispagatos.space
- [https|gemini]://2600.Madrid            - https://hispagatos.space/@rek2
- https://keyoxide.org/A31C7CE19D9C58084EA42BA26C0B0D11E9303EC5
Details
Message ID
<CVXSK1RMQYFL.1S9N9JDG3LJJ9@mgyar.me>
In-Reply-To
<CVX8YQ2AHD0O.2YS56PF1D4AKL@rek2laptop> (view parent)
DKIM signature
missing
Download raw message
Some issue in the opencl init. Try to redirect the output to a file and
send it here.

	photon > /tmp/output
Details
Message ID
<CW4VLNP8CP7B.2EG4JQ5S2TWQL@hispagatos.org>
In-Reply-To
<CVXSK1RMQYFL.1S9N9JDG3LJJ9@mgyar.me> (view parent)
DKIM signature
missing
Download raw message
The output is what I already pasted here
doing a pipe redirection still outputs to my terminal and not
to the file.. 

:/ 

-- 
- {gemini,https}://{,rek2.}hispagatos.org - mastodon: @rek2@hispagatos.space
- [https|gemini]://2600.Madrid            - https://hispagatos.space/@rek2
- https://keyoxide.org/A31C7CE19D9C58084EA42BA26C0B0D11E9303EC5
Reply to thread Export thread (mbox)