TablePlus / TablePlus-Linux

TablePlus Linux issue tracker
https://tableplus.com
291 stars 30 forks source link

TablePlus not working on Ubuntu 22 (Segmentation fault) #148

Closed Akkadius closed 1 year ago

Akkadius commented 2 years ago

Please answer the questions below, it helps us to track the issue.

  1. TablePlus version (the number on the welcome or about screen, Ex: build 81):

Latest available on repo

  1. Linux distro (Ex: Ubuntu 18.04):
cat /etc/os-release 
PRETTY_NAME="Ubuntu 22.04 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04 (Jammy Jellyfish)"
VERSION_CODENAME=jammy
  1. The steps to reproduce this issue:

Noted: If the bug is related to data, please attach an example SQL data.

https://gist.github.com/Akkadius/9dc0947acb07c288ff460dd75243cbb1

I've bought several licenses. Been using TablePlus primarily for years as I love it. Would be good to see more first class support for Linux considering the wave of people moving to Linux (Myself included)

Otherwise I may have to finally shop for another browser

lorenzo-moni commented 2 years ago

I'm having the same issue

drrwyy commented 2 years ago

Workaround:

based on here https://aur.archlinux.org/packages/tableplus/#comment-827858

balcieren commented 2 years ago

I have too same issue

Decode84 commented 2 years ago

Workaround:

based on here https://aur.archlinux.org/packages/tableplus/#comment-827858

This works. Thanks. :+1:

giancarloerra commented 2 years ago

Confirming not working on Ubuntu 22.04 will try workaround

Jaserto commented 2 years ago

Workaround:

* Download https://archive.archlinux.org/packages/g/glib2/glib2-2.68.4-1-x86_64.pkg.tar.zst

* Extract `/usr/lib/libgio-2.0.so.0.6800.4` to `/opt/tableplus`

* Change `Exec` value in `/usr/share/applications/tableplus.desktop` to `Exec=env LD_PRELOAD=/opt/tableplus/libgio-2.0.so.0.6800.4 /usr/local/bin/tableplus`

* sudo update-desktop-database

* sudo gtk-update-icon-cache

based on here https://aur.archlinux.org/packages/tableplus/#comment-827858

Works for me. I made a mistake and that's why it didn't work, I didn't put the space between ...6800.4 and /usr... In case it happens to anyone.

dyaskur commented 2 years ago

I downloaded glib2, but can't found /usr/lib/libgio-2.0.so.0.6800.4? where is it?

Jaserto commented 2 years ago

@dyaskur First, make sure you have downloaded the correct file. You have to extract the file, right click, extract and you will find the /usr folder.

mayanksdudakiya commented 2 years ago

Same here not working for me. When new tableplus version will be launched for ubuntu 22.04LTS?

nikelborm commented 2 years ago

Table plus for Linux is not even the beta. It is alpha. We need to rejoice that at least it is.

original

Screenshot_20220725_162508

SujeetKumar-zs commented 1 year ago
  • tableplus

can yot tell the command to extract libgo file to opt/tableplus

thetnaingtun3 commented 1 year ago

This is works for me. Thanks.

huyphams commented 1 year ago

TablePlus for Ubuntu 22 has been released, please follow https://tableplus.com/linux/install

onattech commented 1 year ago

Installed the latest(v188) and now TablePlus doesn't start for me again on Mint 21(Ubuntu 22.04). Back to v186 with drrwyy's workaround.

**update: Updated the repo to Ubuntu 22.04 and TablePlus to v192. All is well. Thank you.

thejspr commented 1 year ago

Uninstalled, added the Ubuntu 22.04 repo from https://tableplus.com/linux/install, and reinstalled got rid of the segfault for me.

curtsheller commented 1 year ago

Uninstalled and reinstalled and still not working. Getting

425060 segmentation fault (core dumped)  tableplus

Pop!_OS 22.04 LTS x86_64 5.19.0-76051900-generic

tr1ms commented 1 year ago

Workaround:

based on here aur.archlinux.org/packages/tableplus/#comment-827858

This workaround worked for me at first until it started crashing again with a segfault, but when I launch it from /usr/share/applications/tableplus.desktop it seems to work fine

curtsheller commented 1 year ago

Tried it today and new version 0.1 (190) is not crashing right after starting.

SupianIDz commented 1 year ago

Workaround:

based on here https://aur.archlinux.org/packages/tableplus/#comment-827858

Work on Kali Linux 2022.4

Martzy303 commented 1 year ago

Uninstalled, added the Ubuntu 22.04 repo from https://tableplus.com/linux/install, and reinstalled got rid of the segfault for me.

This worked for me, I removed the repos I had after uninstall, and then reinstalled as their official site sais.