Skip to content
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

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

Open
lobaluna opened this issue Apr 25, 2021 · 2 comments

Comments

@lobaluna
Copy link

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
Copy link

mara004 commented Jul 17, 2021

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
Copy link

ppd commented Sep 11, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants