RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1026561 - Nautilus crashes on folder removal in browser mode
Summary: Nautilus crashes on folder removal in browser mode
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: nautilus
Version: 6.4
Hardware: i686
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Carlos Soriano
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1271696
TreeView+ depends on / blocked
 
Reported: 2013-11-05 00:48 UTC by Emily
Modified: 2016-05-11 01:11 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-11 01:11:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Fix based on current nautilus code, see description (811 bytes, patch)
2013-11-05 00:48 UTC, Emily
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0959 0 normal SHIPPED_LIVE nautilus bug fix update 2016-05-10 22:57:09 UTC

Description Emily 2013-11-05 00:48:38 UTC
Created attachment 819428 [details]
Fix based on current nautilus code, see description

Description of problem:
Nautilus can crash in browser mode if a folder that was previously visited and is thus still visible in the location bar gets deleted.

This is caused by a corrupt button entry in the location bar that points to invalid/unmapped memory after a directory present in the location bar got removed. As soon as nautilus traverses the list for whatever reason(there are multiple examples of that in the code), it crashes.

After a bit of investigation, I think that's caused by nautilus-2.31.5-cleanup-pathbar.patch, which tries to fix bug #690147(location bar not updated on folder removal) but fails at doing it properly. I've attached a fixed patch that is based on the current nautilus code[1], nautilus-cleanup-pathbar2.patch. It obseletes nautilus-2.31.5-cleanup-pathbar.patch.

[1] https://git.gnome.org/browse/nautilus/tree/src/nautilus-pathbar.c?id=481cf689488668012ca9d7a9c6b15b1dcd0cb465, line 1539+.

Version-Release number of selected component (if applicable):
2.28.4 / 2.28.4-19-el6 (i686)

How reproducible:
Almost always

Steps to Reproduce:
1. Enable browser mode and make sure the button location bar is active
2. mkdir ~/a/b/c
3. Open ~/a/b/c in nautilus
4. Change back to your home directory by clicking it in the location bar or using Alt+Up
5. Move a to trash by right click->Move to trash

Actual results:
Nautilus crashes most of the time. Sometimes it doesn't, but instead shows a corrupted location bar:
[Username] -> [Empty] -> b -> c
and gets highly unstable after that.


Expected results:
a, b and c removed from location bar, no crash of course.


Additional info:
I'm unable to test this issue on an actual RHEL installation. I'm not a Red Hat customer, and apparently I don't qualify for evaluation due to my e-mail address. So this was tested on a popular RHEL6 rebuild.
However, I highly suspect that this issue also affects RHEL, as the Red Hat specific patch that adds this is also be present there.

Comment 8 errata-xmlrpc 2016-05-11 01:11:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0959.html


Note You need to log in before you can comment on or make changes to this bug.