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

Linux GUI not working in d58e947 #302

Open
sztfne opened this issue Sep 9, 2023 · 25 comments
Open

Linux GUI not working in d58e947 #302

sztfne opened this issue Sep 9, 2023 · 25 comments
Labels
Bug Something isn't working

Comments

@sztfne
Copy link

sztfne commented Sep 9, 2023

Hi,

Linux GUI is not working in d58e947 which works well in a9605d2

Environment: Debian 11 Xfce

@guihkx
Copy link
Contributor

guihkx commented Sep 9, 2023

Works well here...

What exactly is not working for you anymore? Any error messages? Are you running from source or using the official binary?

@DevilXD DevilXD added the Bug Something isn't working label Sep 9, 2023
@sztfne
Copy link
Author

sztfne commented Sep 10, 2023

Works well here...

What exactly is not working for you anymore? Any error messages? Are you running from source or using the official binary?

There's no alert. From the releases page
https://github.com/DevilXD/TwitchDropsMiner/releases/download/dev-build/Twitch.Drops.Miner.Linux.zip

May I ask what source you are using?

@DevilXD
Copy link
Owner

DevilXD commented Sep 10, 2023

The latest master branch should very much work, just like before.

Please define what you mean by "there's no alert". There's no "alert" functionality in the application. Do you mean the tray notifications?

@DevilXD DevilXD added Help / Issue General or specific issues that just require some additional assistance to solve and removed Bug Something isn't working labels Sep 10, 2023
@axi92
Copy link

axi92 commented Sep 11, 2023

I always get the ui stuck after some time, but I will try the latest build and report back.
image

Edit; I have d58e947 now with -vvv and --log enabled running, reporting back if some bugs happen

@axi92
Copy link

axi92 commented Sep 11, 2023

It is stuck now, I can move the window but cant click anything, not responsive.
Cant even close the window [x] or press CTRL+C on the terminal where I started it.
Only thing to kill it is with sig 9

System:

cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"

image

That is the log:

2023-09-11 09:37:08.221:	   INFO:	Checking login
2023-09-11 09:37:08.222:	   INFO:	Restoring session from cookie
2023-09-11 09:37:09.004:	   INFO:	Login successful, user ID: ---------
2023-09-11 09:37:09.005:	   INFO:	Websocket[0] connecting...
2023-09-11 09:37:09.782:	   INFO:	Websocket[0] connected.
2023-09-11 09:37:20.368:	   CALL:	Maintenance task waiting until: 10:00:00 AM (Cleanup)
2023-09-11 09:40:49.200:	   CALL:	Channel update from websocket: 오버워치_이스포츠
2023-09-11 09:42:48.469:	   INFO:	오버워치_이스포츠 goes ONLINE
2023-09-11 09:43:38.771:	   CALL:	Channel update from websocket: OverwatchContenders
2023-09-11 09:44:08.868:	   CALL:	Channel update from websocket: playoverwatchjp
2023-09-11 09:44:39.818:	   CALL:	Channel update from websocket: OverwatchContenders
2023-09-11 09:45:26.382:	   CALL:	Channel update from websocket: OverwatchContenders
2023-09-11 09:45:39.068:	   INFO:	OverwatchContenders goes ONLINE
2023-09-11 09:46:08.053:	   INFO:	playoverwatchjp goes ONLINE
2023-09-11 09:47:33.985:	   CALL:	Channel update from websocket: playoverwatchjp
2023-09-11 09:49:34.296:	   INFO:	playoverwatchjp status has been updated (🎁: ❌ -> ❌)
2023-09-11 10:00:00.000:	   CALL:	Maintenance task requests channels cleanup
2023-09-11 10:00:00.001:	   CALL:	Maintenance task waiting until: 10:30:00 AM (Points)
2023-09-11 10:00:05.475:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 0/240)
2023-09-11 10:01:05.525:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 1/240)
2023-09-11 10:02:04.847:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 2/240)
2023-09-11 10:03:04.165:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 3/240)
2023-09-11 10:04:04.676:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 4/240)
2023-09-11 10:05:03.560:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 5/240)
2023-09-11 10:06:03.594:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 6/240)
2023-09-11 10:07:04.325:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 6/240)
2023-09-11 10:08:03.543:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 7/240)
2023-09-11 10:08:34.591:	   CALL:	Channel update from websocket: playoverwatchjp
2023-09-11 10:09:02.828:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 8/240)
2023-09-11 10:10:03.872:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 9/240)
2023-09-11 10:10:34.910:	   INFO:	playoverwatchjp status has been updated (🎁: ❌ -> ❌)
2023-09-11 10:11:01.639:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 10/240)
2023-09-11 10:12:03.197:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 11/240)
2023-09-11 10:13:01.803:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 12/240)
2023-09-11 10:14:01.999:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 13/240)
2023-09-11 10:15:01.825:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 14/240)
2023-09-11 10:16:02.341:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 15/240)
2023-09-11 10:17:02.117:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 16/240)
2023-09-11 10:18:01.408:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 17/240)
2023-09-11 10:19:01.946:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 18/240)
2023-09-11 10:20:00.801:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 19/240)
2023-09-11 10:20:59.785:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 20/240)
2023-09-11 10:22:00.372:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 21/240)
2023-09-11 10:23:00.449:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 22/240)
2023-09-11 10:23:58.635:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 23/240)
2023-09-11 10:25:00.395:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 24/240)
2023-09-11 10:25:58.939:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 25/240)
2023-09-11 10:27:00.592:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 26/240)
2023-09-11 10:27:59.739:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 27/240)
2023-09-11 10:28:59.229:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 28/240)
2023-09-11 10:29:58.706:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 29/240)
2023-09-11 10:30:00.316:	   CALL:	Maintenance task waiting until: 10:37:20 AM (Reload)
2023-09-11 10:30:58.127:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 30/240)
2023-09-11 10:31:25.310:	   CALL:	Channel update from websocket: playoverwatchjp
2023-09-11 10:31:39.423:	   CALL:	Channel update from websocket: playoverwatchjp
2023-09-11 10:31:57.464:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 31/240)
2023-09-11 10:32:57.738:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 32/240)
2023-09-11 10:33:25.617:	   INFO:	playoverwatchjp status has been updated (🎁: ❌ -> ❌)
2023-09-11 10:33:59.015:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 33/240)
2023-09-11 10:34:57.755:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 34/240)
2023-09-11 10:35:56.877:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 35/240)
2023-09-11 10:36:56.141:	   CALL:	Drop update from websocket: Drop 1 - Hanzo (Overwatch 2, 36/240)
2023-09-11 10:37:20.369:	   CALL:	Maintenance task requests a reload

@guihkx
Copy link
Contributor

guihkx commented Sep 11, 2023

The UI freeze problem is definitely new to me...

I use the Linux build pretty much daily and for long periods, and I've never experienced something like that.

May I ask what source you are using?

I meant running the app from source (as opposed to running the official binary).

I, myself, have been using my own AppImage build with no problems so far (changes are here, latest build is here).

@axi92
Copy link

axi92 commented Sep 11, 2023

Maybe it correlates with ubuntus multiple workspaces and how the ui updates when hidden?
I have it on my third workspace.

@DevilXD
Copy link
Owner

DevilXD commented Sep 11, 2023

The status bar says "Adding campaigns to i". Normally, that "i" is a part of "inventory", but something seems to be clearly broken there.
picture

This stage of reload causes the miner to fetch pictures for each campaign that's added to the Inventory tab. It seems like that part could be the cause of a hangup there. Please try deleting the "cache" folder that should be found next to the miner main.py or the executable file, and see if that helps.

@axi92
Copy link

axi92 commented Sep 12, 2023

I deleted the cache folder and it got stuck again after some hours:

image

@DevilXD DevilXD added Bug Something isn't working and removed Help / Issue General or specific issues that just require some additional assistance to solve labels Sep 12, 2023
@DevilXD
Copy link
Owner

DevilXD commented Sep 12, 2023

This has to be platform related. The status bar should be saying "inventory" in full. Have you tried running the miner from source, instead of the pre-built executable?

@axi92
Copy link

axi92 commented Sep 13, 2023

How do I run it from source? I don`t use python =)

@guihkx
Copy link
Contributor

guihkx commented Sep 13, 2023

How do I run it from source? I don`t use python =)

In a nutshell:

git clone https://github.com/DevilXD/TwitchDropsMiner.git
cd TwitchDropsMiner
python3 -m venv env
source env/bin/activate
python3 -m pip install wheel -r requirements.txt -U
python3 main.py

@axi92
Copy link

axi92 commented Sep 13, 2023

First try:

Traceback (most recent call last):
  File "/home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/pystray/_appindicator.py", line 24, in <module>
    gi.require_version('AppIndicator3', '0.1')
  File "/home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/gi/__init__.py", line 126, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace AppIndicator3 not available

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/Workspace/git/TwitchDropsMiner/main.py", line 26, in <module>
    from twitch import Twitch
  File "/home/user/Workspace/git/TwitchDropsMiner/twitch.py", line 38, in <module>
    from gui import GUIManager
  File "/home/user/Workspace/git/TwitchDropsMiner/gui.py", line 21, in <module>
    import pystray
  File "/home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/pystray/__init__.py", line 64, in <module>
    Icon = backend().Icon
  File "/home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/pystray/__init__.py", line 56, in backend
    return candidate()
  File "/home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/pystray/__init__.py", line 28, in appindicator
    from . import _appindicator as backend; return backend
  File "/home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/pystray/_appindicator.py", line 27, in <module>
    gi.require_version('AyatanaAppIndicator3', '0.1')
  File "/home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/gi/__init__.py", line 126, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace AyatanaAppIndicator3 not available

After installing sudo apt install gir1.2-ayatanaappindicator3-0.1:

Segmentation fault (core dumped)

@guihkx
Copy link
Contributor

guihkx commented Sep 13, 2023

PYSTRAY_BACKEND=gtk python3 main.py

@axi92
Copy link

axi92 commented Sep 13, 2023

Still Segmentation fault (core dumped)

Edit: The appindicator works in the bundled version

@guihkx
Copy link
Contributor

guihkx commented Sep 13, 2023

What the... o_o

Please post the output of:

coredumpctl info python3

What distro are you on, by the way?

@axi92
Copy link

axi92 commented Sep 13, 2023

The funny thing is there is no coredump available!

(env) user@pc:~/Workspace/git/TwitchDropsMiner$ ls -lha
total 444K
drwxrwxr-x  10 user user 4.0K Sep 13 13:23  .
drwxrwxr-x 109 user user 4.0K Sep 12 12:14  ..
-rw-rw-r--   1 user user  341 Sep  4 10:51  build.bat
-rw-rw-r--   1 user user 2.8K Sep  4 10:51  build.spec
drwxrwxr-x   2 user user 4.0K Sep 13 13:23  cache
-rw-rw-r--   1 user user 4.7K Sep  4 10:51  cache.py
-rw-rw-r--   1 user user  14K Sep  4 10:51  channel.py
-rw-rw-r--   1 user user  12K Sep  4 10:51  constants.py
drwxrwxr-x   5 user user 4.0K Sep  4 10:53  env
-rw-rw-r--   1 user user 2.3K Sep  4 10:51  exceptions.py
drwxrwxr-x   8 user user 4.0K Sep 13 12:40  .git
drwxrwxr-x   3 user user 4.0K Sep 13 12:40  .github
-rw-rw-r--   1 user user  198 Sep  4 10:51  .gitignore
-rw-rw-r--   1 user user  92K Sep  4 10:51  gui.py
-rw-rw-r--   1 user user  12K Sep  4 10:51  inventory.py
drwxrwxr-x   2 user user 4.0K Sep 13 12:40  lang
-rw-rw-r--   1 user user    3 Sep 13 13:33  lock.file
-rw-rw-r--   1 user user 6.8K Sep  4 10:51  main.py
-rw-rw-r--   1 user user  833 Sep  4 10:51  manual.txt
-rw-rw-r--   1 user user  612 Sep  4 10:51  pack.bat
-rw-rw-r--   1 user user  67K Sep  4 10:51  pickaxe.ico
drwxrwxr-x   2 user user 4.0K Sep 13 13:23  __pycache__
-rw-rw-r--   1 user user  11K Sep 13 12:40  README.md
-rw-rw-r--   1 user user 3.6K Sep  4 10:51  registry.py
-rw-rw-r--   1 user user  477 Sep  4 10:51  requirements.txt
-rw-rw-r--   1 user user  315 Sep  4 10:51  run_dev.bat
-rw-rw-r--   1 user user 2.6K Sep  4 10:51  settings.py
-rw-rw-r--   1 user user  684 Sep  4 10:51  setup_env.bat
-rw-rw-r--   1 user user  15K Sep  4 10:51  translate.py
drwx------   3 user user 4.0K Sep  4 11:13 'Twitch Drops Miner'
-rw-rw-r--   1 user user  77K Sep  4 10:51  twitch.py
-rw-rw-r--   1 user user  12K Sep  4 10:51  utils.py
-rw-rw-r--   1 user user   23 Sep  4 10:51  version.py
drwxrwxr-x   2 user user 4.0K Sep  4 10:51  .vscode
-rw-rw-r--   1 user user  16K Sep  4 10:51  websocket.py

Distro: Ubuntu 22.04.3 LTS

@guihkx
Copy link
Contributor

guihkx commented Sep 13, 2023

Dumps are saved in a separate directory. You could try this:

coredumpctl list
# get the PID of the last python3 crash, and then:
coredumpctl info <PID>

But I don't think it will help us much. It shouldn't be crashing with a segmentation fault, at all.

Distro: Ubuntu 22.04.3 LTS

Are you on a Wayland session? If you are, I think that could be at least related to the UI freezing thing... Check with:

echo $XDG_SESSION_TYPE

Also, can you install gir1.2-appindicator3-0.1 and then retry these steps from scratch (i.e. remove the entire TwitchDropsMiner directory)?

@axi92
Copy link

axi92 commented Sep 13, 2023

I have done all from scratch and still the same issue.
No I disabled wayland because anydesk is not working with wayland yet.

echo $XDG_SESSION_TYPE
x11

Here the dump:

           PID: 2826377 (python3)
           UID: 1000 (user)
           GID: 1000 (user)
        Signal: 11 (SEGV)
     Timestamp: Wed 2023-09-13 13:33:35 CEST (12min ago)
  Command Line: python3 main.py
    Executable: /usr/bin/python3.10
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.gnome.Terminal.slice/vte-spawn-542301dc-c9cb-43bf-9bbf-9e18b5e6d541.scope
          Unit: user@1000.service
     User Unit: vte-spawn-542301dc-c9cb-43bf-9bbf-9e18b5e6d541.scope
         Slice: user-1000.slice
     Owner UID: 1000 (user)
      Hostname: pc
       Storage: /var/lib/systemd/coredump/core.python3.1000.63c504f46081444da2d61fb42828e3dc.2826377.1694604815000000.zst (present)
     Disk Size: 6.4M
       Message: Process 2826377 (python3) of user 1000 dumped core.
                
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/Pillow.libs/libwebp-3ee34a0b.so.7.1.6 without build-id.
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/PIL/_imagingtk.cpython-310-x86_64-linux-gnu.so with build-id: 108ddc8f882c5f40842fa51fb9eb9f56dc80b625
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/Pillow.libs/libsharpyuv-9340467d.so.0.0.0 without build-id.
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/cairo/_cairo.cpython-310-x86_64-linux-gnu.so with build-id: 2c2c809714fc1df5fdd7df72274aad348385700b
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/gi/_gi.cpython-310-x86_64-linux-gnu.so with build-id: 0216f88475460a1d47dbb406e0d354ff066f4324
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/gi/_gi_cairo.cpython-310-x86_64-linux-gnu.so with build-id: 17db1c9da98aafc46b3d1540006f31d688689d18
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/aiohttp/_http_parser.cpython-310-x86_64-linux-gnu.so with build-id: 73ba8c847a2b9a32062f761ba6f0e6aa4dbc5967
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/Pillow.libs/libXau-154567c4.so.6.0.0 without build-id.
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/frozenlist/_frozenlist.cpython-310-x86_64-linux-gnu.so with build-id: 26b58319a843257cb8d27c2fa8ceaaeaa8a30e13
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/charset_normalizer/md__mypyc.cpython-310-x86_64-linux-gnu.so with build-id: 56911de9ac212b003c9762a5eb3553baffa8318f
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/aiohttp/_http_writer.cpython-310-x86_64-linux-gnu.so with build-id: 17ba852a7fc95605faf692d8567a19e02cd243c8
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/aiohttp/_helpers.cpython-310-x86_64-linux-gnu.so with build-id: a75bad6f59c0ac364650287da48b6dd2731d0145
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/Pillow.libs/liblzma-95592ee6.so.5.4.2 without build-id.
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/Pillow.libs/libxcb-3e83370d.so.1.1.0 without build-id.
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/Pillow.libs/libtiff-b9364ff1.so.6.0.0 without build-id.
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/Pillow.libs/libopenjp2-78c47f58.so.2.5.0 without build-id.
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/Pillow.libs/libjpeg-f2134fdd.so.62.3.0 without build-id.
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/PIL/_imaging.cpython-310-x86_64-linux-gnu.so with build-id: 0043c5d3aa5c84d692bcd49129899a48afdece1d
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/yarl/_quoting_c.cpython-310-x86_64-linux-gnu.so with build-id: 1a2edd3f8c0e9d80c08bdfd9cc2df72e8fd3a43f
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/Pillow.libs/libwebpdemux-785dd7eb.so.2.0.12 without build-id.
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/Pillow.libs/libwebpmux-ddfacf1d.so.3.0.11 without build-id.
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/PIL/_webp.cpython-310-x86_64-linux-gnu.so with build-id: 1d35e723b70e6e8b2aced06ff0bcee42d0b1e11c
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/charset_normalizer/md.cpython-310-x86_64-linux-gnu.so with build-id: 095aebb39eb5643a18f8e1e1e6544150d5435e3d
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/multidict/_multidict.cpython-310-x86_64-linux-gnu.so with build-id: 672f844889d6ff741b5d257d45cd522098e66c65
                Found module /home/user/Workspace/git/TwitchDropsMiner/env/lib/python3.10/site-packages/aiohttp/_websocket.cpython-310-x86_64-linux-gnu.so with build-id: cacdc0558b38f4a0d07613a3914a0cae36a27f77
                Found module linux-vdso.so.1 with build-id: d23dbe9c87de32a8fb7a3fe207b5379b1e1d457f
                Found module mmap.cpython-310-x86_64-linux-gnu.so with build-id: 51777dd78f7e23f01c151d33f557201a90dac244
                Found module libmpdec.so.3 with build-id: fd7eb4e22aa2e3cf63fb756b15bc6f0666dd202e
                Found module _decimal.cpython-310-x86_64-linux-gnu.so with build-id: cf08ed5597aea989493d2a6264608bca2a4d9ba0
                Found module _queue.cpython-310-x86_64-linux-gnu.so with build-id: fdb9e4b32d3160dae4ff09884cf76b7482f79521
                Found module libgpg-error.so.0 with build-id: 3fbec71c67bee60d8aef00697ee187079b0fb307
                Found module libgcrypt.so.20 with build-id: 60a5e524de0ed8323edf33e9eb9127a9eee02359
                Found module libcap.so.2 with build-id: b4bf900abf14aabe12d90988ceb30888acb2bcb0
                Found module liblz4.so.1 with build-id: a85971851cd059f1af80d553c8e7170d42ec59a1
                Found module libzstd.so.1 with build-id: 5d9d0d946a3154a748e87e17af9d14764519237b
                Found module libsystemd.so.0 with build-id: 75127719050b94774f76b6d153ad298b35f7a5f7
                Found module libatspi.so.0 with build-id: 2843c68233d5ba81da3d6bc31422e49472873dba
                Found module libdbus-1.so.3 with build-id: 63e8b99215502138cb63afd6d65851a5e837ed49
                Found module libatk-bridge-2.0.so.0 with build-id: 7e8009077fbdcd7bf094c51bf78742b96f216d73
                Found module libatk-1.0.so.0 with build-id: b93088667fbd06f6b72d273403d352e7c0554698
                Found module libgtk-3.so.0 with build-id: 9a340345f5e200f42140f3cb4bacb407e91843f8
                Found module libpangoft2-1.0.so.0 with build-id: fc7f13d8298f5e10fb1acbaa5472ec8b6fbf2bd9
                Found module libepoxy.so.0 with build-id: 5ea53a2b100e4b044eee19d5222881a724abf046
                Found module libwayland-client.so.0 with build-id: a85980f4efa33fa5cadfbf257349fef99d499427
                Found module libwayland-egl.so.1 with build-id: e13dfac5961e8fb58c54984fe8110a73c2f5ef99
                Found module libwayland-cursor.so.0 with build-id: abcd1ab467757354ac36fd0938b82d47d7aebe1f
                Found module libxkbcommon.so.0 with build-id: a4b17d939092101dc8f6b2a1d70eaf1fddb2dd51
                Found module libXfixes.so.3 with build-id: a9c550a40b8154a3b4b5e2ac182bb50c013c3f18
                Found module libXdamage.so.1 with build-id: 8358b7625700dc247fa21fb4304cba877a28bb04
                Found module libXcomposite.so.1 with build-id: 2c84db5342304ba1a76db7dd9b7a3bfaa8a716ce
                Found module libXcursor.so.1 with build-id: d936a5db46d8babb0f2cc490df36b6b18a16d8aa
                Found module libXrandr.so.2 with build-id: 069f930a2b41f3908a1a92b1a51c38bd13a559e2
                Found module libXi.so.6 with build-id: 8ff5a3ac871a90fd9d0a7917c61f748a41c6b5ee
                Found module libXinerama.so.1 with build-id: 9823bebfa26a681265db4aeb09abf44deec38401
                Found module libpangocairo-1.0.so.0 with build-id: 65987e60b791e0eb6231575b8d5cfd33a6379b22
                Found module libgdk-3.so.0 with build-id: 97b768ef80858a79741be2492754d948989e63c6
                Found module libjpeg.so.8 with build-id: c54abff9294357e28532a76a049a4cb2542fc15b
                Found module libgdk_pixbuf-2.0.so.0 with build-id: 374b383e3b68b5d8b552519094129f401596e502
                Found module libgraphite2.so.3 with build-id: 5ffbc76fc948f6b88d766a7210c2e6a329a6c278
                Found module libdatrie.so.1 with build-id: 128b6874a47f2b783d9e9060d3caaee4110bfd3d
                Found module libharfbuzz.so.0 with build-id: 3b9c495c079286b8d1f55d0937a0a771593eb7e6
                Found module libthai.so.0 with build-id: afa54530349e68380815d606d15dbfda8952799f
                Found module libfribidi.so.0 with build-id: 6e075a666e1da8ffdb948d734e75d82b1b6dc0fb
                Found module libpango-1.0.so.0 with build-id: 42c8896c53d9d22dc73ba7a78b326d61f34e4442
                Found module libxcb-render.so.0 with build-id: cb521131fd3b0f2ee6056cbc2014b3b8ef0d5c0e
                Found module libxcb-shm.so.0 with build-id: edb24ef4079aa423edcc50a3bb0dfb912fe8a57a
                Found module libpixman-1.so.0 with build-id: 5e936cdac032b6048d9d1a8c0bb0e4a10c86d48c
                Found module libcairo-gobject.so.2 with build-id: 71b5bd37d77ea1862d2ed00e9f6ead482f307db8
                Found module libcairo.so.2 with build-id: 60a39c3684e41370bd0a59ed1ecbdccf47e30069
                Found module libpcre2-8.so.0 with build-id: 184a841c55fb7fe5e3873fcda8368c71016cd54c
                Found module libblkid.so.1 with build-id: cdf95a964e3302bb356fefc4b801fae8c4340b31
                Found module libselinux.so.1 with build-id: 6fa53202ce676297de24873c886443b2759bfd8a
                Found module libmount.so.1 with build-id: eeb33f2b4b9c3eb0a29575eb9932ef08663bd836
                Found module libgio-2.0.so.0 with build-id: 07bd46a1bb58e321e6aabc67135d054e6b78069d
                Found module libgmodule-2.0.so.0 with build-id: 8b369a368c3070d179ddf64724ffc229c3f214b5
                Found module libpcre.so.3 with build-id: 3982f316c887e3ad9598015fa5bae8557320476a
                Found module libgirepository-1.0.so.1 with build-id: 6f812440d4add17778e4134f2b1dd4c73f5abb78
                Found module libgobject-2.0.so.0 with build-id: 7c47809b4e688382aab4127a2e07496450c5e6b0
                Found module libglib-2.0.so.0 with build-id: c74e800dfd5f72649d673b44292f4a817e45150b
                Found module libffi.so.8 with build-id: 59c2a6b204f74f358ca7711d2dfd349d88711f6a
                Found module _ctypes.cpython-310-x86_64-linux-gnu.so with build-id: 4e61e276e869f82dbaa2621d1a7e38095821c35c
                Found module _multibytecodec.cpython-310-x86_64-linux-gnu.so with build-id: c993e58205f2d0d9f0c232cb7e23bce46ca0fae2
                Found module _uuid.cpython-310-x86_64-linux-gnu.so with build-id: 3852ac280ddf5ea525daaf32d36d693dc382d0c9
                Found module _hashlib.cpython-310-x86_64-linux-gnu.so with build-id: 7c505da5c678f452b06d5f373540228a4c2f8461
                Found module libpthread.so.0 with build-id: e62798b68557abb4bc5548aba2640cd5ab948f36
                Found module liblzma.so.5 with build-id: b85da6c48eb60a646615392559483b93617ef265
                Found module _lzma.cpython-310-x86_64-linux-gnu.so with build-id: b837ddb0044a4a7a6ed33e06980f93d4d612cf46
                Found module libbz2.so.1.0 with build-id: e56b62c27bcc7ace8f9be36b255bd7b31bfde405
                Found module _bz2.cpython-310-x86_64-linux-gnu.so with build-id: 056500a76995fc728231a87aab88c20f7424eecb
                Found module _json.cpython-310-x86_64-linux-gnu.so with build-id: 136a5fff693b51858c6eccfab65f0f1c792cf230
                Found module libmd.so.0 with build-id: cd2d2f71b3967ebde30e2aa43b8eb63339020c06
                Found module libbrotlicommon.so.1 with build-id: 43a72967cf84155914c8b3e915926733d1e57c11
                Found module libbsd.so.0 with build-id: 9a6c72469251e2feb63e175ef5cb944ce6e00df3
                Found module libbrotlidec.so.1 with build-id: 4b1f390dd6e24d49684db8b2443d082379e8e977
                Found module libpng16.so.16 with build-id: d58bf7c11ac793d528926238d831792b5ef792cf
                Found module libXdmcp.so.6 with build-id: 6b60f99504aa1d3999ea02a14366d1a39d6c5dcf
                Found module libXau.so.6 with build-id: 7089b383cacbfc1760634a3be19a923e51fe3315
                Found module libXext.so.6 with build-id: 9fb1880e02dfa11a8c39cd1a170109de08302059
                Found module libuuid.so.1 with build-id: 64c0d0cb22fa2bdeca075a0c0418ba5ff314b220
                Found module libXrender.so.1 with build-id: 7ccbfa4c24e93c42fa50dd2e42fa277630f9650c
                Found module libfreetype.so.6 with build-id: bc6c65a19e6f75fea5e74a7fd6c0b91182e1a8b0
                Found module libxcb.so.1 with build-id: 1bef862a339557aa16c34c7a4b27f8f3aea90517
                Found module libXss.so.1 with build-id: 0c9b56230c8f1e18e35c40fc8d69756fdf98424f
                Found module libfontconfig.so.1 with build-id: 0bb435fdd5ec37178e14ea03bb36f779a4b72a94
                Found module libXft.so.2 with build-id: 80f7dead93e7eddf4fb18c4953696c387051565c
                Found module libX11.so.6 with build-id: d1d3345a252a40a004cbd02011a651930e172ccd
                Found module libtcl8.6.so with build-id: 916dff5dad508fae0ecb6f5ad1f7afe65c294936
                Found module libtk8.6.so with build-id: fb81111e6d7653a89d36b413424da5667c5274d7
                Found module libBLT.2.5.so.8.6 with build-id: ac7d53dc76cf78539ede047fb0b62be5fb93d4e0
                Found module _tkinter.cpython-310-x86_64-linux-gnu.so with build-id: 2374adc28ebb64d21919c14a091e83440512cca3
                Found module _asyncio.cpython-310-x86_64-linux-gnu.so with build-id: 1ea3ac0267d18e4e43afa7f83b2e03dad95b08a6
                Found module _contextvars.cpython-310-x86_64-linux-gnu.so with build-id: 60c512f7955500ce605fadb431cc05b1269601a0
                Found module _opcode.cpython-310-x86_64-linux-gnu.so with build-id: 0ba7cac29d06fd5104a540af00a93a30cba091ce
                Found module libcrypto.so.3 with build-id: af9d9ce956e6c1589bc9ceeb36c8c693efca776a
                Found module libssl.so.3 with build-id: d446981dff1f3145f840061033c31b078d5880ab
                Found module _ssl.cpython-310-x86_64-linux-gnu.so with build-id: c0002678c23420b6d094926d36735a9e592e17c9
                Found module ld-linux-x86-64.so.2 with build-id: 61ef896a699bb1c2e4e231642b2e1688b2f1a61e
                Found module libc.so.6 with build-id: 69389d485a9793dbe873f0ea2c93e02efaa9aa3d
                Found module libz.so.1 with build-id: 30840b79ac329ecbf1dec0bb60180eed256d319f
                Found module libexpat.so.1 with build-id: d212d1f61d04a1e60fccad1a8c118428cfd9be42
                Found module libm.so.6 with build-id: 27e82301dba6c3f644404d504e1bb1c97894b433
                Found module python3.10 with build-id: 8df1c7df42f40a5fa606666db1b65c8d9a4ddfe4
                Stack trace of thread 2826377:
                #0  0x00007f6daea64f0d Tk_FreeFont (libtk8.6.so + 0x4bf0d)
                #1  0x00007f6daea641a9 n/a (libtk8.6.so + 0x4b1a9)
                #2  0x00007f6dae8a5d32 TclNRRunCallbacks (libtcl8.6.so + 0x3cd32)
                #3  0x00007f6daf7fa6e7 n/a (_tkinter.cpython-310-x86_64-linux-gnu.so + 0xb6e7)
                #4  0x0000562106897e38 n/a (python3.10 + 0x15fe38)
                #5  0x00005621068a712b PyObject_Call (python3.10 + 0x16f12b)
                #6  0x00005621068832c1 _PyEval_EvalFrameDefault (python3.10 + 0x14b2c1)
                #7  0x000056210689870c _PyFunction_Vectorcall (python3.10 + 0x16070c)
                #8  0x0000562106880f52 _PyEval_EvalFrameDefault (python3.10 + 0x148f52)
                #9  0x000056210689870c _PyFunction_Vectorcall (python3.10 + 0x16070c)
                #10 0x0000562106880f52 _PyEval_EvalFrameDefault (python3.10 + 0x148f52)
                #11 0x00005621068b5552 n/a (python3.10 + 0x17d552)
                #12 0x00005621068bf471 n/a (python3.10 + 0x187471)
                #13 0x0000562106897e0e n/a (python3.10 + 0x15fe0e)
                #14 0x000056210688e5eb _PyObject_MakeTpCall (python3.10 + 0x1565eb)
                #15 0x0000562106887908 _PyEval_EvalFrameDefault (python3.10 + 0x14f908)
                #16 0x00005621068a64e1 n/a (python3.10 + 0x16e4e1)
                #17 0x00005621068820d1 _PyEval_EvalFrameDefault (python3.10 + 0x14a0d1)
                #18 0x000056210688d784 _PyObject_FastCallDictTstate (python3.10 + 0x155784)
                #19 0x00005621068a2744 n/a (python3.10 + 0x16a744)
                #20 0x000056210688e58c _PyObject_MakeTpCall (python3.10 + 0x15658c)
                #21 0x0000562106886c66 _PyEval_EvalFrameDefault (python3.10 + 0x14ec66)
                #22 0x000056210688d784 _PyObject_FastCallDictTstate (python3.10 + 0x155784)
                #23 0x00005621068a2744 n/a (python3.10 + 0x16a744)
                #24 0x000056210688e58c _PyObject_MakeTpCall (python3.10 + 0x15658c)
                #25 0x0000562106886c66 _PyEval_EvalFrameDefault (python3.10 + 0x14ec66)
                #26 0x000056210688d784 _PyObject_FastCallDictTstate (python3.10 + 0x155784)
                #27 0x00005621068a2744 n/a (python3.10 + 0x16a744)
                #28 0x000056210688e58c _PyObject_MakeTpCall (python3.10 + 0x15658c)
                #29 0x0000562106886c66 _PyEval_EvalFrameDefault (python3.10 + 0x14ec66)
                #30 0x00005621068b5880 n/a (python3.10 + 0x17d880)
                #31 0x00007f6db023528e n/a (_asyncio.cpython-310-x86_64-linux-gnu.so + 0x928e)
                #32 0x00007f6db02350a4 n/a (_asyncio.cpython-310-x86_64-linux-gnu.so + 0x90a4)
                #33 0x000056210688e5eb _PyObject_MakeTpCall (python3.10 + 0x1565eb)
                #34 0x00005621069ed2a2 n/a (python3.10 + 0x2b52a2)
                #35 0x000056210688b50b n/a (python3.10 + 0x15350b)
                #36 0x00005621068832c1 _PyEval_EvalFrameDefault (python3.10 + 0x14b2c1)
                #37 0x000056210689870c _PyFunction_Vectorcall (python3.10 + 0x16070c)
                #38 0x0000562106880f52 _PyEval_EvalFrameDefault (python3.10 + 0x148f52)
                #39 0x000056210689870c _PyFunction_Vectorcall (python3.10 + 0x16070c)
                #40 0x0000562106880f52 _PyEval_EvalFrameDefault (python3.10 + 0x148f52)
                #41 0x000056210689870c _PyFunction_Vectorcall (python3.10 + 0x16070c)
                #42 0x0000562106880f52 _PyEval_EvalFrameDefault (python3.10 + 0x148f52)
                #43 0x000056210689870c _PyFunction_Vectorcall (python3.10 + 0x16070c)
                #44 0x0000562106880f52 _PyEval_EvalFrameDefault (python3.10 + 0x148f52)
                #45 0x000056210689870c _PyFunction_Vectorcall (python3.10 + 0x16070c)
                #46 0x00005621068868a2 _PyEval_EvalFrameDefault (python3.10 + 0x14e8a2)
                #47 0x0000562106971e56 n/a (python3.10 + 0x239e56)
                #48 0x0000562106971cf6 PyEval_EvalCode (python3.10 + 0x239cf6)
                #49 0x000056210699c7d8 n/a (python3.10 + 0x2647d8)
                #50 0x00005621069960bb n/a (python3.10 + 0x25e0bb)
                #51 0x000056210699c525 n/a (python3.10 + 0x264525)
                #52 0x000056210699ba08 _PyRun_SimpleFileObject (python3.10 + 0x263a08)
                #53 0x000056210699b653 _PyRun_AnyFileObject (python3.10 + 0x263653)
                #54 0x000056210698e41e Py_RunMain (python3.10 + 0x25641e)
                #55 0x0000562106964cad Py_BytesMain (python3.10 + 0x22ccad)
                #56 0x00007f6db0029d90 __libc_start_call_main (libc.so.6 + 0x29d90)
                #57 0x00007f6db0029e40 __libc_start_main_impl (libc.so.6 + 0x29e40)
                #58 0x0000562106964ba5 _start (python3.10 + 0x22cba5)
                
                Stack trace of thread 2826378:
                #0  0x00007f6db011b7ed __GI___select (libc.so.6 + 0x11b7ed)
                #1  0x00007f6dae9a7814 n/a (libtcl8.6.so + 0x13e814)
                #2  0x00007f6db0094b43 start_thread (libc.so.6 + 0x94b43)
                #3  0x00007f6db0126a00 __clone3 (libc.so.6 + 0x126a00)

@guihkx
Copy link
Contributor

guihkx commented Sep 13, 2023

Thanks. The first frame of the backtrace might indicate a font-related issue.

I've also had a similar crash in the past, which was basically caused by having an emoji font installed. This one is probably unrelated, though.

Anyway, for now I have no clue what the problem is exactly, but I'll try to set up an Ubuntu 22.04 virtual machine to look into this better.

@DevilXD
Copy link
Owner

DevilXD commented Sep 13, 2023

This looks like quite a wild Linux-related ride. Thank you @guihkx for taking care of this one 🙂

@guihkx
Copy link
Contributor

guihkx commented Sep 13, 2023

I was able to reproduce the crash on Ubuntu 22.04 when running from source as well.

It turns out this is, once again, related to the bad handling of emoji fonts by libXft. :(

As I said in my other post from months ago, this has been fixed in libXft 2.3.5, but unfortunately Ubuntu 22.04 still uses 2.3.4.

@axi92 Can you install ttf-ancient-fonts-symbola and see if at least the crash goes away?

If you're an advanced Linux user, another alternative would be manually building and installing the latest version of libXft.

@axi92
Copy link

axi92 commented Sep 14, 2023

Symbold look different after installing ttf-ancient-fonts-symbola i'll report back if it keeps running smooth for longer =)
And run from source now works as well.
image

Edit: After 10min the ui got stuck again.

@guihkx
Copy link
Contributor

guihkx commented Sep 15, 2023

And run from source now works as well.

Nice to hear!

Edit: After 10min the ui got stuck again.

That's unfortunate... :/

In the meantime, you can try running the Windows version through Wine. It's actually what I used to do before Linux support got better, and surprisingly it worked pretty damn good.

@bmbeverst
Copy link

bmbeverst commented Oct 29, 2023

No issues with KDE Manjaro on the latest build, bb51bf7.

I did install the fonts but just for the look, yay -S ttf-ancient-fonts.

Operating System: Manjaro Linux
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11
Kernel Version: 6.1.55-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1080/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C91
System Version: 2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants