<?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>234004</bug_id>
          
          <creation_ts>2021-12-08 07:17:20 -0800</creation_ts>
          <short_desc>Crash issue observed in JIT operationOptimize method</short_desc>
          <delta_ts>2022-02-13 04:16:55 -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>Other</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P1</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bharanitharan">vasubharani96</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>caitp</cc>
    
    <cc>fpizlo</cc>
    
    <cc>saam</cc>
    
    <cc>smoley</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1821539</commentid>
    <comment_count>0</comment_count>
    <who name="Bharanitharan">vasubharani96</who>
    <bug_when>2021-12-08 07:17:20 -0800</bug_when>
    <thetext>We have faced the crash issue in JIT compiler while continuous playback the OnDemand content we have used webkit v1.16.5 in ARM platform, the caller stack of the crash pointer API name is operationOptimize .We could not able to debug this issue due to continuously hit the callback from different caller. We suspect any CFLAGS need to be additionally added for that ?
Kindly provide the solution for this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1824352</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-12-15 08:07:37 -0800</bug_when>
    <thetext>&lt;rdar://problem/86523188&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1831728</commentid>
    <comment_count>2</comment_count>
    <who name="Smoley">smoley</who>
    <bug_when>2022-01-18 10:38:12 -0800</bug_when>
    <thetext>Thanks for filing, can you please provide a test case or a crash log?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1839719</commentid>
    <comment_count>3</comment_count>
    <who name="Bharanitharan">vasubharani96</who>
    <bug_when>2022-02-10 09:28:50 -0800</bug_when>
    <thetext>#1 We have observed crash issue while performed the continuous playback(around 20mins) in an ondemand application.
#2 The exception raised from JIT optimization, points the exact caller stack as operationOptimize().
#3 We are currently using the Webkit v2.16.5 in ARM 32Bit architecture and using DFG_JIT instead of FTL_JIT.
#4 We could not able to trace it further due to optimization callback continuously triggered from different caller. So could anyone support me to narrow down the root cause for this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1839722</commentid>
    <comment_count>4</comment_count>
    <who name="Bharanitharan">vasubharani96</who>
    <bug_when>2022-02-10 09:30:05 -0800</bug_when>
    <thetext>(In reply to Smoley from comment #2)
&gt; Thanks for filing, can you please provide a test case or a crash log?

Ok, Thanks for your kind reply, I will share it by tomorrow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1839757</commentid>
    <comment_count>5</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2022-02-10 10:09:04 -0800</bug_when>
    <thetext>OK, this is an issue in ARMv7 32bit (note that this is maintained by Igalia since Apple does not use 32bit JIT).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840323</commentid>
    <comment_count>6</comment_count>
    <who name="Bharanitharan">vasubharani96</who>
    <bug_when>2022-02-11 06:33:48 -0800</bug_when>
    <thetext>(In reply to Yusuke Suzuki from comment #5)
&gt; OK, this is an issue in ARMv7 32bit (note that this is maintained by Igalia
&gt; since Apple does not use 32bit JIT).

From your comment, we understood this issue is specific to ARMv7 32Bit architecture? Whether there is any resolution for this issue? Please kindly help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840425</commentid>
    <comment_count>7</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2022-02-11 10:11:31 -0800</bug_when>
    <thetext>(In reply to Bharanitharan from comment #6)
&gt; (In reply to Yusuke Suzuki from comment #5)
&gt; &gt; OK, this is an issue in ARMv7 32bit (note that this is maintained by Igalia
&gt; &gt; since Apple does not use 32bit JIT).
&gt; 
&gt; From your comment, we understood this issue is specific to ARMv7 32Bit
&gt; architecture? Whether there is any resolution for this issue? Please kindly
&gt; help.

I mean, Igalia folks can look into it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840969</commentid>
    <comment_count>8</comment_count>
    <who name="Bharanitharan">vasubharani96</who>
    <bug_when>2022-02-13 04:16:55 -0800</bug_when>
    <thetext>(In reply to Bharanitharan from comment #4)
&gt; (In reply to Smoley from comment #2)
&gt; &gt; Thanks for filing, can you please provide a test case or a crash log?
&gt; 
&gt; Ok, Thanks for your kind reply, I will share it by tomorrow.


We have attached the crash log for your reference:
In crash issue observed case we have faced the below prints are continuously running so could you please help to find the root cause of this issue.

JITInlines.h 157&gt; Entry appendCallWithExceptionCheck
AssemblyHelpers.cpp 389&gt; Entry emitExceptionCheck 
AssemblyHelpers.cpp 319&gt; Entry callExceptionFuzz

Crash Log:
+++++++++++
Thread 18 &quot;WebkitBrowser&quot; received signal SIGSEGV, Segmentation fault
[Switching to LWP1802]

0x8a073860 in  ?? ()

(gdb) bt
#0  0x8a073860	in ?? ()
#1  0x019d4df0	in operationOptimize()
#2  0xfffffffa	in ?? ()

Backtrace Stopped : Previous frame identical to this frame (Corrupt stack?)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>