headlamp-k8s / headlamp

A Kubernetes web UI that is fully-featured, user-friendly and extensible
https://headlamp.dev
Apache License 2.0
2.22k stars 156 forks source link

Blank when running on Linux 64-bit #232

Closed kokizzu closed 3 years ago

kokizzu commented 3 years ago

Description

running the AppImage, shows a blank window with logs:

20:34:28.837 › App starting...
Checking for update
20:34:29.270 › Sending status to window: Checking for update...
../../third_party/tcmalloc/chromium/src/free_list.cc:135] Memory corruption detected. 
20:34:29.454 › server process stdout: *** Headlamp Server ***
  API Routers:
        localhost:4466/clusters/kis@kubernetes/{api...} -> https://xy-kubernetes:6443

20:34:29.455 › server process stderr: 2021/03/30 20:34:29 plugins-dir: /home/k_xy/.config/Headlamp/plugins

../../third_party/tcmalloc/chromium/src/free_list.cc:135] Memory corruption detected. 
../../third_party/tcmalloc/chromium/src/free_list.cc:135] Memory corruption detected. 
Update for version 0.3.0-beta1 is not available (latest version: 0.3.0-beta1, downgrade is disallowed).
20:34:30.498 › Sending status to window: Update not available.
checkForUpdatesAndNotify called, downloadPromise is null
20:34:34.929 › stopping server process...

Impact

can't use this program

Environment and steps to reproduce

  1. Set-up: download ./Headlamp-0.3.0-beta1-linux-x64.AppImage from release page
  2. Task: just opening the program
  3. Action(s): -
  4. Error: as above

Expected behavior no error

Additional information Linux G4560 5.4.0-51-generic #56-Ubuntu SMP Mon Oct 5 14:28:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

illume commented 3 years ago

Hi,

Thanks for your report. Looks like it's crashing inside Chromium somewhere.

I wonder what Ubuntu version you're running? (I'm running Ubuntu 20.10 without a crash.)

lsb_release -a

I've a patch coming for running Headlamp without GPU support - which has caused crashes for me when running Ubuntu inside Virtualbox. But perhaps this is a different cause.

kokizzu commented 3 years ago
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal
illume commented 3 years ago

Hello,

I haven't been able to reproduce this yet. There are two options you could try to work around it however.

The first is you can run the headlamp app with the GUI inside the browser:

headlamp --headless

The second runs without GPU enabled (only in Headlamp 0.3.0):

headlamp --disable-gpu
joaquimrocha commented 3 years ago

Hi @kokizzu ,

This week we've published Headlamp as a Flatpak too. Can you check whether running it as a flatpak helps you get to the UI?

kokizzu commented 3 years ago

image

joaquimrocha commented 3 years ago

@kokizzu , you may need to install Flatpak on Ubuntu before: https://flatpak.org/setup/Ubuntu/

joaquimrocha commented 3 years ago

I am closing this issue since there has been no further feedback, and in our tests in Ubuntu things have been working correctly. @kokizzu , if you're still experiencing this, please reopen and provide more details.