termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
12.98k stars 2.98k forks source link

[Bug]: xournalpp: Icon 'image-missing' not present in theme Adwaita (gtk-icon-theme-error-quark, 0) #17654

Open rhjdvsgsgks opened 1 year ago

rhjdvsgsgks commented 1 year ago

Problem description

when launching xournalpp:

Gtk:ERROR:../src/gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Icon 'image-missing' not present in theme Adwaita (gtk-icon-theme-error-quark, 0)
Bail out! Gtk:ERROR:../src/gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Icon 'image-missing' not present in theme Adwaita (gtk-icon-theme-error-quark, 0)

and then it Crashed with signal 6

i think it may caused by https://github.com/xournalpp/xournalpp/pull/4544 . but after bump to 1.2.0. it will still crash

What steps will reproduce the bug?

install xournalpp. launch it

What is the expected behavior?

not crash

System information

termux-info:

Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=pacman
TERMUX_APP_PID=3490
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=pacman
TERMUX_VERSION=0.118.0
Packages CPU architecture:
aarch64
Subscribed repositories:
# /data/data/com.termux/files/usr/etc/pacman.conf
[main]
Usage = All
Server = https://service.termux-pacman.dev/main/aarch64
Server = https://s3.amazonaws.com/termux-pacman.us/main/aarch64
[x11]
Usage = All
Server = https://service.termux-pacman.dev/x11/aarch64
Server = https://s3.amazonaws.com/termux-pacman.us/x11/aarch64
[root]
Usage = All
Server = https://service.termux-pacman.dev/root/aarch64
Server = https://s3.amazonaws.com/termux-pacman.us/root/aarch64
[tur]
Usage = All
Server = https://service.termux-pacman.dev/tur/aarch64
Server = https://s3.amazonaws.com/termux-pacman.us/tur/aarch64
[tur-continuous]
Usage = All
Server = https://service.termux-pacman.dev/tur-continuous/aarch64
Server = https://s3.amazonaws.com/termux-pacman.us/tur-continuous/aarch64
[tur-multilib]
Usage = All
Server = https://service.termux-pacman.dev/tur-multilib/aarch64
Server = https://s3.amazonaws.com/termux-pacman.us/tur-multilib/aarch64
[gpkg-dev]
Usage = All
Server = https://service.termux-pacman.dev/gpkg-dev/aarch64
Server = https://s3.amazonaws.com/termux-pacman.us/gpkg-dev/aarch64
Updatable packages:
All packages up to date
termux-tools version:
1.38.5
Android version:
11
Kernel build information:
Linux localhost 4.14.xxx
Device manufacturer:
xxx
Device model:
xxx
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.api versionCode:51
com.termux.x11 versionCode:14
licy183 commented 1 year ago

I can't reproduce it on my device...

rhjdvsgsgks commented 1 year ago

I can't reproduce it on my device...

could you please list all your package? so that i can check maybe something i missed

gborzi22 commented 1 year ago

I have the same problem on my 32-bit arm tablet. Besides the termux-info output I'm attaching xournalpp's error log and the list of installed packages. txinfo.txt errorlog.20230905-212728.log list.txt

gborzi22 commented 1 year ago

I've found a sort of fix for xournalpp. I copied the /usr/share/icons/gnome directory from my computer to the tablet where I've installed termux. Now xournalpp opens and works. But there are two problems:

  1. No icons in the toolbar, perhaps it is not correctly linked to librsvg. The error message says that a .svg icon is unreadable.
  2. It crashes when the Preferences entry is selected in the menu.
truboxl commented 8 months ago

Confirmed reproducible on pacman environment. But I don't think I will look into it near term. Suggest @Maxython to look at it.

Maxython commented 8 months ago

Confirmed reproducible on pacman environment. But I don't think I will look into it near term. Suggest @Maxython to look at it.

xournalpp from pacman works completely, so this is not a problem in the pacman environment.

@rhjdvsgsgks try reinstalling the package

truboxl commented 8 months ago

Screenshot_2024-01-05-06-52-58-736_com termux This cannot be reproduced on apt. Check again.