[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
This bug was fixed in the package nautilus - 1:3.14.2-0ubuntu14 --- nautilus (1:3.14.2-0ubuntu14) xenial; urgency=medium * debian/patches/ubuntu_revert_no_wallpaper.patch: - update to listen to scale factor changes (lp: #1480217) -- Lars UebernickelMon, 02 Nov 2015 14:22:11 + ** Changed in: nautilus (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
** Package changed: nautilus (Fedora) => ubuntu-translations ** Changed in: ubuntu-translations Importance: Unknown => Undecided ** Changed in: ubuntu-translations Status: Unknown => New ** Changed in: ubuntu-translations Remote watch: Red Hat Bugzilla #1043185 => None ** No longer affects: ubuntu-translations ** Changed in: nautilus (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
This bug was fixed in the package nautilus - 1:3.10.1-0ubuntu9.10 --- nautilus (1:3.10.1-0ubuntu9.10) trusty; urgency=medium * debian/patches/0001-Respect-gtk-dialogs-use-header-for-all-dialogs.patch: Fix a function to not return NULL, as its callers didn't always handle this and sometimes would crash. For example there was a case where samba would give us empty display names if a share name overflowed the maximum length allowed, and this tripped us up and crashed nautilus. (LP: #1280867) -- Iain LaneThu, 22 Oct 2015 11:23:04 +0100 ** Changed in: nautilus (Ubuntu Trusty) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
This bug was fixed in the package nautilus - 1:3.14.2-0ubuntu13 --- nautilus (1:3.14.2-0ubuntu13) wily; urgency=medium * debian/patches/0001-Respect-gtk-dialogs-use-header-for-all-dialogs.patch: Fix a function to not return NULL, as its callers didn't always handle this and sometimes would crash. For example there was a case where samba would give us empty display names if a share name overflowed the maximum length allowed, and this tripped us up and crashed nautilus. (LP: #1280867) -- Iain LaneThu, 22 Oct 2015 11:03:27 +0100 ** Changed in: nautilus (Ubuntu Wily) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
Is there a fix for Vivid available/necessary as well? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
That bug is not caused by this ** Tags removed: verification-failed verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
I didn't reproduce this again since I made the fix, but I checked e.u.c and there don't appear to be any regressions caused by this bug. I want to clear the way for another SRU, so v-done. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
** Tags removed: rls-w-incoming ** Tags added: rls-x-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
Hello 14...@mail.ru, or anyone else affected, Accepted nautilus into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nautilus/1:3.10.1-0ubuntu9.10 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: nautilus (Ubuntu Wily) Status: In Progress => Fix Committed ** Changed in: nautilus (Ubuntu Trusty) Status: In Progress => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
** Bug watch removed: Samba Bugzilla #10896 https://bugzilla.samba.org/show_bug.cgi?id=10896 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
** Changed in: nautilus (Ubuntu Trusty) Status: New => Triaged ** Changed in: nautilus (Ubuntu Trusty) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
I uploaded this to wily and trusty, please test when asked - we had some trouble reproducing reliably. ** Description changed: + [ Description ] + + If a samba share has an empty name, nautilus will crash when you browse + to the listing of shares. + + [ QA ] + + - Be on a setup (or create one) where you tickle https://bugzilla.samba.org/show_bug.cgi?id=10896 + - Open nautilus, hit ctrl-l, browse to smb://workgroups + - Nautilus crashes (or doesn't crash with the fix) + + [ Fix ] + + Fix nautilus_file_peek_display_name () to not return NULL ever, as some of its + callers weren't prepared to handle this. + + [ Regression potential ] + + Should only change crashes to non-crashes, but maybe a caller I missed + handled NULL properly and now will behave weirdly. I grepped the source + and didn't find one, though. + + [ Original release ] + samba, Ubuntu 14.04 (alpha) ProblemType: Crash DistroRelease: Ubuntu 14.04 Package: nautilus 1:3.10.1-0ubuntu4 ProcVersionSignature: Ubuntu 3.13.0-8.28-generic 3.13.2 Uname: Linux 3.13.0-8-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.13.2-0ubuntu4 Architecture: amd64 CurrentDesktop: Unity Date: Sun Feb 16 22:44:08 2014 ExecutablePath: /usr/bin/nautilus GsettingsChanges: b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 'type', 'date_modified', 'date_accessed', 'owner', 'group', 'permissions', 'mime_type', 'where']" InstallationDate: Installed on 2014-02-15 (1 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140214) ProcCmdline: nautilus -n SegvAnalysis: - Segfault happened at: 0x4bef0a: movzbl (%r12),%ecx - PC (0x004bef0a) ok - source "(%r12)" (0x) not located in a known VMA region (needed readable region)! - destination "%ecx" ok + Segfault happened at: 0x4bef0a: movzbl (%r12),%ecx + PC (0x004bef0a) ok + source "(%r12)" (0x) not located in a known VMA region (needed readable region)! + destination "%ecx" ok SegvReason: reading NULL VMA Signal: 11 SourcePackage: nautilus StacktraceTop: - ?? () - ?? () - ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 - ?? () - ?? () + ?? () + ?? () + ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 + ?? () + ?? () Title: nautilus crashed with SIGSEGV UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo ** Changed in: nautilus (Ubuntu Trusty) Status: Triaged => In Progress ** Changed in: nautilus (Ubuntu Wily) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
** Also affects: nautilus (Ubuntu Wily) Importance: High Status: Triaged ** Also affects: nautilus (Ubuntu Trusty) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
** Branch linked: lp:~ubuntu-desktop/nautilus/ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
** Changed in: nautilus Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
** Tags added: rls-w-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
The empty name seems to be a samba bug resolve upstream, see https://bugzilla.samba.org/show_bug.cgi?id=10896 ** Bug watch added: Samba Bugzilla #10896 https://bugzilla.samba.org/show_bug.cgi?id=10896 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
@Doug, thanks, that's an useful comment. That function indeed seems to not handle null cases correctly, the upstream GNOME bug seems to indicator a similar case -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
I'm also running into a segfault in compare_by_display_name(). A little more info on a use case that can cause the issue: I'm trying to browse the Windows network in nautilus. I go to Places-Network and go into the Windows Network directory. All the workgroups on the local network appear, and I try to enter one of them. At this point nautilus hangs for a while and/or crashes in compare_by_display_name(). If I run smbtree -N in the terminal, I see a bunch of servers and clients in the offending workgroup. Normal Ubuntu clients (not set up for serving) tend to appear as well. If one of the Ubuntu clients has a hostname that is too long to be automatically converted to a NetBIOS name, it shows up in the smbtree -N output with a blank NetBIOS name. Example: \\ really-long-name-of-computer server (Samba, Ubuntu) This blank name is what causes this bug in nautilus. If I go into the offending machines and give them a custom short NetBIOS name in /etc/samba/smb.conf, and restart nmbd on them, the problem goes away and I can browse the Windows network just fine. Perhaps compare_by_display_name() is not handling a NULL or empty string correctly? Either way, it looks like nmbd is auto-generating an empty name, so I would argue that it has a bug that is indirectly causing this bug at the same time. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
** Changed in: nautilus Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
** Tags added: utopic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1280867] Re: nautilus segfaults in compare_by_display_name()
** Changed in: nautilus Status: Unknown = New ** Changed in: nautilus Importance: Unknown = Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280867 Title: nautilus segfaults in compare_by_display_name() To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1280867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs