-
Notifications
You must be signed in to change notification settings - Fork 663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nautilus crashes when creating new folder in owncloud folder and renaming it #3067
Comments
Did you try running it inside gdb?
Then on crash you do: |
What is crashing? owncloud or Nautilus? |
Nautilus, owncloud is running fine. Will try to get a backtrace |
Interesting, while and after running nautilus in gdb it didn't crash anymore. Will try to reproduce this |
Got it. Does this help already or do i need more debug symbols? Program received signal SIGSEGV, Segmentation fault. Thread 7 (Thread 0x7fffe386f700 (LWP 908)): Thread 6 (Thread 0x7fffe1bcb700 (LWP 909)): Thread 5 (Thread 0x7fffcf7fe700 (LWP 938)): Thread 3 (Thread 0x7fffe9c24700 (LWP 906)): Thread 1 (Thread 0x7ffff7fa7940 (LWP 902)): |
Do you have the Nautilus integration for the icon overlays inside the sync folders running? |
Yes, python-nautilus is installed. Will try without |
Seems to work fine without |
hmm, are you sure that the python-nautilus does match the nautilus version that is running? I.e. if you updated nautilus to a more recent version that is not bin compatible to the python bindings, that might crash. |
I'm using the one available in arch so i dont have a choice really. Icons and updating the icons while syncing works fine. |
It works just fine on fedora 20 x64 (nautilus 3.10.1, nautilus-python 1.1) , same OC client version as piratenpanda with icon overlays running. All packages from official repos. |
@piratenpanda Unfortunately the backtrace doesn't tell me much. Would you be up for testing a couple of things? Open your installed syncstate.py (probably in .../share/nautilus-python/extensions/syncstate.py):
It that doesn't do it, let's try to narrow down the problem locaton:
I'm somewhat suspicious of how the script stores the FileInfo items it gets from update_file_info() - it may need to be rewritten to use the async update_file_info_full()... |
Changing the two lines didn't help. And i noticed renaming works fine a few times and then it crashes for the n-th time you rename folders. Removing the MenuExtension class doesn't change it. When removing the whole extension i can't get nautilus to crash |
@piratenpanda Thanks for the test! Removing only the SyncStateExtension makes it work, correct? |
When you mean deleting the file in the python-nautilus extension directory then yes |
@piratenpanda No, I mean removing everything between |
ah ok, i misunderstood because the file is called syncstate.py and in an extension dir. Let me try it now. |
Removing the SyncStateExtension class seems to "fix" it, yes |
@piratenpanda Okay, thanks. Unfortunately that means it'll probably not be a simple fix. I think we can't store the FileInfo objects we get from |
@piratenpanda I now installed everything in a VM with archlinux, nautilus 3.14.2 and owncloud 38ef52. I can't reproduce the problem. I'm creating new folders and renaming them immediately or after a short pause. Is there anything in particular I should try? |
I have to create a few folders quickly in sequence. And after a few times it crashes. |
I've now made 35 folders in quick succession in various subfolders but can't reproduce it. :/ This makes it less clear that there's an actual bug here. I'll ask someone from nautilus-python whether our usage of update_file_info is safe - but it's not necessary for 1.8.1. |
Please re-open if you have more info |
I'm running latest client (38ef52) available in manjaro linux with nautilus 3.14.2. When creating a new folder, owncloud starts syncing right away but when renaming the folder, a standard procedure after creating a new folder, it crashes. Is there any way I can debug?
The text was updated successfully, but these errors were encountered: