snap version doesn't work, am64 Ubuntu 23.04 #815

Open
opened 2023-09-28 00:43:44 +02:00 by SmartLayer · 1 comment
SmartLayer commented 2023-09-28 00:43:44 +02:00 (Migrated from github.com)

Hi I self compiled from master and it works:

$ ./cool-retro-term 
Using a variable-width font in the terminal.  This may cause performance degradation and display/alignment errors.
Both point size and pixel size set. Using pixel size.
Using a variable-width font in the terminal.  This may cause performance degradation and display/alignment errors.

But running from snap version core dumps

$ /snap/bin/cool-retro-term
libEGL warning: DRI2: failed to create dri screen
libEGL warning: DRI2: failed to create dri screen
Qt: Session management error: None of the authentication protocols specified are supported
Fontconfig warning: FcPattern object weight does not accept value [0 205)
Segmentation fault (core dumped)
$ snap info cool-retro-term
name:      cool-retro-term
summary:   cool-retro-term is a terminal emulator.
publisher: Filippo Scognamiglio (flscogna)
store-url: https://snapcraft.io/cool-retro-term
contact:   flscogna@gmail.com
license:   unset
description: |
  cool-retro-term is a terminal emulator which mimics the look and feel of the old cathode tube
  screens. It has been designed to be eye-candy, customizable, and reasonably lightweight.
commands:
  - cool-retro-term
snap-id:      6d6yw8CVhAYys3Z09b4sGSwzXSWR6btg
tracking:     latest/stable
refresh-date: 2023-07-16
channels:
  latest/stable:    1.1.1 2019-03-28 (153)  92MB classic
  latest/candidate: ↑                            
  latest/beta:      ↑                            
  latest/edge:      0.24  2022-03-31 (391) 107MB -
installed:          1.1.1            (153)  92MB classic

I thought at first it's because I'm using a 2-year-old stable version, but the lastest/edge version also core dumps, albeit different dying messages

$ snap refresh cool-retro-term --channel=latest/edge
cool-retro-term (edge) 0.24 from Filippo Scognamiglio (flscogna) refreshed
$ cool-retro-term 
update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/boot /boot none bind,ro 0 0): permission denied
QXcbConnection: Could not connect to display :1
Aborted (core dumped)

This has nothing to do with permission, as it also failed with root

$ sudo cool-retro-term 
mkdir: cannot create directory '/run/user/0': Permission denied
QXcbConnection: Could not connect to display :1
Aborted

Worth mentioning again, that this is ARM64. The laptop is Thinkpad X13s with Snapdragon CPU.

Hi I self compiled from master and it works: ```` $ ./cool-retro-term Using a variable-width font in the terminal. This may cause performance degradation and display/alignment errors. Both point size and pixel size set. Using pixel size. Using a variable-width font in the terminal. This may cause performance degradation and display/alignment errors. ```` But running from snap version core dumps ```` $ /snap/bin/cool-retro-term libEGL warning: DRI2: failed to create dri screen libEGL warning: DRI2: failed to create dri screen Qt: Session management error: None of the authentication protocols specified are supported Fontconfig warning: FcPattern object weight does not accept value [0 205) Segmentation fault (core dumped) $ snap info cool-retro-term name: cool-retro-term summary: cool-retro-term is a terminal emulator. publisher: Filippo Scognamiglio (flscogna) store-url: https://snapcraft.io/cool-retro-term contact: flscogna@gmail.com license: unset description: | cool-retro-term is a terminal emulator which mimics the look and feel of the old cathode tube screens. It has been designed to be eye-candy, customizable, and reasonably lightweight. commands: - cool-retro-term snap-id: 6d6yw8CVhAYys3Z09b4sGSwzXSWR6btg tracking: latest/stable refresh-date: 2023-07-16 channels: latest/stable: 1.1.1 2019-03-28 (153) 92MB classic latest/candidate: ↑ latest/beta: ↑ latest/edge: 0.24 2022-03-31 (391) 107MB - installed: 1.1.1 (153) 92MB classic ```` I thought at first it's because I'm using a 2-year-old stable version, but the lastest/edge version also core dumps, albeit different dying messages ```` $ snap refresh cool-retro-term --channel=latest/edge cool-retro-term (edge) 0.24 from Filippo Scognamiglio (flscogna) refreshed $ cool-retro-term update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/boot /boot none bind,ro 0 0): permission denied QXcbConnection: Could not connect to display :1 Aborted (core dumped) ```` This has nothing to do with permission, as it also failed with root ```` $ sudo cool-retro-term mkdir: cannot create directory '/run/user/0': Permission denied QXcbConnection: Could not connect to display :1 Aborted ```` Worth mentioning again, that this is ARM64. The laptop is Thinkpad X13s with Snapdragon CPU.
allenhuffman commented 2024-02-06 02:51:59 +01:00 (Migrated from github.com)

Having this issue with the current/latest Pi OS (64-bit "recommended" install) and Snap install:

allenh@pi400:~ $ cool-retro-term default KB_LAYOUT_DIR: "/snap/cool-retro-term/153/usr/lib/aarch64-linux-gnu/qt5/qml/QMLTermWidget/kb-layouts" QObject::connect: No such slot Konsole::TerminalDisplay_QML_67::close() loadAllColorSchemes Both point size and pixel size set. Using pixel size. Segmentation fault

Having this issue with the current/latest Pi OS (64-bit "recommended" install) and Snap install: `allenh@pi400:~ $ cool-retro-term default KB_LAYOUT_DIR: "/snap/cool-retro-term/153/usr/lib/aarch64-linux-gnu/qt5/qml/QMLTermWidget/kb-layouts" QObject::connect: No such slot Konsole::TerminalDisplay_QML_67::close() loadAllColorSchemes Both point size and pixel size set. Using pixel size. Segmentation fault `
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/cool-retro-term#815
No description provided.