kotatogram-desktop icon indicating copy to clipboard operation
kotatogram-desktop copied to clipboard

Opening filemanager causes immenent crash

Open Skycader opened this issue 3 years ago • 6 comments

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

Skycader avatar Feb 06 '22 12:02 Skycader

2. Open file.

What do you mean?

ilya-fedin avatar Feb 06 '22 13:02 ilya-fedin

  1. Open file.

What do you mean?

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

Skycader avatar Feb 06 '22 14:02 Skycader

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?

ilya-fedin avatar Feb 06 '22 16:02 ilya-fedin

How do I get the stack trace?

Skycader avatar Feb 06 '22 16:02 Skycader

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...

ilya-fedin avatar Feb 06 '22 16:02 ilya-fedin