Telegram app crashes

everytime i try to minimize the video it crashes

System:
Kernel: 6.0.10-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=1c3af8ac-132c-49ed-8389-93653a152332 rw [email protected]
radeon.cik_support=0 amdgpu.cik_support=1 radeon.si_support=0
amdgpu.si_support=1 quiet quiet splash rd.udev.log_priority=3
vt.global_cursor_default=0 loglevel=3
Desktop: KDE Plasma v: 5.26.3 tk: Qt v: 5.15.7 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: ASRock model: Z77 Extreme4 serial: <superuser required>
BIOS: American Megatrends v: P2.90 date: 07/11/2013
CPU:
Info: model: Intel Xeon E3-1230 V2 bits: 64 type: MT MCP arch: Ivy Bridge
level: v2 built: 2012-15 process: Intel 22nm family: 6 model-id: 0x3A (58)
stepping: 9 microcode: 0x21
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 8 MiB desc: 1x8 MiB
Speed (MHz): avg: 3299 high: 3631 min/max: 1600/3700 scaling:
driver: intel_cpufreq governor: performance cores: 1: 3503 2: 3526 3: 3631
4: 1600 5: 3573 6: 3401 7: 3566 8: 3599 bogomips: 52803
Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Unknown: No mitigations
Type: retbleed status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Vulnerable: No microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Hawaii PRO [Radeon R9 290/390] vendor: ASUSTeK driver: amdgpu
v: kernel alternate: radeon arch: GCN-2 code: Sea Islands
process: GF/TSMC 16-28nm built: 2013-17 pcie: gen: 3 speed: 8 GT/s
lanes: 8 link-max: lanes: 16 ports: active: HDMI-A-1
empty: DP-1,DVI-D-1,DVI-D-2 bus-ID: 02:00.0 chip-ID: 1002:67b1
class-ID: 0300 temp: 69.0 C
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.5
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: Philips FTV serial: <filter>
built: 2010 res: 1920x1080 hz: 60 dpi: 38 gamma: 1.2
size: 1280x720mm (50.39x28.35") diag: 1469mm (57.8") ratio: 16:9 modes:
max: 1920x1080 min: 640x480
API: OpenGL v: 4.6 Mesa 22.2.3 renderer: AMD Radeon R9 200 Series (hawaii
LLVM 14.0.6 DRM 3.48 6.0.10-zen2-1-zen) direct render: Yes
Audio:
Device-1: Intel 7 Series/C216 Family High Definition Audio
vendor: ASRock Z77 Extreme4 driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
chip-ID: 8086:1e20 class-ID: 0403
Device-2: AMD Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]
vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
lanes: 8 link-max: lanes: 16 bus-ID: 02:00.1 chip-ID: 1002:aac8
class-ID: 0403
Sound API: ALSA v: k6.0.10-zen2-1-zen running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.60 running: yes
Network:
Device-1: Broadcom NetLink BCM57781 Gigabit Ethernet PCIe
vendor: ASRock Z77 Extreme4 driver: tg3 v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: N/A bus-ID: 06:00.0 chip-ID: 14e4:16b1
class-ID: 0200
IF: enp6s0 state: down mac: <filter>
Device-2: Ralink MT7601U Wireless Adapter type: USB driver: mt7601u
bus-ID: 3-1:2 chip-ID: 148f:7601 class-ID: 0000 serial: <filter>
IF: wlp0s20u1 state: up mac: <filter>
Drives:
Local Storage: total: 1.03 TiB used: 856.75 GiB (81.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000DM003-1CH162
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
type: HDD rpm: 7200 serial: <filter> rev: CC44 scheme: MBR
ID-2: /dev/sdb maj-min: 8:16 vendor: Plextor model: PX-128M5S
size: 119.24 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 1.00 scheme: MBR
Partition:
ID-1: / raw-size: 119.24 GiB size: 119.24 GiB (100.00%)
used: 21.28 GiB (17.8%) fs: btrfs dev: /dev/sdb1 maj-min: 8:17
ID-2: /home raw-size: 119.24 GiB size: 119.24 GiB (100.00%)
used: 21.28 GiB (17.8%) fs: btrfs dev: /dev/sdb1 maj-min: 8:17
ID-3: /var/log raw-size: 119.24 GiB size: 119.24 GiB (100.00%)
used: 21.28 GiB (17.8%) fs: btrfs dev: /dev/sdb1 maj-min: 8:17
ID-4: /var/tmp raw-size: 119.24 GiB size: 119.24 GiB (100.00%)
used: 21.28 GiB (17.8%) fs: btrfs dev: /dev/sdb1 maj-min: 8:17
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 7.71 GiB used: 133.2 MiB (1.7%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 48.0 C mobo: N/A gpu: amdgpu temp: 70.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 1619
Info:
Processes: 296 Uptime: 1h 18m wakeups: 0 Memory: 7.71 GiB
used: 3.62 GiB (46.9%) Init: systemd v: 252 default: graphical
tool: systemctl Compilers: gcc: 12.2.0 Packages: pm: pacman pkgs: 1905
libs: 523 tools: octopi,pamac,paru Shell: fish v: 3.5.1 default: Bash
v: 5.1.16 running-in: konsole inxi: 3.3.23
Garuda (2.6.9-1):
System install date:     2022-11-21
Last full system update: 2022-11-27
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       <superuser required>
Snapshots:               Snapper
Failed units:            bluetooth-autoconnect.service

Please, start the app (telegram or this video) from terminal and post output as text.

qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment
qt.svg: Error while inflating gzip file: SVG format check failed
fish: Job 1, 'telegram-desktop' terminated by signal SIGSEGV (Address boundary error)

I see those errors are reported in a few issues, though in apparently unrelated circumstances.
Which makes me think, sadly they are not very indicative of what the underlying problem is.

Try also running in a terminal with -debug option, it should drop log files in the current directory (better be a new empty one) and/or ~/.local/share/TelegramDesktop/DebugLogs (no idea, that's what a man page found online says).

Try "Disable OpenGL rendering for Media" (from App crashes when trying to play video in picture-in-picture mode · Issue #25433 · telegramdesktop/tdesktop · GitHub)

Did it start misbehaving after an update, or was telegram installed recently?
Is it the community/telegram-desktop package?
You may try the flatpak from the website and see if it makes any difference.
Beware if you try the "generic" linux binary from the website, it may conflict with the package and it's probably better not have both installed at the same time.

You may also want to let the telegram developers know by opening an issue at the repository, they're in a better position to advise how to pinpoint the problem.
If you do, please make sure it's not reported already (post to that thread in case) and provide the log files along with any relevant information (telegram version, installation method, operating system...)

4 Likes

"Disable OpenGL rendering for Media" method worked, thank you

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.