nicolargo / glances

Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS and Windows operating systems.
http://nicolargo.github.io/glances/
Other
25.75k stars 1.47k forks source link

"Bus access error" on "glances -w" #2821

Open bcutter opened 1 month ago

bcutter commented 1 month ago

Describe the bug 32 bit OS and 64 bit kernel results in Bus-Zugriffsfehler ("bus access error") when running glances -w. Was working fine before with 32 bit kernel, after switching to 64 bit kernel web refuses to start.

To Reproduce Steps to reproduce the behavior:

  1. Start Glances with the following options '-w'
  2. See error
Glances Web User Interface started on http://0.0.0.0:61208/
INFO:     Started server process [13762]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:61208 (Press CTRL+C to quit)
Bus-Zugriffsfehler

Expected behavior start web itnerface

Screenshots

Environement (please complete the following information)

Additional context

You can also pastebin:

nicolargo commented 1 month ago

Any relevant message in the Glances log file ? (/home/pi/.local/share/glances/glances.log)

bcutter commented 1 month ago

No:

2024-06-08 19:50:21,050 -- INFO -- Start Glances 4.0.8
2024-06-08 19:50:21,052 -- INFO -- CPython 3.9.2 (/usr/bin/python3) and psutil 5.9.8 detected
2024-06-08 19:50:23,914 -- INFO -- Start GlancesWebServer mode
2024-06-08 19:50:23,966 -- WARNING -- Missing Python Lib (No module named 'pynvml'), Nvidia GPU plugin is disabled
2024-06-08 19:50:23,974 -- WARNING -- Missing Python Lib (No module named 'netifaces'), IP plugin is disabled
2024-06-08 19:50:23,980 -- WARNING -- Sparklines module not found (No module named 'sparklines')
2024-06-08 19:50:23,995 -- WARNING -- Missing Python Lib (No module named 'pymdstat'), Raid plugin is disabled
2024-06-08 19:50:24,360 -- WARNING -- Missing Python Lib (No module named 'pySMART'), HDD Smart plugin is disabled
2024-06-08 19:50:24,366 -- WARNING -- Error loading Docker deps Lib. Docker plugin is disabled (No module named 'docker')
2024-06-08 19:50:24,368 -- WARNING -- Error loading Podman deps Lib. Podman feature in the Containers plugin is disabled (No module named 'podman')
2024-06-08 19:50:24,961 -- INFO -- Glances RESTful API Server started on http://0.0.0.0:61208/api/4
2024-06-08 19:50:24,963 -- INFO -- Get WebUI in /home/pi/.local/lib/python3.9/site-packages/glances/outputs/static/public
2024-06-08 19:50:24,963 -- INFO -- Glances Web User Interface started on http://0.0.0.0:61208/

But I have to update my description: the error only occurs one a web browser actually tries to access glances (on http://0.0.0.0:61208), then the error is thrown immediately (visible on the console, not logged) and glances crashes.