4lex4 / scantailor-advanced

ScanTailor Advanced is the version that merges the features of the ScanTailor Featured and ScanTailor Enhanced versions, brings new ones and fixes.
GNU General Public License v3.0
1.15k stars 128 forks source link

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

Open lobaluna opened 3 years ago

lobaluna commented 3 years ago

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?

mara004 commented 3 years ago

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.

ppd commented 2 years ago

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.