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

Issue 2860024: GTK: add more syncronization to GtkNativeViewIdManager to avoid a crash. (Closed)

Created:
10 years, 6 months ago by Evan Stade
Modified:
9 years, 6 months ago
CC:
chromium-reviews, jam+cc_chromium.org, ben+cc_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

GTK: add more syncronization to GtkNativeViewIdManager to avoid a crash. BUG=46197 TEST=manual (see bug) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=50886

Patch Set 1 #

Patch Set 2 : remove FIXME #

Total comments: 2

Patch Set 3 : lock acquisition order #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -8 lines) Patch
M chrome/browser/renderer_host/resource_message_filter_gtk.cc View 2 chunks +8 lines, -4 lines 0 comments Download
M gfx/gtk_native_view_id_manager.h View 1 2 chunks +12 lines, -4 lines 0 comments Download
M gfx/gtk_native_view_id_manager.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Evan Stade
Ignore the last email, that was sent for the wrong cl =============================== This seems to ...
10 years, 6 months ago (2010-06-25 00:23:10 UTC) #1
agl
LGTM http://codereview.chromium.org/2860024/diff/2001/3003 File gfx/gtk_native_view_id_manager.h (right): http://codereview.chromium.org/2860024/diff/2001/3003#newcode92 gfx/gtk_native_view_id_manager.h:92: // id. So this records the current mapping. ...
10 years, 6 months ago (2010-06-25 01:11:45 UTC) #2
Evan Stade
http://codereview.chromium.org/2860024/diff/2001/3003 File gfx/gtk_native_view_id_manager.h (right): http://codereview.chromium.org/2860024/diff/2001/3003#newcode92 gfx/gtk_native_view_id_manager.h:92: // id. So this records the current mapping. On ...
10 years, 6 months ago (2010-06-25 01:36:06 UTC) #3
Evan Martin
I think the whole reason we have a background X11 thread is so we don't ...
10 years, 6 months ago (2010-06-25 02:22:13 UTC) #4
Evan Stade
well, it's not quite the same. Both sides of the code that acquire the lock ...
10 years, 6 months ago (2010-06-25 04:00:44 UTC) #5
Evan Martin
On 2010/06/25 04:00:44, Evan Stade wrote: > well, it's not quite the same. Both sides ...
10 years, 6 months ago (2010-06-25 05:15:30 UTC) #6
agl
On Thu, Jun 24, 2010 at 9:36 PM, <estade@chromium.org> wrote: > oh, I didn't even ...
10 years, 6 months ago (2010-06-25 05:47:10 UTC) #7
agl
On Thu, Jun 24, 2010 at 10:22 PM, <evan@chromium.org> wrote: > I think the whole ...
10 years, 6 months ago (2010-06-25 05:49:07 UTC) #8
Evan Martin
On Thu, Jun 24, 2010 at 10:48 PM, Adam Langley <agl@chromium.org> wrote: > On Thu, ...
10 years, 6 months ago (2010-06-25 06:49:18 UTC) #9
agl
10 years, 6 months ago (2010-06-25 18:58:42 UTC) #10
On Fri, Jun 25, 2010 at 2:48 AM, Evan Martin <evan@chromium.org> wrote:
> It's the same pump, so I don't think you can get UI actions without
> Chrome messages.  Or equivalently they're both blocked at the same
> times.  If the UI is blocked then the rest of the app might as well be
> blocked, no?

It certainly didn't appear so at the time. I suspect that X messages
were handled first and, when animating etc, the Chrome MessageLoop
would stall.


AGL

Powered by Google App Engine
This is Rietveld 408576698