files icon indicating copy to clipboard operation
files copied to clipboard

Files Crash on Opening Deleted Folder

Open Ppamungkas opened this issue 9 months ago • 0 comments

What Happened?

Files is crashed on opening a deleted folder. I got segmentation fault.

Steps to Reproduce

  1. Open files in column view mode and then create a new folder
  2. Go to the new folder by double click it.
  3. Close the files
  4. Delete the new folder using terminal
  5. Files will crash when you open it.

Expected Behavior

Files should open fine when opening a deleted files by opening the home directory or parent existed folder.

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

~$ io.elementary.files

** (io.elementary.files:735162): WARNING **: 10:12:57.448: Window.vala:623: Cannot restore file:///home/ppamungkas/temporary/untitled%20folder, ignoring

(io.elementary.files:735162): GLib-CRITICAL **: 10:12:57.566: Source ID 70 was not found when attempting to remove it

** (io.elementary.files:735162): CRITICAL **: 10:12:57.566: files_view_view_container_get_uri: assertion 'self != NULL' failed

** (io.elementary.files:735162): CRITICAL **: 10:12:57.566: files_view_window_update_labels: assertion 'uri != NULL' failed

** (io.elementary.files:735162): CRITICAL **: 10:12:57.566: files_view_view_container_set_active_state: assertion 'self != NULL' failed

** (io.elementary.files:735162): CRITICAL **: 10:12:57.566: files_view_view_container_get_uri: assertion 'self != NULL' failed

** (io.elementary.files:735162): CRITICAL **: 10:12:57.566: sidebar_sidebar_window_real_sync_uri: assertion 'location != NULL' failed

** (io.elementary.files:735162): CRITICAL **: 10:12:57.566: files_view_view_container_get_is_frozen: assertion 'self != NULL' failed

(io.elementary.files:735162): Handy-CRITICAL **: 10:12:57.566: hdy_tab_view_get_page_position: assertion 'HDY_IS_TAB_PAGE (page)' failed

(io.elementary.files:735162): GLib-GObject-WARNING **: 10:12:57.566: invalid (NULL) pointer instance

(io.elementary.files:735162): GLib-GObject-CRITICAL **: 10:12:57.566: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Segmentation fault


### Hardware Info

_No response_

Ppamungkas avatar May 29 '24 03:05 Ppamungkas