TablePlus-Linux icon indicating copy to clipboard operation
TablePlus-Linux copied to clipboard

TablePlus not working on Ubuntu 22 (Segmentation fault)

Open Akkadius opened this issue 2 years ago • 10 comments

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

Akkadius avatar Apr 25 '22 06:04 Akkadius

I'm having the same issue

lorenzo-moni avatar May 01 '22 08:05 lorenzo-moni

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

drrwyy avatar May 01 '22 20:05 drrwyy

I have too same issue

balcieren avatar May 02 '22 13:05 balcieren

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

This works. Thanks. :+1:

Decode84 avatar May 03 '22 14:05 Decode84

Confirming not working on Ubuntu 22.04 will try workaround

giancarloerra avatar Jun 01 '22 15:06 giancarloerra

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.

Jaserto avatar Jun 19 '22 18:06 Jaserto

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

dyaskur avatar Jun 29 '22 00:06 dyaskur

@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.

Jaserto avatar Jun 30 '22 21:06 Jaserto

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

mayanksdudakiya avatar Jul 22 '22 07:07 mayanksdudakiya

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

nikelborm avatar Jul 25 '22 13:07 nikelborm

  • tableplus

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

SujeetKumar-zs avatar Aug 25 '22 12:08 SujeetKumar-zs

  • 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

This is works for me. Thanks.

thetnaingtun3 avatar Sep 03 '22 05:09 thetnaingtun3

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

huyphams avatar Sep 13 '22 17:09 huyphams

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.

onattech avatar Sep 14 '22 08:09 onattech

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

thejspr avatar Sep 14 '22 09:09 thejspr

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

curtsheller avatar Sep 14 '22 12:09 curtsheller

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

tr1ms avatar Sep 16 '22 07:09 tr1ms

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

curtsheller avatar Sep 16 '22 15:09 curtsheller