Closed pwoolcoc closed 1 year ago
I did the reproduction on osx but we are also seeing this happen on x86_64 linux
I'll dig into it and get it fixed.
thanks!
I tried with the latest version and it did not crash. I wonder if the fixs in the last two versions took care of the issue. Can you try with v2.14.16?
Thanks, apparently the last time I checked for a new version was before 2.14.15 went out. Upgrading to 2.14.16 did fix the issue, thanks!
I'm seeing a segfault under Ruby 3.1.3 when SAX parsing deeply nested HTML:
It seems like nesting elements 32 layers deep is what triggers the segfault, and from what I can tell it doesn't really matter what the elements are. Here's
nested.html
:And finally, here's the crash report: