Bug 249842 - Value::generateCompilerConstructionSite assumes backtrace works
Summary: Value::generateCompilerConstructionSite assumes backtrace works
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Angelos Oikonomopoulos
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-23 04:54 PST by Angelos Oikonomopoulos
Modified: 2022-12-26 02:56 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Angelos Oikonomopoulos 2022-12-23 04:54:05 PST
Value::generateCompilerConstructionSite assumes we'll get enough frames that it's safe to skip framesToPrint of them. However, backtrace() is not guaranteed to work reliably on all platforms. E.g. we occasionally get zero frames on ARM.
Comment 1 Angelos Oikonomopoulos 2022-12-23 04:59:35 PST
Pull request: https://github.com/WebKit/WebKit/pull/8044
Comment 2 EWS 2022-12-26 02:55:50 PST
Committed 258334@main (ed087739e18c): <https://commits.webkit.org/258334@main>

Reviewed commits have been landed. Closing PR #8044 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-12-26 02:56:16 PST
<rdar://problem/103708046>