Crash when trying to download file
Steps to reproduce
- Open Fractal
- Enter a room where a file was sent (a PDF for instance)
- Click on the download button, get a crash
Information
-
This bug is reproducible from the latest nightly build - Fractal Version: 6-9c328f37
- OS Version: Fedora 39
- Installation Source: GNOME Apps Nightly
- Homeserver: matrix.org
Console output:
2024-02-23T19:06:18.904630Z DEBUG fractal::session::model::session: Received sync response
(fractal:2): Gtk-CRITICAL **: 20:06:20.569: gtk_editable_get_chars: assertion 'end_pos == -1 || end_pos > start_pos' failed
Journal:
fractal[49697]: segfault at 0 ip 00007f5dae8a5351 sp 00007ffc6c27de08 error 4 in libc.so.6[7f5dae762000+166000] likely on CPU 3 (core 3, socket 0)
Code: 0f 42 c6 c5 f8 77 c3 66 90 f3 0f 1e fa c5 f9 6e fe 89 f8 c4 e2 7d 78 ff c5 f9 ef c0 c1 e0 14 3d 00 00 00 fe 0f 87 35 02 00 00 <c5> fe 6f 0f c5 fd 74 f1 c5 fd d>
BPF prog-id=108 op=LOAD
BPF prog-id=109 op=LOAD
BPF prog-id=110 op=LOAD
Started systemd-coredump@1-50010-0.service - Process Core Dump (PID 50010/UID 0).
SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@1-50010-0 comm="systemd" exe="/usr/lib/systemd/s>
Could not parse number of program headers from core file: invalid `Elf' handle
Process 49697 (fractal) of user 1000 dumped core.
Module /app/bin/fractal without build-id.
Module /app/bin/fractal
Stack trace of thread 2:
#0 0x00007f5dae8a5351 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x169351)
#1 0x00007f5db09157c7 n/a (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.7902.0 + 0x1f7c7)
#2 0x00007f5daf54ee74 n/a (/usr/lib/x86_64-linux-gnu/libgtk-4.so.1.1308.0 + 0x14ee74)
#3 0x00007f5daf7348ad n/a (/usr/lib/x86_64-linux-gnu/libgtk-4.so.1.1308.0 + 0x3348ad)
#4 0x00007f5daf5637ba n/a (/usr/lib/x86_64-linux-gnu/libgtk-4.so.1.1308.0 + 0x1637ba)
#5 0x00007f5daf571610 n/a (/usr/lib/x86_64-linux-gnu/libgtk-4.so.1.1308.0 + 0x171610)
#6 0x00007f5daf571a24 n/a (/usr/lib/x86_64-linux-gnu/libgtk-4.so.1.1308.0 + 0x171a24)
#7 0x0000561e21cdd60b n/a (/app/bin/fractal + 0x443260b)
#8 0x00007f5db0808787 n/a (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7902.0 + 0x62787)
#9 0x00007f5db0808e43 n/a (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7902.0 + 0x62e43)
#10 0x00007f5db0147fcd n/a (/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.7902.0 + 0xf7fcd)
#11 0x0000561e22887b83 n/a (/app/bin/fractal + 0x4fdcb83)
ELF object binary architecture: AMD x86-64
systemd-coredump@1-50010-0.service: Deactivated successfully.
SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@1-50010-0 comm="systemd" exe="/usr/lib/systemd/sy>
systemd-coredump@1-50010-0.service: Consumed 2.402s CPU time.
BPF prog-id=110 op=UNLOAD
BPF prog-id=109 op=UNLOAD
BPF prog-id=108 op=UNLOAD
app-flatpak-org.gnome.Fractal.Devel-49682.scope: Consumed 27.492s CPU time.
Size of '/var/spool/abrt' >= 5000 MB (MaxCrashReportsSize), deleting old directory 'ccpp-2024-02-13-14:08:38.301023-7375'
Unsupported container technology
Lock file '.lock' was locked by process 50036, but it crashed?
Erreur : No segments found in coredump './coredump'
Can't open file 'core_backtrace' for reading: Aucun fichier ou dossier de ce type
g_app_info_should_show: assertion 'G_IS_APP_INFO (appinfo)' failed
Process 49697 (fractal) crashed in ??()
Edited by Alexandre Franke