← Back to team overview

desktop-packages team mailing list archive

[Bug 1510587] Re: Nautilus crashes when delete a file in a folder which is a symbolic link to another filesystem

 

** Project changed: glib => glib2.0 (Ubuntu)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1510587

Title:
  Nautilus crashes when delete a file in a folder which is a symbolic
  link to another filesystem

Status in Nautilus:
  Confirmed
Status in glib2.0 package in Ubuntu:
  New
Status in nautilus package in Ubuntu:
  Triaged

Bug description:
  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
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/nautilus/+bug/1510587/+subscriptions


References