<?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>270993</bug_id>
          
          <creation_ts>2024-03-14 11:43:45 -0700</creation_ts>
          <short_desc>Assertion failure in pas_enumerator_create due to wrong alignment</short_desc>
          <delta_ts>2024-03-15 12:11:16 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>bmalloc</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="David Degazio">d_degazio</reporter>
          <assigned_to name="David Degazio">d_degazio</assigned_to>
          <cc>ggaren</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2021079</commentid>
    <comment_count>0</comment_count>
    <who name="David Degazio">d_degazio</who>
    <bug_when>2024-03-14 11:43:45 -0700</bug_when>
    <thetext>rdar://124562475

We recently bumped the PAS_INTERNAL_MIN_ALIGNMENT from 8 to 16 bytes. Most of libPAS respects this constant and hasn&apos;t had any issues in our normal testing, but it looks like pas_enumerator_create runs into a novel assertion failure. Specifically, a pas_enumerator_region consists of a 24-byte prefix before a payload, and we expect the payload to be aligned to the internal minimum - which 24 bytes doesn&apos;t satisfy. We should explicitly specify this alignment requirement in the pas_enumerator_region type so we no longer run into this assertion failure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2021080</commentid>
    <comment_count>1</comment_count>
    <who name="David Degazio">d_degazio</who>
    <bug_when>2024-03-14 11:47:39 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/25894</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2021412</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-03-15 12:11:14 -0700</bug_when>
    <thetext>Committed 276187@main (5aa139649dd7): &lt;https://commits.webkit.org/276187@main&gt;

Reviewed commits have been landed. Closing PR #25894 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>