Package: spacefm
Version: 1.0.6-4
Severity: normal

Dear Maintainer,

Different characters and symbols in folder names will freeze and spike
the cpu usage to 100% for spacefm. The only change I can see is that a
horizontal bar gets added to the path field. (To see the horizontal
bar do steps: 1, 2.5 but don't go inside
"l_daacc_this_iz_am_tomiio_oww_-Ro" instead: Right click on it >
Rename and look at the path field.)

Some characters are interchangeable in the folder name:
a = o, u, e
d = q, b, v
_ = z, L, c

In the quick testing I did, the following symbols seem to be needed
to "push" it so it not only wraps (in the path field) but also gets
the horizontal bar:
-, w, #, ^, [, ], (, ), !

Steps to reproduce:
1. Create this folder path and cd into atatlza:
/home/jack/Downloads/abcdef_gh_1234a/123/atatlza/

2. Right click > New > Folder and paste the following:
l_daacc_this_iz_am_tomiio_oww_-Ro

You should notice that spacefm has frozen and top/htop report it
using 100% cpu.

Alternatively you can paste the full folder path into the path field
and see the same results.
/home/jack/Downloads/abcdef_gh_1234a/123/atatlza/l_daacc_this_iz_am_tomiio_oww_-Ro

2.5. Making the folder elsewhere and moving it in:
Make the "l_daacc_this_iz_am_tomiio_oww_-Ro" folder then move it
inside atatlza. Go inside and Right click > New > Folder and get the
same results as step 2.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.3.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages spacefm depends on:
ii  desktop-file-utils        0.24-1
ii  e2fsprogs                 1.45.4-1
ii  libc6                     2.29-2
ii  libcairo2                 1.16.0-4
ii  libffmpegthumbnailer4v5   2.1.1-0.2+b1
ii  libgdk-pixbuf2.0-0        2.40.0+dfsg-1
ii  libglib2.0-0              2.62.2-1
ii  libgtk2.0-0               2.24.32-4
ii  libpango-1.0-0            1.42.4-7
ii  libpangocairo-1.0-0       1.42.4-7
ii  libstartup-notification0  0.12-6
ii  libudev1                  242-7
ii  libx11-6                  2:1.6.8-1
ii  shared-mime-info          1.10-1
ii  spacefm-common            1.0.6-4

Versions of packages spacefm recommends:
ii  udisks2  2.8.4-1

Versions of packages spacefm suggests:
ii  dbus    1.12.16-2
ii  eject   2.1.5+deb1+cvs20081104-14+b1
pn  gksu    <none>
pn  ktsuss  <none>
ii  lsof    4.93.2+dfsg-1
ii  sshfs   2.10+repack-2+b1
pn  udevil  <none>
ii  wget    1.20.3-1+b2

-- no debconf information

Reply via email to