← Back to team overview

desktop-packages team mailing list archive

[Bug 1405441] Re: nautilus crashes when trying to view the properties of /var/lib/clamav with gksudo or sudo

 

** Changed in: nautilus (Ubuntu)
       Status: Fix Released => New

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

Title:
  nautilus crashes when trying to view the properties of /var/lib/clamav
  with gksudo or sudo

Status in Ubuntu GNOME:
  Fix Released
Status in nautilus package in Ubuntu:
  New

Bug description:
  [Impact]

   * Prevents a user from use sudo or gksudo to view or change the owner
  properties of folder not owned by root. In this case clamav

   * This also fixes the following upstream bug report which has not
  been reported on launchpad:
  https://bugzilla.gnome.org/show_bug.cgi?id=700492

   * The debdiff above applies a fix from upstream gnome git:
  https://git.gnome.org/browse/nautilus/commit/?id=f7d1394a03e6d02cd5c67f9c85a142e33f14566f
  but has been fixed in 3.14.2 of nautilus and is not present in vivid

  [Test Case]

  * Install gksu and clamav (sudo apt-get install gksu clamav)
  * Run gksudo nautilus from the terminal
  * Navigate to /var/lib and right-click on the folder clamav and click on Properties
  * Nautilus crashes with a segfault in _IO_vfprintf_internal

  [Regression Potential]
  * Low, this patch just fixes incorrect handling of owner field, it should not introduce any issues and has been well tested in 3.14.

  -----

  This constantly happens when trying to look at the properties of a
  file after running gksudo nautilus.

  ProblemType: Crash
  DistroRelease: Ubuntu 14.04
  Package: nautilus 1:3.12.2-0ubuntu1~trusty3 [origin: LP-PPA-gnome3-team-gnome3-staging]
  Uname: Linux 3.14.0-031400-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: amd64
  Date: Wed Dec 24 08:33:41 2014
  ExecutablePath: /usr/bin/nautilus
  GsettingsChanges:

  InstallationDate: Installed on 2014-10-24 (61 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  ProcCmdline: nautilus
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SegvAnalysis:
   Segfault happened at: 0x7f37cd17e8f3 <_IO_vfprintf_internal+7443>:	repnz scas %es:(%rdi),%al
   PC (0x7f37cd17e8f3) ok
   source "%es:(%rdi)" (0x2078756d00202d00) not located in a known VMA region (needed readable region)!
   destination "%al" ok
  SegvReason: reading unknown VMA
  Signal: 11
  SourcePackage: nautilus
  StacktraceTop:
   _IO_vfprintf_internal (s=s@entry=0x7fff36e8aa30, format=<optimized out>, format@entry=0x4f454e "%s\n%s", ap=ap@entry=0x7fff36e8aba8) at vfprintf.c:1661
   __GI___vasprintf_chk (result_ptr=0x7fff36e8ab88, flags=1, format=0x4f454e "%s\n%s", args=0x7fff36e8aba8) at vasprintf_chk.c:66
   g_vasprintf () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
   g_strdup_vprintf () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
   g_strdup_printf () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  Title: nautilus crashed with SIGSEGV in _IO_vfprintf_internal()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-gnome/+bug/1405441/+subscriptions