Bug 96632

Summary: [GTK] "Infinite" loop in AccessibilityUIElementGtk.cpp
Product: WebKit Reporter: Sergio Villar Senin <svillar>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: mario, svillar, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch proposal none

Description Sergio Villar Senin 2012-09-13 04:43:43 PDT
The problem is that getChildren() calls childrenCount() which uses getChildren() causing a never ending recursive loop.
Comment 1 Sergio Villar Senin 2012-09-13 04:47:37 PDT
BTW fixing this would be great as this is causing ~100 crashes in the WK2 bot
Comment 2 Mario Sanchez Prada 2012-09-13 04:49:22 PDT
Created attachment 163841 [details]
Patch proposal

Here is the simple patch. Sorry for the hassle, and feel free to set cq+ when reviewing it (if approved)
Comment 3 WebKit Review Bot 2012-09-13 05:11:13 PDT
Comment on attachment 163841 [details]
Patch proposal

Clearing flags on attachment: 163841

Committed r128447: <http://trac.webkit.org/changeset/128447>
Comment 4 WebKit Review Bot 2012-09-13 05:11:15 PDT
All reviewed patches have been landed.  Closing bug.