You are not logged in.
Telegram stopped opening a couple of days ago, giving the following output when I attempt to start it in a terminal:
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
telegram-desktop: symbol lookup error: /usr/lib/libpangoft2-1.0.so.0: undefined symbol: hb_buffer_set_cluster_level
My system is completely up to date, and Telegram is installed from the telegram-desktop-bin aur package.
Offline
Please post the output of
$ pacman -Qkk pango
$ pacman -Qi pango
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
As well as pacman -Q harfbuzz
Offline
pacman -Qkk pango:
pango: 141 total files, 0 altered files
pacman -Qi pango:
Name : pango
Version : 1.40.3-1
Description : A library for layout and rendering of text
Architecture : x86_64
URL : http://www.pango.org/
Licenses : LGPL
Groups : None
Provides : None
Depends On : libthai cairo libxft harfbuzz
Optional Deps : None
Required By : awesome cogl gst-plugins-base gstreamer0.10-base-plugins gtk2
gtk3 i3-wm kazam libreoffice-still librsvg libtiger openbox
pangomm plank r rrdtool wesnoth-git
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 3.81 MiB
Packager : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Build Date : Wed 14 Sep 2016 10:05:24 AM EEST
Install Date : Wed 21 Sep 2016 07:39:25 PM EEST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
pacman -Q harfbuzz:
harfbuzz 1.3.1-1
Thanks to both of you for taking the time to help me troubleshoot this.
Offline
Hmm, how about ldd /usr/lib/libpangoft2-1.0.so.0
Offline
ldd /usr/lib/libpangoft2-1.0.so.0:
linux-vdso.so.1 (0x00007ffd46793000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007f9bfce16000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f9bfcbc4000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f9bfc8b5000)
libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f9bfc656000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f9bfc412000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f9bfc155000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f9bfbe4f000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f9bfbc32000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f9bfb894000)
libthai.so.0 => /usr/lib/libthai.so.0 (0x00007f9bfb68b000)
libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f9bfb418000)
libffi.so.6 => /usr/lib/libffi.so.6 (0x00007f9bfb20f000)
libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f9bfafe1000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f9bfadb7000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f9bfaba1000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f9bfa991000)
libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f9bfa75b000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00005622dbca1000)
libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x00007f9bfa553000)
Offline
Well that shoots my theories. I'm going to assume that
% objdump --dynamic-syms /usr/lib/libharfbuzz.so.0 | grep hb_buffer_set_cluster_level
shows that the symbol does exist. Unless this is a 32 bit program or something, it should work.
Offline
% objdump --dynamic-syms /usr/lib/libharfbuzz.so.0 | grep hb_buffer_set_cluster_level
000000000000acf0 g DF .text 000000000000000a Base hb_buffer_set_cluster_level
And the program is 64-bit.
Thanks for trying out your theories anyway. I'll try building the program from source, maybe that'll help — there were errors I didn't understand with the aur packages, so I decided to ask if there was some simpler solution I wasn't seeing before putting time into that. It might be useful to try this out on other linuxes (or installing a fresh arch): if someone's having the same problem it would be useful if you let me know.
If that still doesn't work I'll report this as a bug upstream.
One more question: are we sure that the error we've been focusing on is the one crashing the program? It might have been there when the program still worked, I wouldn't have noticed. I'm not sure if these are useful, but the output of trace ends in
telegram-desktop: symbol lookup error: /usr/lib/libpangoft2-1.0.so.0: undefined symbol: hb_buffer_set_cluster_level
+++ exited with 127 +++
and running gdb gives the following output:
% gdb telegram-desktop
[Licence text]
Reading symbols from telegram-desktop...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/telegram-desktop
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff4a8e700 (LWP 13526)]
[New Thread 0x7fffefbef700 (LWP 13527)]
[New Thread 0x7fffef3ee700 (LWP 13528)]
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
[New Thread 0x7fffdeb03700 (LWP 13529)]
[New Thread 0x7fffda302700 (LWP 13530)]
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
[New Thread 0x7fffdccba700 (LWP 13531)]
[New Thread 0x7fffdb684700 (LWP 13532)]
[Thread 0x7fffdb684700 (LWP 13532) exited]
[New Thread 0x7fffdb684700 (LWP 13533)]
[Thread 0x7fffdb684700 (LWP 13533) exited]
[New Thread 0x7fffdb684700 (LWP 13534)]
[New Thread 0x7fffdb684700 (LWP 13535)]
[Thread 0x7fffdb684700 (LWP 13534) exited]
[New Thread 0x7fffe41da700 (LWP 13536)]
[New Thread 0x7fffd9b01700 (LWP 13537)]
[New Thread 0x7fffd9300700 (LWP 13538)]
[Thread 0x7fffe41da700 (LWP 13536) exited]
[New Thread 0x7fffd8aff700 (LWP 13539)]
[New Thread 0x7fffbf7e2700 (LWP 13540)]
[New Thread 0x7fffbde8a700 (LWP 13541)]
[Thread 0x7fffbf7e2700 (LWP 13540) exited]
/usr/bin/telegram-desktop: symbol lookup error: /usr/lib/libpangoft2-1.0.so.0: undefined symbol: hb_buffer_set_cluster_level
[Thread 0x7fffd8aff700 (LWP 13539) exited]
[Thread 0x7fffd9b01700 (LWP 13537) exited]
[Thread 0x7fffda302700 (LWP 13530) exited]
[Thread 0x7fffdeb03700 (LWP 13529) exited]
[Thread 0x7fffef3ee700 (LWP 13528) exited]
[Thread 0x7ffff4a8e700 (LWP 13526) exited]
[Thread 0x7ffff7f1e7c0 (LWP 13522) exited]
[Thread 0x7fffbde8a700 (LWP 13541) exited]
[Thread 0x7fffdb684700 (LWP 13535) exited]
[Thread 0x7fffdccba700 (LWP 13531) exited]
[Thread 0x7fffefbef700 (LWP 13527) exited]
[Inferior 1 (process 13522) exited with code 0177]
Offline
I didn't have time to try and build from source, so I posted this as an issue on the Telegram github page.
Offline