kotatogram / kotatogram-desktop

Experimental Telegram Desktop fork.
https://kotatogram.github.io
Other
1.14k stars 117 forks source link

Opening filemanager causes immenent crash #309

Open Skycader opened 2 years ago

Skycader commented 2 years ago

Steps to reproduce

  1. Download AUR kotatogram-bin.
  2. Open file.

Expected behaviour

I expect no crashes.

Actual behaviour

╭─axl@ARCH ~/.vim ╰─$ kotatogram-desktop 1 ↵ [ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1) qt.qpa.wayland: EGL not available error: : cannot open error: : cannot open error: : cannot open QOpenGLWidget: Failed to create context qt.svg: Error while inflating gzip file: SVG format check failed Corrupt JPEG data: premature end of data segment X Error of failed request: BadPixmap (invalid Pixmap parameter) Major opcode of failed request: 54 (X_FreePixmap) Resource id in failed request: 0x400079 Serial number of failed request: 948 Current serial number in output stream: 958

Operating system

Linux ARCH 5.15.18-1-lts #1 SMP Sat, 29 Jan 2022 12:13:13 +0000 x86_64 GNU/Linux

Version of Kotatogram Desktop

kotatogram-desktop-bin-1.4.8-1

Installation source

Static binary from official website

Logs

No response

ilya-fedin commented 2 years ago

2. Open file.

What do you mean?

Skycader commented 2 years ago
  1. Open file.

What do you mean?

The clip icon button that opens filemanager to pick a file.

ilya-fedin commented 2 years ago

Well, it doesn't open file manager, it opens a file dialog (file manager is a program in your system while file dialog is a widget in application's toolkit). Can you get a stack trace?

Skycader commented 2 years ago

How do I get the stack trace?

ilya-fedin commented 2 years ago

Oh, well, it's a problem since Linux builds are built without debug symbols. So you have to build Kotatogram with debug symbols (and kotatogram building method is not documented, the telegram one will get you a working build where you wouldn't be able to reproduce the issue most likely...) and then open Kotatogram in gdb...

github-actions[bot] commented 1 month ago

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!