Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Issue 2466773003: Revert of Replace some deprecated usages of readdir_r with readdir (Closed)

Created:
4 years, 1 month ago by jbudorick
Modified:
4 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, rickyz+watch_chromium.org, gavinp+disk_chromium.org, jln+watch_chromium.org, kinuko+cache_chromium.org, tonikitoo, rjkroege, kylechar, raymes, bbudge, Roland McGrath
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Replace some deprecated usages of readdir_r with readdir (patchset #5 id:80001 of https://codereview.chromium.org/2411833004/ ) Reason for revert: Speculative: appears to be causing flaky crashes in android_webview_test_apk and adversely affecting the CQ as a result. e.g. https://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/36829 The last few messages in the logcat include: Device(06ec840ef0e949a6) 11-01 01:44:07.189 27745 27808 E chromium: [ERROR:simple_index_file.cc(143)] Could not get file info for /data/data/org.chromium.android_webview.shell/cache/org.chromium.android_webview/137034c0a767955d_0 Device(06ec840ef0e949a6) 11-01 01:44:07.189 27745 27808 E chromium: [ERROR:simple_index_file_posix.cc(52)] readdir /data/data/org.chromium.android_webview.shell/cache/org.chromium.android_webview: No such file or directory Device(06ec840ef0e949a6) 11-01 01:44:07.189 27745 27808 E chromium: [ERROR:simple_index_file.cc(544)] Could not reconstruct index from disk Device(06ec840ef0e949a6) 11-01 01:44:07.209 27745 27788 F chromium: [FATAL:simple_index.cc(404)] Check failed: load_result->did_load. I'll try to get a fully symbolized trace tomorrow. Original issue's description: > Replace some deprecated usages of readdir_r with readdir > > readdir_r is deprecated and using it with recent compilers cause some > warning that may be treated as build errors. readdir is recommended > instead, see http://man7.org/linux/man-pages/man3/readdir_r.3.html > > This CL replaces some usages of readdir_r with readdir in order to fix > build errors with use_ozone=1. > > R=jln@chromium.org,gavinp@chromium.org,dcheng@chromium.org > BUG=457759 > > Committed: https://crrev.com/c2fdc2710b700158ad46111be664eac7ede0fdce > Cr-Commit-Position: refs/heads/master@{#428867} TBR=dcheng@chromium.org,gavinp@chromium.org,jln@chromium.org,jorgelo@chromium.org,bbudge@google.com,tonikitoo@chromium.org,fwang@igalia.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=457759 Committed: https://crrev.com/74b29880d22b51deedf8acd225fb6b17b96164ca Cr-Commit-Position: refs/heads/master@{#428934}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -40 lines) Patch
M base/files/file_enumerator_posix.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M net/disk_cache/simple/simple_index_file_posix.cc View 1 chunk +6 lines, -10 lines 0 comments Download
M sandbox/linux/services/proc_util.cc View 2 chunks +7 lines, -25 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
jbudorick
Created Revert of Replace some deprecated usages of readdir_r with readdir
4 years, 1 month ago (2016-11-01 04:20:12 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2466773003/1
4 years, 1 month ago (2016-11-01 04:20:27 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-01 04:21:19 UTC) #5
commit-bot: I haz the power
4 years, 1 month ago (2016-11-01 04:23:45 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/74b29880d22b51deedf8acd225fb6b17b96164ca
Cr-Commit-Position: refs/heads/master@{#428934}

Powered by Google App Engine
This is Rietveld 408576698