telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
25.23k stars 5.01k forks source link

Application does not start (Ошибка сегментирования) #27469

Closed nafanz closed 4 months ago

nafanz commented 5 months ago

Steps to reproduce

I'm launching Telegram

Expected behaviour

Application won't start

Actual behaviour

The application should open

Operating system

Ubuntu 22.04.3 LTS x86_64 (GNOME 42.9)

Version of Telegram Desktop

4.14.15

Installation source

Snap

Crash ID

No response

Logs

telegram-desktop
/home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgioenvironmentproxy.so: cannot open shared object file: No such file or directory
Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgioenvironmentproxy.so
/home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libdconfsettings.so: cannot open shared object file: No such file or directory
Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libdconfsettings.so
/home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiognomeproxy.so: cannot open shared object file: No such file or directory
Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiognomeproxy.so
/home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so: cannot open shared object file: No such file or directory
Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
/home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiognutls.so: cannot open shared object file: No such file or directory
Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiognutls.so
[ALSOFT] (EE) Failed to connect PipeWire event context (errno: 112)
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
Ошибка сегментирования (образ памяти сброшен на диск)

-----------------------------------------------------
sudo telegram-desktop
mkdir: cannot create directory ‘/run/user/0’: Permission denied
Authorization required, but no authorization protocol specified
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, wayland-egl, wayland, xcb.

Аварийный останов
ilya-fedin commented 5 months ago

Please fix the title, your have a crash not related to pipewire. You also must provide a crash ID given that you have a crash.

nafanz commented 5 months ago

The title has been corrected. I don't have a Crash ID. When launched normally, nothing happens through the shortcut, so I tried it through the terminal telegram-desktop and sudo telegram-desktop. I have attached the full output of these commands.

ilya-fedin commented 5 months ago

@nafanz snap doesn't have crash reporting functionality, you have to reproduce on static binary

nafanz commented 5 months ago

@ilya-fedin I launched the binary file and it seems to work. But I want to understand the reason why it doesn’t work snap :(

ilya-fedin commented 5 months ago

This is likely impossible... There's no way to provide debug symbols to user machines via snap package nor for developer to get them when building snap package so crashes are undebuggable.

nafanz commented 5 months ago

I realized that this is a black box, but I decided to look at journalctl -f just for fun.

There are two snap launches here that fail.

фев 12 18:06:41 nafanz-desktop systemd[2320]: Started Application launched by gnome-shell.
фев 12 18:06:41 nafanz-desktop systemd[2320]: Started snap.telegram-desktop.telegram-desktop-f11abc1e-9074-43ff-b311-61e6a4389188.scope.
фев 12 18:06:42 nafanz-desktop telegram-desktop_telegram-desktop.desktop[13384]: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgioenvironmentproxy.so: cannot open shared object file: No such file or directory
фев 12 18:06:42 nafanz-desktop telegram-desktop_telegram-desktop.desktop[13384]: Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgioenvironmentproxy.so
фев 12 18:06:42 nafanz-desktop telegram-desktop_telegram-desktop.desktop[13384]: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libdconfsettings.so: cannot open shared object file: No such file or directory
фев 12 18:06:42 nafanz-desktop telegram-desktop_telegram-desktop.desktop[13384]: Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libdconfsettings.so
фев 12 18:06:42 nafanz-desktop telegram-desktop_telegram-desktop.desktop[13384]: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiognomeproxy.so: cannot open shared object file: No such file or directory
фев 12 18:06:42 nafanz-desktop telegram-desktop_telegram-desktop.desktop[13384]: Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiognomeproxy.so
фев 12 18:06:42 nafanz-desktop telegram-desktop_telegram-desktop.desktop[13384]: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so: cannot open shared object file: No such file or directory
фев 12 18:06:42 nafanz-desktop telegram-desktop_telegram-desktop.desktop[13384]: Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
фев 12 18:06:42 nafanz-desktop telegram-desktop_telegram-desktop.desktop[13384]: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiognutls.so: cannot open shared object file: No such file or directory
фев 12 18:06:42 nafanz-desktop telegram-desktop_telegram-desktop.desktop[13384]: Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiognutls.so
фев 12 18:06:42 nafanz-desktop audit[13384]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/etc/openal/alsoft.conf" pid=13384 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
фев 12 18:06:42 nafanz-desktop kernel: kauditd_printk_skb: 15 callbacks suppressed
фев 12 18:06:42 nafanz-desktop kernel: audit: type=1400 audit(1707743202.684:378): apparmor="DENIED" operation="open" class="file" profile="snap.telegram-desktop.telegram-desktop" name="/etc/openal/alsoft.conf" pid=13384 comm="telegram-deskto" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
фев 12 18:06:42 nafanz-desktop audit[771]: USER_AVC pid=771 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/RealtimeKit1" interface="org.freedesktop.DBus.Properties" member="Get" mask="send" name="org.freedesktop.RealtimeKit1" pid=13384 label="snap.telegram-desktop.telegram-desktop" peer_pid=1453 peer_label="unconfined"
                                               exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
фев 12 18:06:42 nafanz-desktop kernel: audit: type=1107 audit(1707743202.692:379): pid=771 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/RealtimeKit1" interface="org.freedesktop.DBus.Properties" member="Get" mask="send" name="org.freedesktop.RealtimeKit1" pid=13384 label="snap.telegram-desktop.telegram-desktop" peer_pid=1453 peer_label="unconfined"
                                           exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
фев 12 18:06:42 nafanz-desktop audit[771]: USER_AVC pid=771 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/RealtimeKit1" interface="org.freedesktop.DBus.Properties" member="Get" mask="send" name="org.freedesktop.RealtimeKit1" pid=13384 label="snap.telegram-desktop.telegram-desktop" peer_pid=1453 peer_label="unconfined"
                                               exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
фев 12 18:06:42 nafanz-desktop audit[771]: USER_AVC pid=771 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/RealtimeKit1" interface="org.freedesktop.RealtimeKit1" member="MakeThreadRealtime" mask="send" name="org.freedesktop.RealtimeKit1" pid=13384 label="snap.telegram-desktop.telegram-desktop" peer_pid=1453 peer_label="unconfined"
                                               exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
фев 12 18:06:42 nafanz-desktop telegram-desktop_telegram-desktop.desktop[13384]: [ALSOFT] (EE) Failed to connect PipeWire event context (errno: 112)
фев 12 18:06:42 nafanz-desktop kernel: audit: type=1107 audit(1707743202.696:380): pid=771 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/RealtimeKit1" interface="org.freedesktop.DBus.Properties" member="Get" mask="send" name="org.freedesktop.RealtimeKit1" pid=13384 label="snap.telegram-desktop.telegram-desktop" peer_pid=1453 peer_label="unconfined"
                                           exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
фев 12 18:06:42 nafanz-desktop kernel: audit: type=1107 audit(1707743202.696:381): pid=771 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/RealtimeKit1" interface="org.freedesktop.RealtimeKit1" member="MakeThreadRealtime" mask="send" name="org.freedesktop.RealtimeKit1" pid=13384 label="snap.telegram-desktop.telegram-desktop" peer_pid=1453 peer_label="unconfined"
                                           exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
фев 12 18:06:43 nafanz-desktop audit[13384]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f63afa9f531 code=0x50000
фев 12 18:06:43 nafanz-desktop kernel: audit: type=1326 audit(1707743203.380:382): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f63afa9f531 code=0x50000
фев 12 18:06:43 nafanz-desktop kernel: audit: type=1326 audit(1707743203.380:383): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f63afa9f531 code=0x50000
фев 12 18:06:43 nafanz-desktop audit[13384]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f63afa9f531 code=0x50000
фев 12 18:06:43 nafanz-desktop audit[13384]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f63afb1e97b code=0x50000
фев 12 18:06:43 nafanz-desktop audit[13384]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f63afb1e97b code=0x50000
фев 12 18:06:43 nafanz-desktop audit[13384]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f63afa9f531 code=0x50000
фев 12 18:06:43 nafanz-desktop audit[13384]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f63afb1e97b code=0x50000
фев 12 18:06:43 nafanz-desktop kernel: audit: type=1326 audit(1707743203.380:384): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f63afb1e97b code=0x50000
фев 12 18:06:43 nafanz-desktop kernel: audit: type=1326 audit(1707743203.380:385): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f63afb1e97b code=0x50000
фев 12 18:06:43 nafanz-desktop kernel: audit: type=1326 audit(1707743203.384:386): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f63afa9f531 code=0x50000
фев 12 18:06:43 nafanz-desktop kernel: audit: type=1326 audit(1707743203.384:387): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f63afb1e97b code=0x50000
фев 12 18:06:43 nafanz-desktop audit[13384]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f63afb1e97b code=0x50000
фев 12 18:06:43 nafanz-desktop audit[13384]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f63afb1e97b code=0x50000
фев 12 18:06:43 nafanz-desktop audit[13384]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f63afb1e97b code=0x50000
фев 12 18:06:43 nafanz-desktop audit[13384]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f63afb1e97b code=0x50000
фев 12 18:06:43 nafanz-desktop audit[13384]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f63afb1e97b code=0x50000
фев 12 18:06:43 nafanz-desktop audit[13384]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f63afb1e97b code=0x50000
фев 12 18:06:43 nafanz-desktop audit[771]: USER_AVC pid=771 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/NetworkManager" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name="org.freedesktop.NetworkManager" pid=13384 label="snap.telegram-desktop.telegram-desktop" peer_pid=772 peer_label="unconfined"
                                               exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
фев 12 18:06:43 nafanz-desktop dbus-daemon[2343]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/org/freedesktop/DBus" interface="org.freedesktop.DBus" member="ListActivatableNames" mask="send" name="org.freedesktop.DBus" pid=13384 label="snap.telegram-desktop.telegram-desktop" peer_label="unconfined"
фев 12 18:06:43 nafanz-desktop telegram-desktop_telegram-desktop.desktop[13384]: QPainter::begin: Paint device returned engine == 0, type: 2
фев 12 18:06:43 nafanz-desktop telegram-desktop_telegram-desktop.desktop[13384]: QWidget::render: Cannot render with an inactive painter
фев 12 18:06:44 nafanz-desktop audit[13384]: AVC apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.telegram-desktop.telegram-desktop" pid=13384 comm="telegram-deskto" requested_mask="read" denied_mask="read" peer="unconfined"
фев 12 18:06:44 nafanz-desktop audit[13384]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f63afb1e97b code=0x50000
фев 12 18:06:44 nafanz-desktop audit[13384]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f63afb1e97b code=0x50000
фев 12 18:06:44 nafanz-desktop audit[13384]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f63afb1e97b code=0x50000
фев 12 18:06:44 nafanz-desktop audit[13384]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f63afb1e97b code=0x50000
фев 12 18:06:44 nafanz-desktop audit[13384]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f63afb1e97b code=0x50000
фев 12 18:06:44 nafanz-desktop audit[13384]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.telegram-desktop.telegram-desktop pid=13384 comm="telegram-deskto" exe="/snap/telegram-desktop/5557/usr/bin/telegram-desktop" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f63afb1e97b code=0x50000
фев 12 18:06:44 nafanz-desktop systemd[2320]: snap.telegram-desktop.telegram-desktop-f11abc1e-9074-43ff-b311-61e6a4389188.scope: Consumed 2.756s CPU time.
фев 12 18:06:45 nafanz-desktop gnome-shell[2507]: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:
                                                       _checkNeededProperties@/usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/appIndicator.js:133:33
                                                       _setupProxy@/usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/appIndicator.js:103:18
                                                       async*AppIndicatorsAppIndicator@/usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/appIndicator.js:87:14
                                                       _registerItem@/usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/statusNotifierWatcher.js:103:31
                                                       _ensureItemRegistered@/usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/statusNotifierWatcher.js:142:14
                                                       RegisterStatusNotifierItemAsync@/usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/statusNotifierWatcher.js:201:14
                                                       async*_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:354:35
                                                       _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:387:34
фев 12 18:06:47 nafanz-desktop google-chrome.desktop[7564]: [7603:7610:0212/180647.400571:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
фев 12 18:06:47 nafanz-desktop google-chrome.desktop[7564]: [7603:7610:0212/180647.543882:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101

And a binary that works.

фев 12 18:07:38 nafanz-desktop systemd[2320]: Started Application launched by gnome-shell.
фев 12 18:07:38 nafanz-desktop systemd[2320]: Started snap.sublime-text.subl-2150addf-8fbe-4566-9b48-c249b792e5cd.scope.
фев 12 18:07:39 nafanz-desktop gnome-shell[2507]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
фев 12 18:08:10 nafanz-desktop dbus-daemon[2343]: [session uid=1000 pid=2343] Activating service name='org.gnome.ControlCenter.SearchProvider' requested by ':1.27' (uid=1000 pid=2507 comm="/usr/bin/gnome-shell " label="unconfined")
фев 12 18:08:10 nafanz-desktop dbus-daemon[2343]: [session uid=1000 pid=2343] Activating service name='org.gnome.Nautilus' requested by ':1.27' (uid=1000 pid=2507 comm="/usr/bin/gnome-shell " label="unconfined")
фев 12 18:08:10 nafanz-desktop dbus-daemon[2343]: [session uid=1000 pid=2343] Activating service name='org.gnome.Calculator.SearchProvider' requested by ':1.27' (uid=1000 pid=2507 comm="/usr/bin/gnome-shell " label="unconfined")
фев 12 18:08:10 nafanz-desktop dbus-daemon[2343]: [session uid=1000 pid=2343] Activating service name='org.gnome.Characters.BackgroundService' requested by ':1.27' (uid=1000 pid=2507 comm="/usr/bin/gnome-shell " label="unconfined")
фев 12 18:08:10 nafanz-desktop dbus-daemon[2343]: [session uid=1000 pid=2343] Successfully activated service 'org.gnome.ControlCenter.SearchProvider'
фев 12 18:08:10 nafanz-desktop dbus-daemon[2343]: [session uid=1000 pid=2343] Successfully activated service 'org.gnome.Nautilus'
фев 12 18:08:10 nafanz-desktop dbus-daemon[2343]: [session uid=1000 pid=2343] Successfully activated service 'org.gnome.Characters.BackgroundService'
фев 12 18:08:10 nafanz-desktop dbus-daemon[2343]: [session uid=1000 pid=2343] Successfully activated service 'org.gnome.Calculator.SearchProvider'
фев 12 18:08:10 nafanz-desktop nautilus[13724]: Connecting to org.freedesktop.Tracker3.Miner.Files
фев 12 18:08:11 nafanz-desktop dbus-daemon[2343]: [session uid=1000 pid=2343] Activating service name='org.telegram.desktop._6de7aba22fe8d65caca07049b53959bb' requested by ':1.27' (uid=1000 pid=2507 comm="/usr/bin/gnome-shell " label="unconfined")
фев 12 18:08:11 nafanz-desktop dbus-daemon[2343]: [session uid=1000 pid=2343] Reloaded configuration
фев 12 18:08:11 nafanz-desktop dbus-daemon[2343]: [session uid=1000 pid=2343] Reloaded configuration
фев 12 18:08:11 nafanz-desktop dbus-daemon[2343]: [session uid=1000 pid=2343] Reloaded configuration
фев 12 18:08:11 nafanz-desktop tracker-miner-f[2437]: SQLite error: database disk image is malformed (errno: Неправильный дескриптор файла)
фев 12 18:08:11 nafanz-desktop tracker-miner-f[2437]: SQLite error: database disk image is malformed (errno: Неправильный дескриптор файла)
фев 12 18:08:11 nafanz-desktop dbus-daemon[2343]: [session uid=1000 pid=2343] Successfully activated service 'org.telegram.desktop._6de7aba22fe8d65caca07049b53959bb'
фев 12 18:08:12 nafanz-desktop org.telegram.desktop._6de7aba22fe8d65caca07049b53959bb[13759]: QPainter::begin: Paint device returned engine == 0, type: 2
фев 12 18:08:12 nafanz-desktop org.telegram.desktop._6de7aba22fe8d65caca07049b53959bb[13759]: QWidget::render: Cannot render with an inactive painter
фев 12 18:08:13 nafanz-desktop dbus-daemon[2343]: [session uid=1000 pid=2343] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Extract' unit='tracker-extract-3.service' requested by ':1.10' (uid=1000 pid=2437 comm="/usr/libexec/tracker-miner-fs-3 " label="unconfined")
фев 12 18:08:13 nafanz-desktop systemd[2320]: Starting Tracker metadata extractor...
фев 12 18:08:13 nafanz-desktop dbus-daemon[2343]: [session uid=1000 pid=2343] Successfully activated service 'org.freedesktop.Tracker3.Miner.Extract'
фев 12 18:08:13 nafanz-desktop systemd[2320]: Started Tracker metadata extractor.
фев 12 18:08:13 nafanz-desktop tracker-miner-f[2437]: SQLite error: database disk image is malformed (errno: Неправильный дескриптор файла)
фев 12 18:08:13 nafanz-desktop tracker-miner-f[2437]: SQLite error: database disk image is malformed (errno: Неправильный дескриптор файла)
фев 12 18:08:13 nafanz-desktop tracker-miner-f[2437]: SQLite error: database disk image is malformed (errno: Неправильный дескриптор файла)
фев 12 18:08:13 nafanz-desktop tracker-miner-f[2437]: SQLite error: database disk image is malformed (errno: Неправильный дескриптор файла)

Perhaps this will be useful.

ilya-fedin commented 5 months ago

No, I don't see anything useful here

russeree commented 5 months ago

Same issue here, segmentation faults on startup using the snap package on Ubuntu Linux. Same version.

ilya-fedin commented 5 months ago

This issue wasn't reproduced by any developer so no work will be done on it and it will eventually be closed by a bot. If you're interested in the issue being fixed, find what might be missing in steps to reproduce. I recommend to install a fresh copy of the OS to VM to get what developers have and attempt to reproduce the issue from there. Once you will find what is missing, fix the steps to reproduce in the issue and notify with a message.

AlekseyBibikov commented 5 months ago

У меня такая же проблема, после обновления перестала запускаться `dev@dl71:~$ sudo telegram-desktop mkdir: cannot create directory ‘/run/user/0’: Permission denied Authorization required, but no authorization protocol specified qt.qpa.xcb: could not connect to display :0 qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin. qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, wayland-egl, wayland, xcb.

Аварийный останов dev@dl71:~$ telegram-desktop [ALSOFT] (EE) Failed to connect PipeWire event context (errno: 112) QPainter::begin: Paint device returned engine == 0, type: 2 QWidget::render: Cannot render with an inactive painter Ошибка сегментирования (образ памяти сброшен на диск) ` Переустанавливал ни чего не дало.

omerXfaruq commented 5 months ago

i have the same situation, after the upgrade it started not to open. uninstall - install through snap didn't work either.

mkdir: cannot create directory ‘/run/user/0’: Permission denied
Authorization required, but no authorization protocol specified
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, wayland-egl, wayland, xcb.

[1]    49593 IOT instruction  sudo telegram-desktop
ilya-fedin commented 5 months ago

folks, it won't work via sudo and output of such runs are useless

ilya-fedin commented 5 months ago

at worst, this will make the data directory owned by root and it will never start anymore, not via sudo (due to a different user than the user services), not without sudo (due to the lack of rights for the data directory)

omerXfaruq commented 5 months ago

my solution, removed it from snap, installed it through apt, it seems snap installation is corrupted right now.

sudo apt install telegram-desktop

Bear in mind that apt version is old: 3.6.1+ds-2build1

webview-destruction commented 5 months ago

telegram-desktop /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgioenvironmentproxy.so: cannot open shared object file: No such file or directory Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgioenvironmentproxy.so /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libdconfsettings.so: cannot open shared object file: No such file or directory Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libdconfsettings.so /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiognomeproxy.so: cannot open shared object file: No such file or directory Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiognomeproxy.so /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so: cannot open shared object file: No such file or directory Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiognutls.so: cannot open shared object file: No such file or directory Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiognutls.so [ALSOFT] (EE) Failed to connect PipeWire event context (errno: 112) QPainter::begin: Paint device returned engine == 0, type: 2 QWidget::render: Cannot render with an inactive painter Ошибка сегментирования (образ памяти сброшен на диск)


sudo telegram-desktop mkdir: cannot create directory ‘/run/user/0’: Permission denied Authorization required, but no authorization protocol specified qt.qpa.xcb: could not connect to display :0 qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin. qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, wayland-egl, wayland, xcb.

Аварийный останов

ilya-fedin commented 5 months ago

Do you folks continue to run as root to break your installation completely specially?

ilya-fedin commented 4 months ago

Is this still happening?

russeree commented 4 months ago

Correct this is still happening even after upgrading to 4.15.0

Aokromes commented 4 months ago

my solution, removed it from snap, installed it through apt, it seems snap installation is corrupted right now.

sudo apt install telegram-desktop

Bear in mind that apt version is old: 3.6.1+ds-2build1

sudo snap remove --purge telegram-desktop and install again

webview-destruction commented 4 months ago

telegram-desktop /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgioenvironmentproxy.so: cannot open shared object file: No such file or directory Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgioenvironmentproxy.so /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libdconfsettings.so: cannot open shared object file: No such file or directory Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libdconfsettings.so /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiognomeproxy.so: cannot open shared object file: No such file or directory Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiognomeproxy.so /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so: cannot open shared object file: No such file or directory Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiognutls.so: cannot open shared object file: No such file or directory Failed to load module: /home/nafanz/snap/telegram-desktop/common/.cache/gio-modules/libgiognutls.so [ALSOFT] (EE) Failed to connect PipeWire event context (errno: 112) QPainter::begin: Paint device returned engine == 0, type: 2 QWidget::render: Cannot render with an inactive painter Ошибка сегментирования (образ памяти сброшен на диск)


sudo telegram-desktop mkdir: cannot create directory ‘/run/user/0’: Permission denied Authorization required, but no authorization protocol specified qt.qpa.xcb: could not connect to display :0 qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin. qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, wayland-egl, wayland, xcb.

Аварийный останов

webview-destruction commented 4 months ago

¿Continúan ejecutándose como root para interrumpir la instalación de forma completamente especial?

Aokromes commented 4 months ago

https://i.imgur.com/ozawdka.jpeg

github-actions[bot] commented 4 months ago

This issue has been automatically closed because no developer succeeded to reproduce the issue with the given reproduction steps. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you find what's missing to reproduce the issue so that we can investigate further.

Note that GitHub is a developer communication platform. If you're an ordinary user seeking for help, get to support crew via Settings -> Ask question in the application.