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 Desktop Bugs, which is subscribed to nautilus in 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 -- desktop-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
