scantailor-advanced icon indicating copy to clipboard operation
scantailor-advanced copied to clipboard

Segmentation fault when using command "sudo snap connect scantailor-advanced:removable-media"

Open lobaluna opened this issue 3 years ago • 2 comments

I am using ScanTailorAdvanced, snap version 1.0.6 in Lubuntu 20.10. I run vanilla scantailor-advanced without problems, either from menu or terminal, but I cannot access my files in another partition. So I plug in a connection called removable-media.

In order to use files in another partition (mounted in /mnt) I plug the removable-media connection/interface.

I make sure the connection/plug is successful:

$ snap interfaces scantailor-advanced
Slot              Plug
:desktop          scantailor-advanced
:desktop-legacy   scantailor-advanced
:gsettings        scantailor-advanced
:home             scantailor-advanced
:network          scantailor-advanced
:opengl           scantailor-advanced
:removable-media  scantailor-advanced
:unity7           scantailor-advanced
:wayland          scantailor-advanced
:x11              scantailor-advanced
-                 scantailor-advanced:cups-control

'snap interfaces' is deprecated; use 'snap connections'.

When I use the command (in terminal)

$ sudo snap connect scantailor-advanced:removable-media

I get a message:

Fontconfig warning: FcPattern object width does not accept value [85 100)
Segmentation fault (core dumped)

Is there anything I should do in order to make scantailor-advanced work with the removable-media connection on?

lobaluna avatar Apr 25 '21 23:04 lobaluna

This is an issue with the snap package that should be reported to the publisher. I unfortunately can't help with snap as I don't use it. However, I would suggest you build ScanTailor Advanced from source, as described in https://github.com/4lex4/scantailor-libs-build#linux, to get a fully functional build without file access restrictions.

mara004 avatar Jul 17 '21 10:07 mara004

Please report snap related issues here: https://github.com/ppd/scantailor-advanced-snap

Also: the snap has been updated to use a modern extension and should be more immune to such issues.

ppd avatar Sep 11 '21 09:09 ppd