Bug 23309

Summary: Chromium crashes with custom cursors
Product: WebKit Reporter: Ananta Iyengar <ananta>
Component: ImagesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
Contains the fix for the custom cursor crash with Chromium
none
Fix for the cursor crash with Chromium
eric: review-
Fix for the custom cursor crash with Chromium. Updated based on code review comments by Eric
none
Updated patch created off the changelog this time.
eric: review+
Updated patch with the reviewer name fixed and tab removed. none

Description Ananta Iyengar 2009-01-13 16:47:57 PST
This is a chromium only issue.
. Navigate Google maps
2. Scroll in/out, drag, move the mouse cursor in/out of the map area to 
change the custom cursor until problem appears
3. See Chromium Crash
4. Sigh :(

This is a bug in the ImageSource::clear implementation in ImageSourceSkia.cpp.

I will be submitting a patch shortly.
Comment 1 Ananta Iyengar 2009-01-13 17:38:36 PST
Created attachment 26699 [details]
Contains the fix for the custom cursor crash with Chromium
Comment 2 Ananta Iyengar 2009-01-13 17:41:34 PST
Comment on attachment 26699 [details]
Contains the fix for the custom cursor crash with Chromium

There are some unrelated changes in this patch. Will upload a new one shortly
Comment 3 Ananta Iyengar 2009-01-13 17:54:22 PST
Created attachment 26700 [details]
Fix for the cursor crash with Chromium
Comment 4 Eric Seidel (no email) 2009-01-13 18:03:15 PST
Comment on attachment 26700 [details]
Fix for the cursor crash with Chromium

The ChangeList wrong.  You you set EMAIL_ADDRESS in your local environment so future runs of prepare-ChangeLog know what your email address is (iyengar@chromium.org).  Your REAL_NAME value should also be set to something other than "iyengar" (currently it's falling back onto your username).  I would revert your local ChangeLog and run prepare-ChangeLog again (once and only once).

You seem to have corrected setData to 8 spaces of indent from 6 spaces on all platforms except chromium. :)
Comment 5 Ananta Iyengar 2009-01-13 18:20:34 PST
Created attachment 26702 [details]
Fix for the custom cursor crash with Chromium. Updated based on code review comments by Eric
Comment 6 Ananta Iyengar 2009-01-14 08:59:16 PST
I have uploaded a new patch which addresses these comments. Please take another look.

-Ananta

(In reply to comment #4)
> (From update of attachment 26700 [details] [review])
> The ChangeList wrong.  You you set EMAIL_ADDRESS in your local environment so
> future runs of prepare-ChangeLog know what your email address is
> (iyengar@chromium.org).  Your REAL_NAME value should also be set to something
> other than "iyengar" (currently it's falling back onto your username).  I would
> revert your local ChangeLog and run prepare-ChangeLog again (once and only
> once).
> 
> You seem to have corrected setData to 8 spaces of indent from 6 spaces on all
> platforms except chromium. :)
> 

Comment 7 Ananta Iyengar 2009-01-16 10:35:39 PST
Comment on attachment 26702 [details]
Fix for the custom cursor crash with Chromium. Updated based on code review comments by Eric

I had added comments by mistake to the diff directly. Will upload a new patch
Comment 8 Ananta Iyengar 2009-01-16 10:36:10 PST
Created attachment 26800 [details]
Updated patch created off the changelog this time.
Comment 9 Holger Freyther 2009-02-03 03:41:25 PST
separate the style changes from the actual fix?
Comment 10 Eric Seidel (no email) 2009-02-05 14:26:29 PST
Comment on attachment 26800 [details]
Updated patch created off the changelog this time.

ChangeLog needs to be fix to Ananta's full name when landing.  There is also a Tab in the changelog.  Otherwise this looks fine.
Comment 11 Ananta Iyengar 2009-02-05 16:29:20 PST
Comment on attachment 26800 [details]
Updated patch created off the changelog this time.

Will update a new patch based on the comments by Eric.
Comment 12 Ananta Iyengar 2009-02-05 16:30:17 PST
Created attachment 27369 [details]
Updated patch with the reviewer name fixed and tab removed.
Comment 13 Dimitri Glazkov (Google) 2009-02-06 10:09:42 PST
Landed as http://trac.webkit.org/changeset/40722.
Comment 14 Dimitri Glazkov (Google) 2009-02-06 10:10:10 PST
Comment on attachment 27369 [details]
Updated patch with the reviewer name fixed and tab removed.

Clearing review flag to remove from queue.