← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2119684] [NEW] Nautilus crashes with "Segmentation fault" when pressing arrow keys in empty directory on Ubuntu 24.04

 

Public bug reported:

**Description:**
When using Nautilus (Files) on Ubuntu 24.04, opening an empty directory and pressing any arrow key causes Nautilus to immediately crash and exit with a "Segmentation fault" error.

**Steps to Reproduce:**

1. Open Nautilus.
2. Navigate to any empty directory.
3. Press any arrow key (Up, Down, Left, or Right) on the keyboard.
4. Observe that Nautilus crashes and closes abruptly.

**Expected Behavior:**
Nautilus should not crash. Pressing arrow keys in an empty directory should either do nothing or move focus according to standard navigation behavior.

**Actual Behavior:**
Nautilus closes immediately, and running it from the terminal shows the following error message: Segmentation fault

**Environment:**

* OS: Ubuntu 24.04.3 LTS
* Tested under:Wayland

**Additional Notes:**

* This issue only occurs when the directory is completely empty (contains no files or subfolders).
* The crash is consistent and reproducible every time.
* Running Nautilus in terminal mode confirms a segmentation fault occurs right after the arrow key input.
* This bug appears to have started after the fix for https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/2066062 was applied. It’s possible that the changes introduced in that patch introduced a regression when handling keyboard navigation in empty directories.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: nautilus 1:46.4-0ubuntu0.1
ProcVersionSignature: User Name 6.14.0-27.27~24.04.1-generic 6.14.6
Uname: Linux 6.14.0-27-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Aug  6 17:21:07 2025
GsettingsChanges:
 b'org.gnome.nautilus.list-view' b'default-zoom-level' b"'small'"
 b'org.gnome.nautilus.preferences' b'default-folder-viewer' b"'list-view'"
 b'org.gnome.nautilus.preferences' b'fts-enabled' b'false'
 b'org.gnome.nautilus.preferences' b'migrated-gtk-settings' b'true'
 b'org.gnome.nautilus.window-state' b'initial-size' b'(889, 550)'
InstallationDate: Installed on 2025-08-06 (0 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_nautilus:
 file-roller                       44.3-0ubuntu1
 nautilus-extension-gnome-terminal 3.52.0-1ubuntu2

** Affects: nautilus (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/2119684

Title:
  Nautilus crashes with "Segmentation fault" when pressing arrow keys in
  empty directory on Ubuntu 24.04

Status in nautilus package in Ubuntu:
  New

Bug description:
  **Description:**
  When using Nautilus (Files) on Ubuntu 24.04, opening an empty directory and pressing any arrow key causes Nautilus to immediately crash and exit with a "Segmentation fault" error.

  **Steps to Reproduce:**

  1. Open Nautilus.
  2. Navigate to any empty directory.
  3. Press any arrow key (Up, Down, Left, or Right) on the keyboard.
  4. Observe that Nautilus crashes and closes abruptly.

  **Expected Behavior:**
  Nautilus should not crash. Pressing arrow keys in an empty directory should either do nothing or move focus according to standard navigation behavior.

  **Actual Behavior:**
  Nautilus closes immediately, and running it from the terminal shows the following error message: Segmentation fault

  **Environment:**

  * OS: Ubuntu 24.04.3 LTS
  * Tested under:Wayland

  **Additional Notes:**

  * This issue only occurs when the directory is completely empty (contains no files or subfolders).
  * The crash is consistent and reproducible every time.
  * Running Nautilus in terminal mode confirms a segmentation fault occurs right after the arrow key input.
  * This bug appears to have started after the fix for https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/2066062 was applied. It’s possible that the changes introduced in that patch introduced a regression when handling keyboard navigation in empty directories.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: nautilus 1:46.4-0ubuntu0.1
  ProcVersionSignature: User Name 6.14.0-27.27~24.04.1-generic 6.14.6
  Uname: Linux 6.14.0-27-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.8
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Aug  6 17:21:07 2025
  GsettingsChanges:
   b'org.gnome.nautilus.list-view' b'default-zoom-level' b"'small'"
   b'org.gnome.nautilus.preferences' b'default-folder-viewer' b"'list-view'"
   b'org.gnome.nautilus.preferences' b'fts-enabled' b'false'
   b'org.gnome.nautilus.preferences' b'migrated-gtk-settings' b'true'
   b'org.gnome.nautilus.window-state' b'initial-size' b'(889, 550)'
  InstallationDate: Installed on 2025-08-06 (0 days ago)
  InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: nautilus
  UpgradeStatus: No upgrade log present (probably fresh install)
  usr_lib_nautilus:
   file-roller                       44.3-0ubuntu1
   nautilus-extension-gnome-terminal 3.52.0-1ubuntu2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/2119684/+subscriptions



Follow ups