<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>220465</bug_id>
          
          <creation_ts>2021-01-08 09:49:25 -0800</creation_ts>
          <short_desc>REGRESSION: Unchecked JS exception: getOwnNonIndexPropertyNames @ ./runtime/JSObject.cpp:2494</short_desc>
          <delta_ts>2021-01-08 10:46:45 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Alexey Shvayka">ashvayka</assigned_to>
          <cc>ashvayka</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1718322</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-01-08 09:49:25 -0800</bug_when>
    <thetext>Seeing the following on the debug JSC bot with modules.yaml/modules/module-namespace-is-frozen.js and modules.yaml/modules/namespace.js

ERROR: Unchecked JS exception:
    This scope can throw a JS exception: getOwnNonIndexPropertyNames @ ./runtime/JSObject.cpp:2494
        (ExceptionScope::m_recursionDepth was 8)
    But the exception was unchecked as of this scope: getOwnPropertyNames @ ./runtime/JSModuleNamespaceObject.cpp:223
        (ExceptionScope::m_recursionDepth was 7)

Unchecked exception detected at:
    1   0x10af03bce JSC::VM::verifyExceptionCheckNeedIsSatisfied(unsigned int, JSC::ExceptionEventLocation&amp;)
    2   0x10aedbcaf JSC::ThrowScope::~ThrowScope()
    3   0x10aedbea5 JSC::ThrowScope::~ThrowScope()
    4   0x10ad13a1a JSC::JSModuleNamespaceObject::getOwnPropertyNames(JSC::JSObject*, JSC::JSGlobalObject*, JSC::PropertyNameArray&amp;, JSC::DontEnumPropertiesMode)
    5   0x10adf3a5a bool JSC::testIntegrityLevel&lt;(JSC::IntegrityLevel)1&gt;(JSC::JSGlobalObject*, JSC::VM&amp;, JSC::JSObject*)
    6   0x10adf12c8 JSC::objectConstructorIsFrozen(JSC::JSGlobalObject*, JSC::CallFrame*)
    7   0x31d915a01178
    8   0x109894ee2 llint_entry
    9   0x109894ee2 llint_entry
    10  0x109894ee2 llint_entry
    11  0x109873770 vmEntryToJavaScript
    12  0x10a75ffab JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*)
    13  0x10a7622a5 JSC::Interpreter::executeModuleProgram(JSC::ModuleProgramExecutable*, JSC::JSGlobalObject*, JSC::JSModuleEnvironment*)
    14  0x10ad259d9 JSC::JSModuleRecord::evaluate(JSC::JSGlobalObject*)
    15  0x10aa57c9e JSC::AbstractModuleRecord::evaluate(JSC::JSGlobalObject*)
    16  0x10ad12f85 JSC::JSModuleLoader::evaluateNonVirtual(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue, JSC::JSValue)
    17  0x10ad12eda JSC::JSModuleLoader::evaluate(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue, JSC::JSValue)
    18  0x10ad17aed JSC::moduleLoaderEvaluate(JSC::JSGlobalObject*, JSC::CallFrame*)
    19  0x31d915a01178
    20  0x109894e3a llint_entry
    21  0x31d915a0a687
    22  0x31d915a20c35
    23  0x31d915a1ac5e
    24  0x31d915a1b34a
    25  0x31d915a1f1c9
    26  0x109873770 vmEntryToJavaScript
    27  0x10a75ffab JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*)
    28  0x10a760767 JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
    29  0x10aacc1dd JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
    30  0x10aacc4b3 JSC::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
    31  0x10ad0f411 JSC::JSMicrotask::run(JSC::JSGlobalObject*)
    32  0x10af03803 JSC::QueuedTask::run()
    33  0x10af03691 JSC::VM::drainMicrotasks()
    34  0x1084c2a73 runWithOptions(GlobalObject*, CommandLine&amp;, bool&amp;)
    35  0x10847e26a jscmain(int, char**)::$_8::operator()(JSC::VM&amp;, GlobalObject*, bool&amp;) const
    36  0x108452843 int runJSC&lt;jscmain(int, char**)::$_8&gt;(CommandLine const&amp;, bool, jscmain(int, char**)::$_8 const&amp;)
    37  0x1084502c2 jscmain(int, char**)
    38  0x10844fffe main
    39  0x7fff6e98ecc9 start
    40  0x14

https://build.webkit.org/builders/Apple-Catalina-Debug-JSC-Tests/builds/2148/steps/jscore-test/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1718323</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-01-08 09:49:56 -0800</bug_when>
    <thetext>&lt;rdar://problem/72933753&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1718341</commentid>
    <comment_count>2</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2021-01-08 10:46:45 -0800</bug_when>
    <thetext>Committed r271304: &lt;https://trac.webkit.org/changeset/271304&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>