Nautilus crashes when adding a share

Bug #655721 reported by David Kiefer
72
This bug affects 9 people
Affects Status Importance Assigned to Milestone
nautilus-share (Ubuntu)
Fix Released
High
Chow Loong Jin
Maverick
Fix Released
High
Unassigned

Bug Description

Binary package hint: nautilus-share

Uploaded to -proposed:

 nautilus-share (0.7.2-13.1) maverick-proposed; urgency=low
 .
   * debian/patches/15_user-acl.patch:
     + Fix inverted logic when freeing memory causing nautilus to crash
       (LP: #655721)

-----------

Nautilus crashes when creating a share, more specifically when having selected either "Allow others to create and delete files in this folder" or "Guest access". In that case, Nautilus will ask if it should add the necessary permissions and when clicking on "Add the permissions automatically", Nautilus crashes. However, the share is still created correctly.

A representative backtrace:
*** glibc detected *** nautilus: munmap_chunk(): invalid pointer: 0x00007f5f72fe0d8f ***
======= Backtrace: =========
/lib/libc.so.6(+0x774b6)[0x7f5f8c5c84b6]
/usr/lib/nautilus/extensions-2.0/libnautilus-share.so(+0x7926)[0x7f5f72fdf926]
/usr/lib/nautilus/extensions-2.0/libnautilus-share.so(+0x5319)[0x7f5f72fdd319]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x15e)[0x7f5f8e261a6e]
/usr/lib/libgobject-2.0.so.0(+0x244d7)[0x7f5f8e2774d7]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x7e6)[0x7f5f8e278996]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7f5f8e278f53]
/usr/lib/libgtk-x11-2.0.so.0(+0x8de85)[0x7f5f8f426e85]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x15e)[0x7f5f8e261a6e]
/usr/lib/libgobject-2.0.so.0(+0x23da1)[0x7f5f8e276da1]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x7e6)[0x7f5f8e278996]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7f5f8e278f53]
/usr/lib/libgtk-x11-2.0.so.0(+0x8cb8d)[0x7f5f8f425b8d]
/usr/lib/libgtk-x11-2.0.so.0(+0x13a9d8)[0x7f5f8f4d39d8]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x15e)[0x7f5f8e261a6e]
/usr/lib/libgobject-2.0.so.0(+0x24120)[0x7f5f8e277120]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x62b)[0x7f5f8e2787db]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7f5f8e278f53]
/usr/lib/libgtk-x11-2.0.so.0(+0x2536df)[0x7f5f8f5ec6df]
/usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xc3)[0x7f5f8f4cbe73]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x2eb)[0x7f5f8f4ccf4b]
/usr/lib/libgdk-x11-2.0.so.0(+0x5c74c)[0x7f5f8f14674c]
/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1f2)[0x7f5f8d96d342]
/lib/libglib-2.0.so.0(+0x442a8)[0x7f5f8d9712a8]
/lib/libglib-2.0.so.0(g_main_loop_run+0x195)[0x7f5f8d9717b5]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xa7)[0x7f5f8f4cd3e7]
nautilus[0x441d22]
/lib/libc.so.6(__libc_start_main+0xfe)[0x7f5f8c56fd8e]
nautilus[0x42ef89]

I'm using the 10.10 development branch and nautilus-share 0.7.2-13.

TEST CASE:
1. Right click on an unshared folder (make sure samba and everything else has already been installed and setup) and click Sharing Properties.
2. Check the "Share this folder" checkbox
3. Check the "Guest access" checkbox
4. Click Create Share.
5. Watch as nautilus crashes and burns. If it doesn't, then the bug is fixed.

Changed in nautilus-share (Ubuntu):
assignee: nobody → Chow Loong Jin (hyperair)
status: New → Confirmed
Changed in nautilus-share (Ubuntu):
importance: Undecided → High
Changed in nautilus-share (Ubuntu):
status: Confirmed → Fix Committed
Changed in nautilus-share (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 655721] Re: Nautilus crashes when adding a share

On Saturday 06,November,2010 12:07 AM, globaljuggler wrote:
> ** Changed in: nautilus-share (Ubuntu)
> Status: Fix Committed => Fix Released
>

No, it hasn't been uploaded yet.
  status fixcommitted

--
Kind regards,
Chow Loong Jin

Changed in nautilus-share (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nautilus-share - 0.7.2-14

---------------
nautilus-share (0.7.2-14) unstable; urgency=low

  * debian/patches/15_user-acl.patch:
    + Fix inverted logic when freeing memory causing nautilus to crash
      (LP: #655721)
  * debian/control: No change Standards-version bump from 3.8.4 to 3.9.1
 -- Ubuntu Archive Auto-Sync <email address hidden> Sun, 07 Nov 2010 11:50:20 +0000

Changed in nautilus-share (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Chow Loong Jin (hyperair) wrote :

Here's a patch against 0.7.2-14 (currently in Natty) for uploading to maverick-proposed. As for the delta from 0.7.2-13 (maverick), it can be seen here: http://launchpadlibrarian.net/58769658/nautilus-share_0.7.2-13_0.7.2-14.diff.gz

Changed in nautilus-share (Ubuntu Maverick):
status: New → Triaged
importance: Undecided → High
description: updated
description: updated
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted nautilus-share into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in nautilus-share (Ubuntu Maverick):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
darolu (darolu) wrote :

I just installed the proposed package and it worked fine.
I right clicked an unshared folder and I was able to share the folder from there.
I haven't found any problem so far.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nautilus-share - 0.7.2-13.1

---------------
nautilus-share (0.7.2-13.1) maverick-proposed; urgency=low

  * debian/patches/15_user-acl.patch:
    + Fix inverted logic when freeing memory causing nautilus to crash
      (LP: #655721)
 -- Chow Loong Jin <email address hidden> Fri, 22 Oct 2010 14:46:29 +0800

Changed in nautilus-share (Ubuntu Maverick):
status: Fix Committed → Fix Released
tags: added: testcase
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.