[Bug 655721] Re: Nautilus crashes when adding a share

Didier Roche didrocks at ubuntu.com
Mon Nov 8 10:47:58 UTC 2010


** Also affects: nautilus-share (Ubuntu Maverick)
   Importance: Undecided
       Status: New

** Changed in: nautilus-share (Ubuntu Maverick)
       Status: New => Triaged

** Changed in: nautilus-share (Ubuntu Maverick)
   Importance: Undecided => High

** Description changed:

  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.

-- 
Nautilus crashes when adding a share
https://bugs.launchpad.net/bugs/655721
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.

Status in “nautilus-share” package in Ubuntu: Fix Released
Status in “nautilus-share” source package in Maverick: Triaged

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.






More information about the Ubuntu-sponsors mailing list