Drag-n-drop tab to new window, while SFTP mount is loading, crashes nemo

Open
#2,762 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c
Domain
desktop

Research direction

Start by reproducing the crash using a slow SFTP mount, an incompletely loaded new tab, and tab drag-and-drop into a new window. Trace the SIGABRT through the tab tear-off and loading paths, then verify that moving a still-loading tab no longer closes all Nemo windows and that the other listed scenarios remain unaffected.

Written by the indexing model from the issue text.

Description

BUG
 * Nemo version 5.0.1
 * Windowed nemo
 * Arch Linux

Issue
When drag-n-dropping a nemo tab to create a new window, while an SFTP mount is loading, all nemo windows crash.

Steps to reproduce

  • Mount an SFTP host through nemo (preferably a slow one, which takes long to load; easier to reproduce)
  • Open the mount, wait for it to load
  • Create a new tab (Ctrl+T?). The new tab opens in the same location as the last one; the SFTP mount, and begins loading
  • Before the new tab has finished loading, drag-n-drop it outside the window, so as to create a new nemo window
  • All open nemo windows close (SIGABRT)

Additional information

  • If instead, at step 4, the new tab has finished loading before dragging it out, the problem does not appear
  • Also, I think it only happens when dragging the new tab, that's currently loading. Not when dragging the old tab, that's already loaded, while the new one still is.
  • I've only tested an SFTP mount, but it's quite possible it also happens for other mount types.
Dominant language
C
Stars
1.6k
Forks
368
Avg merge
4d 4h
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linuxmint/nemo

All issues in linuxmint/nemo

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.