linuxmint / nemo

File browser for Cinnamon
GNU General Public License v2.0
1.2k stars 299 forks source link

[Bug -Memories leak] Nemo crashing the system when opening folder with hundreds of photos.(first time with no thumbnail cache)) #3438

Open Radek-Ken opened 2 months ago

Radek-Ken commented 2 months ago

Distribution

Mint 22

Package version

6.2.6

Frequency

Always

Bug description

When I open a folder that contains hundreds or thousands of photos, my computer freezes while the thumbnails are displaying. The first time thumbnail directory contains hundreds of photos, the system remains frozen and the mouse or keyboard does not respond. I tested with 2 PC desktop and with different SATA SSD and M.2 SSD and got the same error.

Steps to reproduce

  1. open a folder that contains hundreds or thousands of photos (open it first time with no thumbnail cache)
  2. quickly slide vertical slide bar to load as much as photo to thumbnail cache
  3. Your PC Freeze, the mouse and keyboard does not respond, whole system crash.

Expected behavior

Even Nemo crush, it should not freeze the PC. The mouse or keyboard should respond and keep Linux running.

Additional information

System: Kernel: 6.8.0-39-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0 Desktop: Cinnamon v: 6.2.7 Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble Machine: Type: Desktop System: ASUS product: N/A v: N/A serial: Mobo: ASUSTeK model: TUF GAMING B660M-PLUS D4 v: Rev 1.xx serial: UEFI: American Megatrends v: 1402 date: 04/01/2022 CPU: Info: 6-core model: 12th Gen Intel Core i5-12400 bits: 64 type: MT MCP arch: Alder Lake rev: 5 cache: L1: 480 KiB L2: 7.5 MiB L3: 18 MiB Speed (MHz): avg: 800 min/max: 800/4400 cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 bogomips: 59904 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx Graphics: Device-1: NVIDIA GA106 [GeForce RTX 3060 Lite Hash Rate] vendor: Micro-Star MSI driver: nvidia v: 535.183.01 arch: Ampere bus-ID: 01:00.0 Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: modesetting,nouveau,nvidia unloaded: fbdev,vesa gpu: nvidia,nvidia-nvswitch resolution: 1: N/A 2: 4096x2304~60Hz 3: N/A 4: N/A API: EGL v: 1.5 drivers: kms_swrast,nvidia,swrast platforms: active: gbm,x11,surfaceless,device inactive: wayland,device-1 API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 535.183.01 glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2 Audio: Device-1: Intel Alder Lake-S HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 Device-2: NVIDIA GA106 High Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 01:00.1 API: ALSA v: k6.8.0-39-generic status: kernel-api Server-1: PipeWire v: 1.0.5 status: active Network: Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel port: 3000 bus-ID: 05:00.0 IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: RAID: Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd v: 0.6 bus-ID: 00:0e.0 Drives: Local Storage: total: 3.68 TiB used: 41.51 GiB (1.1%) ID-1: /dev/nvme0n1 vendor: Seagate model: XPG GAMMIX S70 BLADE size: 953.87 GiB temp: 45.9 C ID-2: /dev/nvme1n1 vendor: Seagate model: XPG GAMMIX S70 BLADE size: 953.87 GiB temp: 52.9 C ID-3: /dev/sda vendor: AGI model: 2K0GIMAI238 size: 1.82 TiB Partition: ID-1: / size: 937.33 GiB used: 41.51 GiB (4.4%) fs: ext4 dev: /dev/nvme1n1p2 ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/nvme1n1p1 Swap: ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) file: /swapfile Sensors: System Temperatures: cpu: 48.0 C mobo: N/A gpu: nvidia temp: 46 C Fan Speeds (rpm): N/A gpu: nvidia fan: 0% Info: Memory: total: 64 GiB available: 62.54 GiB used: 3.08 GiB (4.9%) Processes: 330 Uptime: 7m Init: systemd target: graphical (5) Packages: 2337 Compilers: gcc: 13.2.0 Shell: Bash v: 5.2.21 inxi: 3.3.34

Radek-Ken commented 2 months ago

Stop thumbnail can solve the problem, and the system will not crash or freeze. I use Dolphin now as the mouse and keyboard never get freeze in same condition. I recommend everyone to switch to other file management tools or use other way get a preview of photos folder.

Radek-Ken commented 2 months ago

Xfce 's Thunar is also a good choice. Before Nemo fix I recommend Thunar.