GNOME Bugzilla – Bug 773699
Nautilus crashes after keyboard navigation
Last modified: 2016-11-01 21:58:05 UTC
On Fedora 25 Beta, Nautilus crashes after keyboard navigation. Please see the Fedora Issue for abrt informations. https://bugzilla.redhat.com/show_bug.cgi?id=1387855 Prepare the following directory structure ~/myParent/myChild Steps to reproduce * Open Nautilus * Type "myParent" to search the directory - Now the directory myParent can be opened by the "ENTER" key * Press the "arrow down" key to select the directory "myChild" * Press the "ENTER" key >> Nautilus will be killed by SIGSEGV. Please note, if you select the directory "myChild" with the mouse, it works. Nautilus version: nautilus-3.22.1-1.fc25
*** This bug has been marked as a duplicate of bug 773150 ***
I can't reproduce using the given steps. but certainly, the commit from the linked bug will avoid this, as it will now return when it sees the file_list is NULL, which it is in the OP's backtrace.
I can reproduce both issues - this and bug 773150. And the behavior looks equals. In both, Nautilus draws a dotted border before pressing the enter key. So, lets wait, until the fix arrives in Fedora. Thx.
I'm assuming you're both using list mode. While my fix for that might cover this too, I'm curious to understand the original instructions better, as I can't get them to produce the same results. So when you've moved into the myParent directory and press Down, it only moves focus and doesn't select? i.e. you only get a dotted focus rectangle, but not a blue selection highlight? That was what I got with the simpler replication steps outlined in my ticket, where I didn't use searching or anything. However, here, I get both - focus and selection - and so when I press Enter to activate myChild, it's already selected, so the crasher when activating a NULL selection list is not hit. So either I'm doing something different, or Fedora has a patch I don't, or the original steps are missing a detail. This is with 3.22.1 on Debian sid (so I'm not accidentally running my patched version, for example)
(In reply to dboles from comment #4) > I'm assuming you're both using list mode. No, I switched to it to try to reproduce. > While my fix for that might cover > this too, I'm curious to understand the original instructions better, as I > can't get them to produce the same results. I cannot reproduce it consistently myself, it is really finicky.
(In reply to dboles from comment #4) > I'm assuming you're both using list mode. Yes, I'm using list mode > So when you've moved into the myParent directory and press Down, it only > moves focus and doesn't select? i.e. you only get a dotted focus rectangle, > but not a blue selection highlight? That was what I got with the simpler > replication steps outlined in my ticket, where I didn't use searching or > anything. Yes, this is the behavior. > > However, here, I get both - focus and selection - and so when I press Enter > to activate myChild, it's already selected, so the crasher when activating a > NULL selection list is not hit. > > So either I'm doing something different, or Fedora has a patch I don't, or > the original steps are missing a detail. I have spent some time for testing and set up a Virtualbox with Fedora 25 Beta and tested this with Nautilus-3.22.0-1.fc25 and Nautilus-3.22.1-1.fc25. Primarly, this was the result: nautilus-3.22.0-1.fc25 * Grid View works * List View works nautilus-3.22.1-1.fc25 * Grid View works * List View crashes I have tested 3 scenarios and recorded a screen-cast for each with List-View and Nautilus 3.22.1 * Exact steps to reproduce the crash * Steps without a crash * Other Steps without a crash The test steps are based on the same directory structure ~/parentDir/subDir The steps are complete – nothing is missing. Sometimes, it's tricky - dotted border or a label in the search result is highlighted or the icon in the search result is highlighted. Exact steps to reproduce the crash * Open Nautilus * type 'parentDir' >> Now, the label of the directory 'parentDir' is marked as selected (blue color) * press 'Enter' key * press 'arrow down' key >> Now, the line 'subDir' will have a dotted border * press 'Enter' key >> Now, the crash happens Steps without a crash * Open Nautilus * type 'parentDir' >> Now, the label of the directory 'parentDir' is marked as selected (blue color) * press 'Enter' key * press 'arrow down' key >> Now, the line 'subDir' will have a dotted border * press 'arrow down' key again >> Now, the line 'subDir' is marked as selected (blue color) - this result is different from the crash * press 'Enter' key >> the folder 'subDir' is opened Other Steps without a crash * Open Nautilus * type 'parentDir' >> Now, the label of the directory 'parentDir' is marked as selected (blue color) * press 'arrow down' key - this step is different from the crash >> Now, the icon of the directory 'parentDir' is marked as selected (blue color) * press 'Enter' key * press 'arrow down' key >> Now, the line 'subDir' is marked as selected (blue color) - this result is different from the crash * press 'Enter' key >> the folder 'subDir' is opened
Created attachment 338910 [details] Screencast - Exact steps to reproduce the crash
Created attachment 338911 [details] Other Steps without a crash
Created attachment 338912 [details] Steps without a crash