Bug 238425
| Summary: | Nautilus crashes when trying to connect to ftp://mirrors.kernel.org | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jim Hayward <jimhayward> | ||||
| Component: | gnome-vfs2 | Assignee: | Alexander Larsson <alexl> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2007-05-08 19:49:05 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 150226 | ||||||
| Attachments: |
|
||||||
|
Description
Jim Hayward
2007-04-30 13:07:14 UTC
Created attachment 153790 [details]
nautilus backtrace
Breaking in nautilus_file_get_symbolic_link_target_uri, I first see things like
$32 = {name = 0x9d59848 "CPAN", valid_fields = 49125,
type = GNOME_VFS_FILE_TYPE_DIRECTORY, permissions = 509,
flags = GNOME_VFS_FILE_FLAGS_SYMLINK, device = 0, inode = 0,
link_count = 12, uid = 537, gid = 537, size = 4096, block_count = 8,
io_block_size = 32768, atime = 1178174040, mtime = 1178174040,
ctime = 1178174040, symlink_name = 0x98b0030 "/cpan",
mime_type = 0x98b2b80 "x-directory/normal", refcount = 1, acl = 0x0,
selinux_context = 0x0, reserved1 = 0x0, reserved2 = 0x0, reserved3 = 0x0}
but then, when I get to /, it becomes
$34 = {name = 0x9d74240 "pub", valid_fields = 12289,
type = GNOME_VFS_FILE_TYPE_DIRECTORY, permissions = 0,
flags = GNOME_VFS_FILE_FLAGS_SYMLINK, device = 0, inode = 0, link_count = 0,
uid = 0, gid = 0, size = 0, block_count = 0, io_block_size = 0, atime = 0,
mtime = 0, ctime = 0, symlink_name = 0x9d741a0 "/",
mime_type = 0x9dd5b78 "x-directory/normal", refcount = 1, acl = 0x0,
selinux_context = 0x0, reserved1 = 0x0, reserved2 = 0x0, reserved3 = 0x0}
Notice the valid_fields here, so it doesn't think the flags field is set,
and thus nautilus_file_is_symlink() returns FALSE, and things go bad from there.
Filed upstream: http://bugzilla.gnome.org/show_bug.cgi?id=435823 I have put a patch in the upstream bug that fixes the crash. Built in dist-f7, waiting for f7-final approval 2.18.1-4.fc7 has been tagged for f7-final |