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

Issue 10540155: Annotate calls to SQLite functions - they have to be executed on a thread allowing IO access. (Closed)

Created:
8 years, 6 months ago by pivanof
Modified:
8 years, 5 months ago
CC:
chromium-reviews, jam, Randy Smith (Not in Mondays), Peter Kasting, Charlie Reis, erikwright (departed), guohui
Base URL:
https://src.chromium.org/chrome/trunk/src/
Visibility:
Public.

Description

Annotate calls to SQLite functions - they have to be executed on a thread allowing IO access. Expand scope of ScopedAllowIO in the only place where SQLite functions are used on UI thread. Patch from Pavel Ivanov <paivanof@gmail.com>; BUG=75232, 52909 TEST=no test fails with message "Function marked as IO-only was called from a thread that disallows IO!" Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=147309

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 1

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -11 lines) Patch
M chrome/browser/net/sqlite_server_bound_cert_store.cc View 1 2 3 4 5 1 chunk +9 lines, -9 lines 0 comments Download
M sql/connection.h View 1 2 3 4 5 5 chunks +18 lines, -1 line 0 comments Download
M sql/connection.cc View 1 2 3 4 5 6 10 chunks +28 lines, -1 line 0 comments Download
M sql/statement.cc View 1 2 3 4 5 3 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
pivanof
8 years, 6 months ago (2012-06-14 02:36:25 UTC) #1
pivanof
ping
8 years, 6 months ago (2012-06-26 15:53:57 UTC) #2
Scott Hess - ex-Googler
Looks like a good idea, though for this one you probably should post a try ...
8 years, 6 months ago (2012-06-26 16:39:47 UTC) #3
pivanof
> Looks like a good idea, though for this one you probably should post a ...
8 years, 6 months ago (2012-06-26 16:57:55 UTC) #4
Scott Hess - ex-Googler
On 2012/06/26 16:57:55, pivanof wrote: > > Looks like a good idea, though for this ...
8 years, 6 months ago (2012-06-26 17:09:18 UTC) #5
pivanof
I see quite a few failures related to the patch, all in net::DefaultServerBoundCertStore::InitStore(). Now what ...
8 years, 6 months ago (2012-06-26 18:02:21 UTC) #6
Scott Hess - ex-Googler
On 2012/06/26 18:02:21, pivanof wrote: > I see quite a few failures related to the ...
8 years, 6 months ago (2012-06-26 18:06:26 UTC) #7
pivanof
shess: I've updated placement of AssertIOAllowed. Please review and submit a try. erikwright: You are ...
8 years, 5 months ago (2012-06-27 02:57:08 UTC) #8
pivanof
ping
8 years, 5 months ago (2012-07-02 19:33:03 UTC) #9
erikwright (departed)
Hi, I'm only a reviewer for cookie related stuff. The cert store guy is mattm. ...
8 years, 5 months ago (2012-07-10 13:44:04 UTC) #10
mattm
I just submitted a try run for it. The sqlite_server_bound_cert_store.cc change seems fine, lets see ...
8 years, 5 months ago (2012-07-10 21:51:00 UTC) #11
pivanof
On 2012/07/10 21:51:00, mattm wrote: > I just submitted a try run for it. > ...
8 years, 5 months ago (2012-07-11 02:56:02 UTC) #12
Scott Hess - ex-Googler
On 2012/07/11 02:56:02, pivanof wrote: > On 2012/07/10 21:51:00, mattm wrote: > > I just ...
8 years, 5 months ago (2012-07-11 03:33:18 UTC) #13
pivanof
On 2012/07/11 03:33:18, shess wrote: > On 2012/07/11 02:56:02, pivanof wrote: > > It turns ...
8 years, 5 months ago (2012-07-11 03:51:24 UTC) #14
Scott Hess - ex-Googler
On 2012/07/11 03:51:24, pivanof wrote: > On 2012/07/11 03:33:18, shess wrote: > > On 2012/07/11 ...
8 years, 5 months ago (2012-07-11 04:25:17 UTC) #15
pivanof
Hm... I thought that if Connection owner called Close() on the correct thread then it ...
8 years, 5 months ago (2012-07-11 04:53:55 UTC) #16
pivanof
So I believe we are okay with this patch as it is, right? If yes ...
8 years, 5 months ago (2012-07-12 01:22:04 UTC) #17
pivanof
erikwright, gbillock: as co-owners of sql/* could you please review this patch? shess apparently is ...
8 years, 5 months ago (2012-07-18 02:41:48 UTC) #18
Scott Hess - ex-Googler
Apologies - your email was "below the fold", which means I'd never see it again ...
8 years, 5 months ago (2012-07-18 03:47:50 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/paivanof@gmail.com/10540155/37002
8 years, 5 months ago (2012-07-18 03:48:06 UTC) #20
commit-bot: I haz the power
Presubmit check for 10540155-37002 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-07-18 03:48:09 UTC) #21
Scott Hess - ex-Googler
On 2012/07/18 03:48:09, I haz the power (commit-bot) wrote: > Presubmit check for 10540155-37002 failed ...
8 years, 5 months ago (2012-07-18 03:49:24 UTC) #22
erikwright (departed)
lgtm LGTM.
8 years, 5 months ago (2012-07-18 03:58:09 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/paivanof@gmail.com/10540155/37002
8 years, 5 months ago (2012-07-18 03:58:16 UTC) #24
commit-bot: I haz the power
Presubmit check for 10540155-37002 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-07-18 03:58:19 UTC) #25
Scott Hess - ex-Googler
On 2012/07/18 03:58:19, I haz the power (commit-bot) wrote: > Presubmit check for 10540155-37002 failed ...
8 years, 5 months ago (2012-07-18 04:16:03 UTC) #26
pivanof
On 2012/07/18 04:16:03, shess wrote: > On 2012/07/18 03:58:19, I haz the power (commit-bot) wrote: ...
8 years, 5 months ago (2012-07-18 10:53:36 UTC) #27
Scott Hess - ex-Googler
8 years, 5 months ago (2012-07-18 23:53:13 UTC) #28
Reverted because the page cycler was hitting these assertions.  See
http://crbug.com/137961 .  *sigh*.

Powered by Google App Engine
This is Rietveld 408576698