surrealdb / surrealist

Surrealist is the ultimate way to visually manage your SurrealDB database
https://surrealist.app/
MIT License
1.07k stars 82 forks source link

Bug: blank screen on database connect after OS update #424

Open simeonnv opened 1 week ago

simeonnv commented 1 week ago

Describe the bug

surrealist runs normally till i try to connect to my server. the screen goes blank and the console stops outputing

Steps to reproduce

im on linux mint fresh out of the box im using WEBKIT_DISABLE_DMABUF_RENDERER=1 surrealist to run it

Expected behaviour

i connect to my database and surrealist stops responding to my mouse and clicks and after some time it goes blank

the console output is https://pastebin.com/BUSEv10T

Surrealist Environment

surrealist v3.0.0-beta.2 or v2.1.6 (these are the ones i tried)

Additional info

this bug started to occur after a linux mint update

shadowInvert commented 1 week ago

Sorry, my English isn’t very good.

Describe the bug

surrealist runs normally till i try to connect to my server. the screen goes blank and the console stops outputing

Steps to reproduce

I’m ubuntu on wsl2 im using WEBKIT_DISABLE_DMABUF_RENDERER=1

Surrealist Environment

surrealist v2.1.5

Additional info

this bug started to occur after In the query input field of Surrealist, I entered the following query: update register:xxxxxxxxx set attention += 'new-email@example.com'; This query was successful and could be confirmed on the results screen.

What I tried to do to solve it

Updated from ver2.1.5 to ver2.1.6 Delete Surrealist ver2.1.6 and reinstall it.

macjuul commented 1 week ago

@simeonnv @shadowInvert Could you check if the developer console contains any errors or other hints as to what could be causing this?

simeonnv commented 1 week ago

the developer console also freezes up the whole program goes black the best i can do is send the logs from $HOME/.config/SurrealDB/Surrealist/logs https://pastebin.com/nxBaWaxa

anmwinter commented 1 week ago

I am having similar issue with 2.16 and 3.0 beta on Pop_OS.

For 2.16 when I run surrealist at the command line or launch through the app it give the white screen of doom.

3.0 shows me this image

but when I click on Create Connection or Open the Sandbox it's back to the white screen after closed out the non responding windows.

macjuul commented 1 week ago

Just for confirmation here, the latest stable release (2.1.6) was working correctly, however it suddenly stopped working after an operating system update?

Mauge9638 commented 1 week ago

Just for confirmation here, the latest stable release (2.1.6) was working correctly, however it suddenly stopped working after an operating system update?

I don't know about the others, but yes that's what happened to me, had an update on Ubuntu 24.04 yesterday, and now it doesn't work. (Same issues as stated by the others)

simeonnv commented 1 week ago

Just for confirmation here, the latest stable release (2.1.6) was working correctly, however it suddenly stopped working after an operating system update?

no it doesn't. I tried it

macjuul commented 1 week ago

Is this happening with the .deb, .rpm, or .AppImage installers?

If deb or rpm was used, would it be possible to try the AppImage instead?

anmwinter commented 1 week ago

For me it's with the .deb files. I'll try the AppImage.

anmwinter commented 1 week ago

For 2.16 the AppImage runs fine on Pop_OS/Ubuntu but not the .deb. 3.0 beta 2 AppImage loads but when you select Connect it hangs and then you get the white screen of doom. 3.0 beta 1 AppImage works just fine but it's not as pretty as beta 2.

simeonnv commented 1 week ago

appimage 2.1.6 works fine on mint

shadowInvert commented 1 week ago

I think I was using version 2.1.5.But it may have been downloaded automatically The situation where this happened to me was when I tried adding an array to a field in the Surrealist command line, checked it, and then launched Surrealist again about 10 minutes later.

For me it's with the .deb files.

This is the state of the system when Surrealist was launched.

Expand ``` journalctl -xe 9月 11 19:24:08 SHADOW kernel: Code: 41 89 c5 41 f7 dd eb 80 66 0f 1f 44 00 00 b8 ba 00 00 00 0f 0> 9月 11 19:24:08 SHADOW kernel: RSP: 002b:00007ee79c7f3100 EFLAGS: 00000246 ORIG_RAX: 0000000000000> 9月 11 19:24:08 SHADOW kernel: RAX: 0000000000000000 RBX: 00007ee79c7fc640 RCX: 00007f002980d9fc 9月 11 19:24:08 SHADOW kernel: RDX: 0000000000000006 RSI: 0000000000003fc0 RDI: 0000000000003f9d 9月 11 19:24:08 SHADOW kernel: RBP: 0000000000003fc0 R08: 00007ee79c7f31d0 R09: 00007ee79c7f3300 9月 11 19:24:08 SHADOW kernel: R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000006 9月 11 19:24:08 SHADOW kernel: R13: 0000000000000016 R14: 00000000000000ff R15: 00007ee79c7f4770 9月 11 19:24:08 SHADOW kernel: FS: 00007ee79c7fc640 GS: 0000000000000000 9月 11 19:25:54 SHADOW kernel: misc dxg: dxgk: dxgkio_is_feature_enabled: Ioctl failed: -22 9月 11 19:25:54 SHADOW kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22 9月 11 19:25:54 SHADOW kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22 9月 11 19:25:54 SHADOW kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22 9月 11 19:25:54 SHADOW kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -2 9月 11 19:25:54 SHADOW kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22 9月 11 19:25:54 SHADOW kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22 9月 11 19:25:54 SHADOW kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22 9月 11 19:25:54 SHADOW kernel: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -2 9月 11 19:25:54 SHADOW rtkit-daemon[373]: Supervising 0 threads of 0 processes of 0 users. 9月 11 19:25:54 SHADOW kernel: potentially unexpected fatal signal 6. 9月 11 19:25:54 SHADOW kernel: CPU: 8 PID: 20101 Comm: t Helper Thread Not tainted 5.15.153.1-micr> 9月 11 19:25:54 SHADOW kernel: RIP: 0033:0x7f167e4a29fc 9月 11 19:25:54 SHADOW kernel: Code: 41 89 c5 41 f7 dd eb 80 66 0f 1f 44 00 00 b8 ba 00 00 00 0f 0> 9月 11 19:25:54 SHADOW kernel: RSP: 002b:00007f15eeff0100 EFLAGS: 00000246 ORIG_RAX: 0000000000000> 9月 11 19:25:54 SHADOW kernel: RAX: 0000000000000000 RBX: 00007f15eeff9640 RCX: 00007f167e4a29fc 9月 11 19:25:54 SHADOW kernel: RDX: 0000000000000006 RSI: 0000000000004210 RDI: 00000000000041e9 9月 11 19:25:54 SHADOW kernel: RBP: 0000000000004210 R08: 00007f15eeff01d0 R09: 00007f15eeff0300 9月 11 19:25:54 SHADOW kernel: R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000006 9月 11 19:25:54 SHADOW kernel: R13: 0000000000000016 R14: 00000000000000ff R15: 00007f15eeff1770 9月 11 19:25:54 SHADOW kernel: FS: 00007f15eeff9640 GS: 0000000000000000 ```
Mauge9638 commented 1 week ago

Appimage 3.0 beta 1 works fine on ubuntu 24.04 (haven't tried others)

ansarizafar commented 5 days ago

Appimage 3.0 beta 1 works fine on ubuntu 22.04 with SurrealDB 2.0 but appimage 3.0 beta 2 shows blank screen when I try to connect to the database.

dayo777 commented 4 days ago

I am on Ubuntu 24.04.1, and can confirm this same issue. After updating from 24.04, surrealist stopped working.

The App opens but just goes blank. I uninstalled Surrealist & reinstalled but still experiencing the issue.

simeonnv commented 2 days ago

all versions of surrealist after 2.1.6 has this issue even with the appimages. and on versions past 3.0.0 beta 2 it seems to be worse bc it wont even load a visual.

macjuul commented 2 days ago

Hey everyone, we certainly noticed the significance of this issue and are continuing to look for a solution. We cannot reproduce this issue internally with the devices to our disposal, which has not made it trivial to debug. Additionally the circumstances causing this issue appear to vary greatly, making it additionally difficult to pin down. What we do know is that it only affects Linux devices.

To move things forward I have some additional questions I would like to gather feedback on.

Hopefully additional insight might lead us closer to the root cause so we can fix this. Thank you all for your help and patience!

dayo777 commented 2 days ago

@macjuul OS => Ubuntu 24.04.1 LTS (gnome 46) Kernel version => Linux 6.8.0-45-generic

  1. I tried opening the developer panel on Linux using CTRL + shift + i but nothing happens. Tried it multiple times, nothing happens still.
  2. This only affects the Desktop app, web app works fine.
  3. I deleted the config file, but issue still persists.
  4. Not sure about this. I have included my OS & kernel version, just in-case. Only thing I can think of is trying this out in a VirtualBox.
hollygrimm commented 20 hours ago

I'm also getting a blank screen on my Linux desktop app after the upgrade from 2.1.5 to 3.0.2

I deleted the .config/SurrealDB/Surrealist folder and reinstalled the .deb so I could at least see the startup screen. I'm able to bring up Developer tools here. No errors at this point.

Create Connection As soon as I try to create a ws or http connection to my localhost, the screen goes blank and the Developer tools no longer display so I can't see any errors. I'm using the same connection on my command line and that works fine.

Open the Sandbox is also blank screen.

No errors in surrealist.log.

shadowInvert commented 5 hours ago

I use WSL2

cat /etc/os-release PRETTY_NAME="Ubuntu 22.04.5 LTS"

What I did before it happened

I ran the following query in Surrealist: update register:xxxxxxxxx set attention += '[new-email@example.com]';

What I did after it happened

  1. sudo dpkg -r surrealist -> I downloaded ver2.1.6 -> blank screen
  2. sudo dpkg -r surrealist -> I deleted the .config/SurrealDB/Surrealist -> I downloaded ver2.1.6 -> blank screen
  3. sudo dpkg --purge surrealist -> sudo apt-get autoremove -> I deleted the .config/SurrealDB/Surrealist and .cache/SurrealDB/Surrealist. -> I downloaded ver2.1.6 -> blank screen

What I noticed

Shortcuts not working properly after re-downloading the Surrealist_2.1.6_amd64.deb

now

appimage 2.1.6 works fine