Bug 96632 - [GTK] "Infinite" loop in AccessibilityUIElementGtk.cpp
Summary: [GTK] "Infinite" loop in AccessibilityUIElementGtk.cpp
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-13 04:43 PDT by Sergio Villar Senin
Modified: 2012-09-13 05:11 PDT (History)
3 users (show)

See Also:


Attachments
Patch proposal (2.54 KB, patch)
2012-09-13 04:49 PDT, Mario Sanchez Prada
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.