| Summary: | [SOUP] Network Cache: NetworkProcess segfault when file system doesn't support xattrs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ting-Wei Lan <lantw44> | ||||
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | cgarcia | ||||
| Priority: | P2 | Keywords: | Gtk, Soup | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Attachments: |
|
||||||
|
Description
Ting-Wei Lan
2015-05-13 09:53:35 PDT
This problem also causes WebKitNetworkProcess to segfault on FreeBSD because it doesn't support xattr. Fortunately, FreeBSD has st_birthtime field in struct stat, so we can reuse PLATFORM(COCOA) code in NetworkCacheFileSystemPosix.h. Created attachment 253035 [details]
Patch
(In reply to comment #1) > This problem also causes WebKitNetworkProcess to segfault on FreeBSD because > it doesn't support xattr. Fortunately, FreeBSD has st_birthtime field in > struct stat, so we can reuse PLATFORM(COCOA) code in > NetworkCacheFileSystemPosix.h. Cool, that's a different issue, though. Could you file another bug report for that? Committed r184330: <http://trac.webkit.org/changeset/184330> (In reply to comment #3) > (In reply to comment #1) > > This problem also causes WebKitNetworkProcess to segfault on FreeBSD because > > it doesn't support xattr. Fortunately, FreeBSD has st_birthtime field in > > struct stat, so we can reuse PLATFORM(COCOA) code in > > NetworkCacheFileSystemPosix.h. > > Cool, that's a different issue, though. Could you file another bug report > for that? https://bugs.webkit.org/show_bug.cgi?id=144989 |