This is what currently happening for me during one of the tests:

ubuntuone_nautilus_observed_file_unref file=0x112ad90
ubuntuone_nautilus_observed_file_unref 
uri=davs://storage.lappyfamily.net/Stuff/test/DSC00806.JPG
ubuntuone_nautilus_observed_file_unref path=(null)

I believe uon->observed should contain not the path as the key but the
pointer to NautilusFileInfo structure. Later on dereferencing should be
handled by removing the NautilsFileInfo using the pointer. This will
prevent the leaks of the hash table entries which will happen in case we
simply discard the URIs that do not return local paths.

** Description changed:

- Binary package hint: ubuntuone-client
+ This crash happens when a user is copying/cutting and pasting the
+ files/folders between local and remote storage. The code that removes
+ references to NautilusFileInfo does not check whether the file is indeed
+ a local one. NautilusFileInfo can change its underlying path in case the
+ file is being cut (copied) and pasted to the remote storage.
  
- This looks similar to bug 645931, though it's hard to tell until it's
- retraced.
  
- It happened while I was copying a large file to an SMB share. After
- nautilus restarted, I restarted the copy operation, and it completed
- successfully.
+ It happened while I was copying a large file to an SMB share. After nautilus 
restarted, I restarted the copy operation, and it completed successfully.
  
  ProblemType: Crash
  DistroRelease: Ubuntu 10.10
  Package: ubuntuone-client-gnome 1.4.5-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.35-23.40-generic 2.6.35.7
  Uname: Linux 2.6.35-23-generic x86_64
  Architecture: amd64
  CrashCounter: 1
  Date: Wed Nov 24 14:39:34 2010
  ExecutablePath: /usr/bin/nautilus
  ProcCmdline: nautilus
  ProcEnviron:
-  PATH=(custom, user)
-  LANG=en_GB.utf8
-  SHELL=/bin/zsh
+  PATH=(custom, user)
+  LANG=en_GB.utf8
+  SHELL=/bin/zsh
  SegvAnalysis:
-  Segfault happened at: 0x7f18bd8a6ec0 <g_str_hash>:   movsbl (%rdi),%eax
-  PC (0x7f18bd8a6ec0) ok
-  source "(%rdi)" (0x00000000) not located in a known VMA region (needed 
readable region)!
-  destination "%eax" ok
+  Segfault happened at: 0x7f18bd8a6ec0 <g_str_hash>:   movsbl (%rdi),%eax
+  PC (0x7f18bd8a6ec0) ok
+  source "(%rdi)" (0x00000000) not located in a known VMA region (needed 
readable region)!
+  destination "%eax" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: ubuntuone-client
  StacktraceTop:
-  g_str_hash () from /lib/libglib-2.0.so.0
-  g_hash_table_lookup () from /lib/libglib-2.0.so.0
-  ?? () from /usr/lib/nautilus/extensions-2.0/libnautilus-ubuntuone.so
-  ?? () from /usr/lib/libgobject-2.0.so.0
-  g_datalist_id_set_data_full () from /lib/libglib-2.0.so.0
+  g_str_hash () from /lib/libglib-2.0.so.0
+  g_hash_table_lookup () from /lib/libglib-2.0.so.0
+  ?? () from /usr/lib/nautilus/extensions-2.0/libnautilus-ubuntuone.so
+  ?? () from /usr/lib/libgobject-2.0.so.0
+  g_datalist_id_set_data_full () from /lib/libglib-2.0.so.0
  Title: nautilus crashed with SIGSEGV in g_str_hash()
  UserGroups: adm admin audio cdrom dialout fuse kvm libvirtd lpadmin plugdev 
sambashare video

** Changed in: ubuntuone-client (Ubuntu)
     Assignee: (unassigned) => Ubuntu One Desktop+ team (ubuntuone-desktop+)

** Changed in: ubuntuone-client (Ubuntu)
       Status: New => Confirmed

** Changed in: ubuntuone-client (Ubuntu)
       Status: Confirmed => Triaged

-- 
nautilus crashed with SIGSEGV in g_str_hash() 
[ubuntuone_nautilus_observed_file_unref]
https://bugs.launchpad.net/bugs/680968
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to