<?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>305682</bug_id>
          
          <creation_ts>2026-01-16 17:22:36 -0800</creation_ts>
          <short_desc>WTF::IntervalSet : AddressSanitizer: invalid alignment requested in aligned_alloc</short_desc>
          <delta_ts>2026-01-21 22:52:16 -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>Web Template Framework</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="Fujii Hironori">fujii</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dan.hecht</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2172675</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2026-01-16 17:22:36 -0800</bug_when>
    <thetext>$ ./WebKitBuild/GTK/Release/bin/TestWebKitAPI/TestWTF --gtest_filter=WTF_IntervalSet.SingleInterval
=================================================================
==773923==ERROR: AddressSanitizer: invalid alignment requested in aligned_alloc: 64, alignment must be a power of two and the requested size 0x3c must be a multiple of alignment (thread T0)
    #0 0x55c8235638c6 in aligned_alloc (/home/fujii/wf/WebKitBuild/GTK/Release/bin/TestWebKitAPI/TestWTF+0x62d8c6) (BuildId: ee7d06dc8f37f17e)
    #1 0x55c824833d53 in pas_system_heap_memalign (/home/fujii/wf/WebKitBuild/GTK/Release/bin/TestWebKitAPI/TestWTF+0x18fdd53) (BuildId: ee7d06dc8f37f17e)
    #2 0x55c8244af36d in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) FastMalloc.cpp
    #3 0x55c8244b01ac in bmalloc_allocate_with_alignment_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) FastMalloc.cpp
    #4 0x55c8244ac5e5 in WTF::fastAlignedMalloc(unsigned long, unsigned long) (/home/fujii/wf/WebKitBuild/GTK/Release/bin/TestWebKitAPI/TestWTF+0x15765e5) (BuildId: ee7d06dc8f37f17e)
    #5 0x55c823a5e6f8 in WTF::IntervalSet&lt;unsigned int, int, 1ul&gt;::insert(WTF::Range&lt;unsigned int&gt; const&amp;, int const&amp;) IntervalSet.cpp
    #6 0x55c823a5a9bf in TestWebKitAPI::WTF_IntervalSet_SingleInterval_Test::TestBody() IntervalSet.cpp
    #7 0x7ffb32c87c21 in testing::Test::Run() (/sdk/webkit/WebKitBuild/GTK/Release/lib/libgtest.so+0x7ec21) (BuildId: b2adffd6359f821c)
    #8 0x7ffb32c8a532 in testing::TestInfo::Run() (/sdk/webkit/WebKitBuild/GTK/Release/lib/libgtest.so+0x81532) (BuildId: b2adffd6359f821c)
    #9 0x7ffb32c8c601 in testing::TestSuite::Run() (/sdk/webkit/WebKitBuild/GTK/Release/lib/libgtest.so+0x83601) (BuildId: b2adffd6359f821c)
    #10 0x7ffb32cb296c in testing::internal::UnitTestImpl::RunAllTests() (/sdk/webkit/WebKitBuild/GTK/Release/lib/libgtest.so+0xa996c) (BuildId: b2adffd6359f821c)
    #11 0x7ffb32cb0fdc in testing::UnitTest::Run() (/sdk/webkit/WebKitBuild/GTK/Release/lib/libgtest.so+0xa7fdc) (BuildId: b2adffd6359f821c)
    #12 0x55c823599d40 in TestWebKitAPI::TestsController::run(int, char**) TestsController.cpp
    #13 0x55c82449620f in main main.cpp
    #14 0x7ffb300801c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
    #15 0x7ffb3008028a in __libc_start_main csu/../csu/libc-start.c:360:3
    #16 0x55c8234c9ee4 in _start (/home/fujii/wf/WebKitBuild/GTK/Release/bin/TestWebKitAPI/TestWTF+0x593ee4) (BuildId: ee7d06dc8f37f17e)

==773923==HINT: if you don&apos;t care about these errors you may set allocator_may_return_null=1
SUMMARY: AddressSanitizer: invalid-aligned-alloc-alignment (/home/fujii/wf/WebKitBuild/GTK/Release/bin/TestWebKitAPI/TestWTF+0x62d8c6) (BuildId: ee7d06dc8f37f17e) in aligned_alloc
==773923==ABORTING</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2172676</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2026-01-16 17:39:35 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/56751</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2173994</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-01-21 22:51:58 -0800</bug_when>
    <thetext>Committed 305994@main (edcec34a35be): &lt;https://commits.webkit.org/305994@main&gt;

Reviewed commits have been landed. Closing PR #56751 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2173995</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-01-21 22:52:16 -0800</bug_when>
    <thetext>&lt;rdar://problem/168647541&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>