cbconvert icon indicating copy to clipboard operation
cbconvert copied to clipboard

Flatpak crashes when I try to start the application

Open alexcs222 opened this issue 1 year ago • 3 comments

Cool project, thanks for doing this!

I'm using Debian 12 with Gnome 43.9 as my DE. Whenever I try to launch the flatpak, I get the error below:

(cbconvert-gui:2): Gdk-CRITICAL **: 07:42:04.256: ../gdk/wayland/gdkdisplay-wayland.c:1353: Truncating shared memory file failed: Invalid argument
SIGSEGV: segmentation violation
PC=0x7efd26cf8544 m=0 sigcode=1 addr=0x40
signal arrived during cgo execution

goroutine 1 gp=0xc0000061c0 m=0 mp=0x14d9b20 [syscall]:
runtime.cgocall(0x72f4d0, 0xc0000adeb0)
	runtime/cgocall.go:167 +0x4b fp=0xc0000ade88 sp=0xc0000ade50 pc=0x48014b
github.com/gen2brain/iup-go/iup._Cfunc_IupMainLoop()
	_cgo_gotypes.go:2250 +0x47 fp=0xc0000adeb0 sp=0xc0000ade88 pc=0x6e5187
github.com/gen2brain/iup-go/iup.MainLoop(...)
	github.com/gen2brain/iup-go/[email protected]/bind_events.go:21
main.main()
	github.com/gen2brain/cbconvert/cmd/cbconvert-gui/main.go:102 +0x258 fp=0xc0000adf50 sp=0xc0000adeb0 pc=0x720858
runtime.main()
	runtime/proc.go:272 +0x28b fp=0xc0000adfe0 sp=0xc0000adf50 pc=0x45264b
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc0000adfe8 sp=0xc0000adfe0 pc=0x48da41

goroutine 2 gp=0xc000006c40 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc00005afa8 sp=0xc00005af88 pc=0x48612e
runtime.goparkunlock(...)
	runtime/proc.go:430
runtime.forcegchelper()
	runtime/proc.go:337 +0xb3 fp=0xc00005afe0 sp=0xc00005afa8 pc=0x452993
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00005afe8 sp=0xc00005afe0 pc=0x48da41
created by runtime.init.7 in goroutine 1
	runtime/proc.go:325 +0x1a

goroutine 3 gp=0xc000007180 m=nil [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc00005b780 sp=0xc00005b760 pc=0x48612e
runtime.goparkunlock(...)
	runtime/proc.go:430
runtime.bgsweep(0xc000024080)
	runtime/mgcsweep.go:277 +0x94 fp=0xc00005b7c8 sp=0xc00005b780 pc=0x43d2f4
runtime.gcenable.gowrap1()
	runtime/mgc.go:203 +0x25 fp=0xc00005b7e0 sp=0xc00005b7c8 pc=0x431a25
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00005b7e8 sp=0xc00005b7e0 pc=0x48da41
created by runtime.gcenable in goroutine 1
	runtime/mgc.go:203 +0x66

goroutine 4 gp=0xc000007340 m=nil [GC scavenge wait]:
runtime.gopark(0xc000024080?, 0xcd5f38?, 0x1?, 0x0?, 0xc000007340?)
	runtime/proc.go:424 +0xce fp=0xc00005bf78 sp=0xc00005bf58 pc=0x48612e
runtime.goparkunlock(...)
	runtime/proc.go:430
runtime.(*scavengerState).park(0x14d8c20)
	runtime/mgcscavenge.go:425 +0x49 fp=0xc00005bfa8 sp=0xc00005bf78 pc=0x43ad29
runtime.bgscavenge(0xc000024080)
	runtime/mgcscavenge.go:653 +0x3c fp=0xc00005bfc8 sp=0xc00005bfa8 pc=0x43b29c
runtime.gcenable.gowrap2()
	runtime/mgc.go:204 +0x25 fp=0xc00005bfe0 sp=0xc00005bfc8 pc=0x4319c5
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00005bfe8 sp=0xc00005bfe0 pc=0x48da41
created by runtime.gcenable in goroutine 1
	runtime/mgc.go:204 +0xa5

goroutine 5 gp=0xc000007c00 m=nil [finalizer wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:424 +0xce fp=0xc00005c620 sp=0xc00005c600 pc=0x48612e
runtime.runfinq()
	runtime/mfinal.go:193 +0x107 fp=0xc00005c7e0 sp=0xc00005c620 pc=0x430aa7
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00005c7e8 sp=0xc00005c7e0 pc=0x48da41
created by runtime.createfing in goroutine 1
	runtime/mfinal.go:163 +0x3d

goroutine 6 gp=0xc0000ea000 m=nil [chan receive]:
runtime.gopark(0x7dbd90?, 0x0?, 0x58?, 0xb7?, 0x128b758?)
	runtime/proc.go:424 +0xce fp=0xc00005a718 sp=0xc00005a6f8 pc=0x48612e
runtime.chanrecv(0xc00002a310, 0x0, 0x1)
	runtime/chan.go:639 +0x41c fp=0xc00005a790 sp=0xc00005a718 pc=0x42153c
runtime.chanrecv1(0x4527e0?, 0xc00005a776?)
	runtime/chan.go:489 +0x12 fp=0xc00005a7b8 sp=0xc00005a790 pc=0x4210f2
runtime.unique_runtime_registerUniqueMapCleanup.func1(...)
	runtime/mgc.go:1732
runtime.unique_runtime_registerUniqueMapCleanup.gowrap1()
	runtime/mgc.go:1735 +0x2f fp=0xc00005a7e0 sp=0xc00005a7b8 pc=0x434a2f
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc00005a7e8 sp=0xc00005a7e0 pc=0x48da41
created by unique.runtime_registerUniqueMapCleanup in goroutine 1
	runtime/mgc.go:1730 +0x96

rax    0x7efd275e7e80
rbx    0x126dc5a0
rcx    0xffe1
rdx    0x7efd275edd40
rdi    0x0
rsi    0x0
rbp    0x7fff5b8000c0
rsp    0x7fff5b7fff58
r8     0x3ffd4
r9     0x6
r10    0x7
r11    0x293
r12    0x1
r13    0x3ffd4
r14    0x7efd275e7e80
r15    0x0
rip    0x7efd26cf8544
rflags 0x10207
cs     0x33
fs     0x0
gs     0x0

Any suggestions?

alexcs222 avatar Feb 05 '25 12:02 alexcs222

I am experiencing this as well on linux

mdb17 avatar Feb 07 '25 20:02 mdb17

Same issue here. Tried the binary from Releases (both GUI & CLI) and the Flatpak and all gave the same error (with slightly different values).

System: Manjaro Linux with GNOME on Wayland (up-to-date).

NA0341 avatar Apr 13 '25 03:04 NA0341

disable wayland using flatseal make it works

outusuke avatar May 13 '25 01:05 outusuke