[Bug 879130] Re: invalid read (segfault) on duplicate lines in .hidden
the issue is fixed in quantal ** Changed in: nautilus (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/879130 Title: invalid read (segfault) on duplicate lines in .hidden To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/879130/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 879130] Re: invalid read (segfault) on duplicate lines in .hidden
** Changed in: nautilus Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/879130 Title: invalid read (segfault) on duplicate lines in .hidden To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/879130/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 879130] Re: invalid read (segfault) on duplicate lines in .hidden
** Tags added: precise -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/879130 Title: invalid read (segfault) on duplicate lines in .hidden To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/879130/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 879130] Re: invalid read (segfault) on duplicate lines in .hidden
Thanks Aaron, do you think you could add that comment on https://bugzilla.gnome.org/show_bug.cgi?id=668674 as well? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/879130 Title: invalid read (segfault) on duplicate lines in .hidden To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/879130/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 879130] Re: invalid read (segfault) on duplicate lines in .hidden
I decided to keep looking at this since I had already started. Just to be clear, the work around of removing duplicates from .hidden works fine to fix this. But here's what I found in the code (caution: I'm new to programming with linux, feel free to correct me) -The crash occurs because the GHashTable has a key_destroy_func and g_hash_table_insert_node() is called with keep_new_key = false instead of true in ghash.c -In order to fix this, g_hash_table_replace() should be used instead of g_hash_table_insert() in read_dot_hidden_file() in nautilus-directory-async.c. I ran nautilus with this change and it didn't crash anymore. -I did a quick search to see if this situation happens anywhere else in Nautilus, the only spot I found is at nautilus-view.c:3315, but I'm not sure if that's an issue or not. -If I am correct, it seems strange that the comments in ghash.c for using GHashTable as a set indicate that g_hash_table_insert should be used, when it actually causes this issue. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/879130 Title: invalid read (segfault) on duplicate lines in .hidden To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/879130/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 879130] Re: invalid read (segfault) on duplicate lines in .hidden
** Changed in: nautilus Status: Unknown => New ** Changed in: nautilus Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/879130 Title: invalid read (segfault) on duplicate lines in .hidden To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/879130/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 879130] Re: invalid read (segfault) on duplicate lines in .hidden
Thank you for the steps, I can confirm the issue, the .hidden use is non standard though: https://bugzilla.gnome.org/show_bug.cgi?id=668674 ** Bug watch added: GNOME Bug Tracker #668674 https://bugzilla.gnome.org/show_bug.cgi?id=668674 ** Changed in: nautilus (Ubuntu) Status: Confirmed => Triaged ** Also affects: nautilus via https://bugzilla.gnome.org/show_bug.cgi?id=668674 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/879130 Title: invalid read (segfault) on duplicate lines in .hidden To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/879130/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 879130] Re: invalid read (segfault) on duplicate lines in .hidden
** Summary changed: - nautilus crashes when browsing folders on 11.10 with SIGABRT in raise() + invalid read (segfault) on duplicate lines in .hidden -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/879130 Title: invalid read (segfault) on duplicate lines in .hidden To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/879130/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs