nautilus segfaults in compare_by_display_name()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nautilus |
Fix Released
|
Critical
|
|||
nautilus (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
Wily |
Fix Released
|
High
|
Unassigned |
Bug Description
[ 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:/
- Open nautilus, hit ctrl-l, browse to smb://workgroups
- Nautilus crashes (or doesn't crash with the fix)
[ Fix ]
Fix nautilus_
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
ProcVersionSign
Uname: Linux 3.13.0-8-generic x86_64
NonfreeKernelMo
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.
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)" (0x00000000) 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_
?? ()
?? ()
Title: nautilus crashed with SIGSEGV
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
Related branches
information type: | Private → Public |
Changed in nautilus (Ubuntu): | |
status: | New → Triaged |
summary: |
- nautilus crashed with SIGSEGV + nautilus segfaults in compare_by_display_name() |
Changed in nautilus (Ubuntu): | |
importance: | Medium → High |
Changed in nautilus: | |
importance: | Unknown → Critical |
status: | Unknown → New |
tags: | added: utopic |
Changed in nautilus: | |
status: | New → Confirmed |
tags: | added: rls-w-incoming |
Changed in nautilus: | |
status: | Confirmed → Fix Released |
Changed in nautilus (Ubuntu Trusty): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: |
added: rls-x-incoming removed: rls-w-incoming |
affects: | nautilus (Fedora) → ubuntu-translations |
Changed in ubuntu-translations: | |
importance: | Unknown → Undecided |
status: | Unknown → New |
no longer affects: | ubuntu-translations |
Changed in nautilus (Ubuntu): | |
status: | In Progress → Fix Committed |
StacktraceTop: by_display_ name (file_1=0x26ddfa0, file_2=0x28c1490) at nautilus- file.c: 2907 file_compare_ for_sort (file_1=0x26ddfa0, file_2=0x28c1490, sort_type= <optimized out>, directories_ first=< optimized out>, reversed=0) at nautilus- file.c: 3184 0x25fa9f0, compare_ func=0x4621b0 <compare_ files_cover> , l2=0x21c2540, l1=0x2198360) at /build/ buildd/ glib2.0- 2.39.4/ ./glib/ glist.c: 1125 entry=0x2198360 , compare_ func=compare_ func@entry= 0x4621b0 <compare_ files_cover> , user_data= user_data@ entry=0x25fa9f0 ) at /build/ buildd/ glib2.0- 2.39.4/ ./glib/ glist.c: 1171 sort_with_ data (list=list@ entry=0x2198360 , compare_ func=compare_ func@entry= 0x4621b0 <compare_ files_cover> , user_data= user_data@ entry=0x25fa9f0 ) at /build/ buildd/ glib2.0- 2.39.4/ ./glib/ glist.c: 1241
compare_
nautilus_
g_list_sort_merge (user_data=
g_list_sort_real (list=list@
g_list_