GNOME Bugzilla – Bug 757192
Nautilus crashes when delete a file in a folder which is a symbolic link to another filesystem
Last modified: 2015-11-17 17:11:01 UTC
Nautilus crashes with an "assertion error" whenever accessing a folder, which is a symbolic link to a folder in another filesystem, and then deleting any file inside that folder (the file is not deleted). Steps I used to reproduce de problem in my machine: 1) /dev/sda1 partition mounted on root folder with XFS filesystem; 2) /dev/sda2 partition mounted on /mnt/data folder partition with EXT4 filesystem; 3) create a folder "/mnt/data/test" and the empty text file "/mnt/data/test/file.txt"; 4) in your home folder, create a symbolic to the "test" folder above with "ln -s /mnt/data/test"; 5) open the symbolic link folder with "nautilus <home_folder>/test"; 6) delete the "file.txt" file (pressing the delete button) and watch nautilus crashing with the following error: nautilus: malloc.c:2909: __libc_malloc: Assertion `!victim || ((((mchunkptr)((char*)(victim) - 2*(sizeof(size_t)))))->size & 0x2) || ar_ptr == (((((mchunkptr)((char*)(victim) - 2*(sizeof(size_t)))))->size & 0x4) ? ((heap_info *) ((unsigned long) (((mchunkptr)((char*)(victim) - 2*(sizeof(size_t))))) & ~((2 * (4 * 1024 * 1024 * sizeof(long))) - 1)))->ar_ptr : &main_arena)' failed. Abortado ProblemType: Bug DistroRelease: Ubuntu 15.10 Package: nautilus 1:3.14.2-0ubuntu12 ProcVersionSignature: Ubuntu 4.2.0-17.20-generic 4.2.3 Uname: Linux 4.2.0-17-generic x86_64 ApportVersion: 2.19.1-0ubuntu3 Architecture: amd64 CurrentDesktop: Unity Date: Tue Oct 27 12:59:23 2015 GsettingsChanges: b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 'type', 'date_modified', 'date_accessed', 'owner', 'group', 'permissions', 'mime_type', 'where']" InstallationDate: Installed on 2015-10-23 (3 days ago) InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021) SourcePackage: nautilus
I don't think that this is nautilus specific. I have just tried to reproduce this on other file managers (e.g., nemo and thunar) and they also crash. The problem seems to be related with glib. So any file manager that relies on it will crash. Can anyone confirm if my assertion is correct?
(In reply to Pedro Albuquerque from comment #1) > I don't think that this is nautilus specific. I have just tried to reproduce > this on other file managers (e.g., nemo and thunar) and they also crash. The > problem seems to be related with glib. So any file manager that relies on it > will crash. > > Can anyone confirm if my assertion is correct? It could be a GLIB problem, not specific to Nautilus, take a look at the bug report at: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1510587
*** This bug has been marked as a duplicate of bug 757693 ***