Sublime Forum

On debian (testing) sublime 3161 does just exit on calling it (in an running kde desktop session)

#1

I was just updating sublime to 3161 on debian using the deb https://download.sublimetext.com/ apt/dev/ settings for apt. After that starting sublime does not start anything, it just exists with 0. Starting it with -w is more revealing, that just hangs.

In gdb:
(gdb) run -w
Starting program: /opt/sublime_text/sublime_text -w
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib/x86_64-linux-gnu/libthread_db.so.1”.
[New Thread 0x7fffee819700 (LWP 116705)]
[New Thread 0x7fffee018700 (LWP 116706)]
[New Thread 0x7fffed817700 (LWP 116707)]
[Thread 0x7fffee018700 (LWP 116706) exited]
[Thread 0x7fffed817700 (LWP 116707) exited]
[Thread 0x7fffee819700 (LWP 116705) exited]
[Inferior 1 (process 116701) exited normally]
(gdb)

trying out the tar.bz2 of the same version just exists with a segmentation fault .

0 Likes

#2

Wrote a small script which downloads the bz2 packagess, deflates them, and starts sublime_text.
The version 3157 runs, all newer show the same result as 3161

0 Likes

#3

ST 3161 runs normal on my debian9 VMware box.

0 Likes

#4

Do you have a version of pango older than 1.38? We try to dynamically load a reference to a newer pango function if possible. It may be related to that.

0 Likes

#5

I just tested Ubuntu 12.04 and it properly detected the missing pango function and printed a notice about it when font_options was set.

Build 3158 did include quite a number of fixes, with the largest one (on Linux) probably being improved symlink handling.

What version of debian, linux kernel and glibc are you running? Just looking for possible things to look into.

0 Likes

#6

I am running a current (daily updated) debian testing. Pango is newer then 1.38

uname -a
Linux Fadenreisser 4.15.0-2-amd64 #1 SMP Debian 4.15.11-1 (2018-03-20) x86_64 GNU/Linux

libc6 Version: 2.27-3:

/lib/x86_64-linux-gnu/libc.so.6
GNU C Library (Debian GLIBC 2.27-3) stable release version 2.27.
Copyright © 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 7.3.0.
libc ABIs: UNIQUE IFUNC

libpango-1.0-0 Version: 1.42.0-1

running with LD_DEBUG=all I see that sublime draws in pango:
file=libpango-1.0.so [0]; dynamically loaded by /opt/sublime_text/sublime_text [0]

I did setup a VM with debian9 - stable (state today) and can confirm that build 3161 is running there.
Stable uses:
Linux vpn 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux

Package: libpango-1.0-0
Version: 1.40.5-1

Package: libc6
Version: 2.24-11+deb9u3

So the differences to debian testing seem to be the culprit …

0 Likes

#7

I installed a debian testing VM and installed both build 3161 and built ST from source and both start and function properly.

0 Likes

#8

So … now it is working, the culprit seems to be the kde/x session, as I restarted the login manager today (so killing the desktop session) and restarting X (due to a new monitor) after login again, thus getting a new desktop session the debian package (and all downloaded tar. archived, just let the script run again) do work now.
It seems buying Monitors more often can solve Problems for me …

So the problem is somewhere hidden in the debian way to update and the kde (and all the deps) on handling a desktop session and not in sublime. Sorry for the mess and thanks for all the effort!

0 Likes