• Mason Freed's avatar
    Increase stack trace depth on non-Windows architectures · 44a4cec2
    Mason Freed authored
    There is a Windows-only limit on stack trace depth of 62. It seems to only
    apply to Server 2003 and XP, though it might exist for later OSes. See
    https://msdn.microsoft.com/en-us/library/bb204633.aspx for reference. I've
    left the limit at 62 for all of Windows in this CL.
    
    This limit does not (seem to) apply to other operating systems, so I've
    relaxed the limit to 250. The prior 62 limit does impede some real debugging
    efforts, as our stack depth can grow significantly past 62 in some cases,
    for example when performing layout on a deeply nested page. For example,
    see crbug.com/877093, which quotes the 62/63 limit.
    
    In addition, testing seems to show that Android has a problem with larger
    limits also, so I've left the Android limit at 62.
    
    Bug: 877093
    Change-Id: Ie6521aa5da5e577cf28a312791fba873df6930cc
    Reviewed-on: https://chromium-review.googlesource.com/1252002
    Commit-Queue: Mason Freed <masonfreed@chromium.org>
    Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#595860}
    44a4cec2
stack_trace.h 7.61 KB