Dear Maintainer, This bug appeared after I upgraded from deb12. I noticed that the version of SpaceFM itself did not change, so it might be related to the update of the GTK version it depends on? The specific reproduction steps are as mentioned in the title: simply select one or more files and drag them to the tree panel on the left.
[77506.219790] spacefm[801742]: segfault at 4c84cbac0 ip 00007fde273a0929 sp 00007ffc97506bb0 error 4 in libgtk-3.so.0.2417.32[3a0929,7fde2708d000+392000] likely on CPU 5 (core 5, socket 0) [77506.219833] Code: 00 48 89 df 4d 8b 3e e8 05 1f cf ff 48 85 c0 74 40 49 8b 17 eb 14 66 66 2e 0f 1f 84 00 00 00 00 00 48 8b 40 08 48 85 c0 74 27 <48> 39 10 75 f2 41 8b 47 08 a8 01 74 3a 48 85 ed 74 15 a8 02 75 41
I encountered this bug as well and was able to fix it by applying this commit from the alpha branch of spacefm as a patch file in the debian source version of spacefm https://github.com/IgnorantGuru/spacefm/commit/29219e1b09949683dcfe1d41bdf7d4f54687a95d it appears that this fix was never released in a stable version of spacefm, but it fixes the behaviour for me.