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

Issue 19000007: [sql] Serialize calls to sqlite3_initialize(). (Closed)

Created:
7 years, 5 months ago by Scott Hess - ex-Googler
Modified:
7 years, 5 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

[sql] Serialize calls to sqlite3_initialize(). sqlite3_initialize() uses double-check locking, and is thus prone to data races. BUG=248101 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212984

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase before comment queue. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -0 lines) Patch
M sql/connection.cc View 1 4 chunks +19 lines, -0 lines 0 comments Download
M sql/sql.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Scott Hess - ex-Googler
7 years, 5 months ago (2013-07-11 18:30:00 UTC) #1
Alexander Potapenko
This won't fix the race in https://code.google.com/p/chromium/issues/detail?id=248101#c5, since one of the memory accesses happens outside ...
7 years, 5 months ago (2013-07-12 12:35:44 UTC) #2
Scott Hess - ex-Googler
On 2013/07/12 12:35:44, Alexander Potapenko wrote: > This won't fix the race in > https://code.google.com/p/chromium/issues/detail?id=248101#c5, ...
7 years, 5 months ago (2013-07-12 17:29:26 UTC) #3
Scott Hess - ex-Googler
On 2013/07/12 17:29:26, shess wrote: > On 2013/07/12 12:35:44, Alexander Potapenko wrote: > > This ...
7 years, 5 months ago (2013-07-19 20:24:42 UTC) #4
Alexander Potapenko
I've double-checked that your CL removes the data races in sqlite3_initialize() LGTM
7 years, 5 months ago (2013-07-22 15:37:12 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/19000007/13001
7 years, 5 months ago (2013-07-22 18:32:05 UTC) #6
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) components_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=138009
7 years, 5 months ago (2013-07-22 19:08:19 UTC) #7
Scott Hess - ex-Googler
On 2013/07/22 19:08:19, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 5 months ago (2013-07-22 19:24:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/19000007/13001
7 years, 5 months ago (2013-07-22 19:25:35 UTC) #9
commit-bot: I haz the power
7 years, 5 months ago (2013-07-22 22:02:19 UTC) #10
Message was sent while issue was closed.
Change committed as 212984

Powered by Google App Engine
This is Rietveld 408576698