<?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>242787</bug_id>
          
          <creation_ts>2022-07-14 21:28:49 -0700</creation_ts>
          <short_desc>[GTK+] Crash in imported/w3c/web-platform-tests/dom/xslt/strip-space-crash.xml</short_desc>
          <delta_ts>2023-02-01 03:57:13 -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>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=242784</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>dpino</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1883969</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2022-07-14 21:28:49 -0700</bug_when>
    <thetext>e.g.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1  0x00007f72fee18897 in __GI_abort () at abort.c:79
#2  0x00007f72fee73c17 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f72fef99cba &quot;%s\n&quot;) at ../sysdeps/posix/libc_fatal.c:155
#3  0x00007f72fee7bc2a in malloc_printerr (str=str@entry=0x7f72fef97934 &quot;free(): invalid pointer&quot;) at malloc.c:5628
#4  0x00007f72fee7cedc in _int_free (av=&lt;optimized out&gt;, p=&lt;optimized out&gt;, have_lock=0) at malloc.c:4398
#5  0x00007f72fee80ea3 in __GI___libc_free (mem=0x7f72fed82cba &lt;xmlStringText&gt;) at malloc.c:3309
#6  0x00007f72fecb91f6 in xmlFreeNodeList__internal_alias (cur=0x5614998aac60) at ../tree.c:3750
#7  xmlFreeNodeList__internal_alias (cur=&lt;optimized out&gt;) at ../tree.c:3683
#8  0x00007f72fecb8edb in xmlFreeDoc__internal_alias (cur=0x5614999f9b40) at ../tree.c:1253
#9  0x00007f730866516c in WebCore::XSLTProcessor::transformToString(WebCore::Node&amp;, WTF::String&amp;, WTF::String&amp;, WTF::String&amp;) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#10 0x00007f73073e9c71 in WebCore::Document::applyPendingXSLTransformsTimerFired() [clone .part.0] () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#11 0x00007f7308668b14 in WebCore::XMLDocumentParser::doEnd() () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#12 0x00007f7308666949 in WebCore::XMLDocumentParser::end() () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#13 0x00007f7308666ae5 in WebCore::XMLDocumentParser::finish() () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#14 0x00007f7307a70272 in WebCore::DocumentWriter::end() () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#15 0x00007f7307a83269 in WebCore::DocumentLoader::finishedLoading() () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#16 0x00007f7307b4ba5b in WebCore::CachedResource::checkNotify(WebCore::NetworkLoadMetrics const&amp;) [clone .part.0] () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#17 0x00007f7307b51641 in WebCore::CachedRawResource::finishLoading(WebCore::FragmentedSharedBuffer const*, WebCore::NetworkLoadMetrics const&amp;) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#18 0x00007f7307b07883 in WebCore::SubresourceLoader::didFinishLoading(WebCore::NetworkLoadMetrics const&amp;) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#19 0x00007f73058be243 in void IPC::handleMessage&lt;Messages::WebResourceLoader::DidFinishResourceLoad, WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics&amp;&amp;)&gt;(IPC::Connection&amp;, IPC::Decoder&amp;, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics&amp;&amp;)) [clone .isra.0] () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#20 0x00007f73058c2109 in WebKit::WebResourceLoader::didReceiveWebResourceLoaderMessage(IPC::Connection&amp;, IPC::Decoder&amp;) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#21 0x00007f7305ad4c55 in IPC::Connection::dispatchMessage(std::unique_ptr&lt;IPC::Decoder, std::default_delete&lt;IPC::Decoder&gt; &gt;) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1930053</commentid>
    <comment_count>1</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2023-02-01 03:57:13 -0800</bug_when>
    <thetext>This test has been consistenly passing since https://commits.webkit.org/255085@main

https://results.webkit.org/?suite=layout-tests&amp;test=imported/w3c/web-platform-tests/dom/xslt/strip-space-crash.xml&amp;platform=GTK&amp;platform=WPE&amp;platform=mac&amp;platform=ios

Removed test from TestExpectations in https://commits.webkit.org/259674@main.

Closing bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>