<?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>225921</bug_id>
          
          <creation_ts>2021-05-18 09:11:50 -0700</creation_ts>
          <short_desc>[GTK] Several printting/ related tests are crashing</short_desc>
          <delta_ts>2022-04-14 04:59:41 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>196542</dup_id>
          
          <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="Diego Pino">dpino</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>csaavedra</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1761178</commentid>
    <comment_count>0</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2021-05-18 09:11:50 -0700</bug_when>
    <thetext>There are three printing tests that have been constantly crashing for a long time. This crash was hiding because the tests were marked as flaky. The tests are:

  editing/execCommand/print.html
  fast/media/print-restores-previous-mediatype.html
  printing/print-close-crash.html

Results dashboard:

https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;test=editing%2FexecCommand%2Fprint.html&amp;test=fast%2Fmedia%2Fprint-restores-previous-mediatype.html&amp;test=printing%2Fprint-close-crash.html&amp;platform=GTK&amp;platform=WPE

All tests share the same stacktrace. There&apos;s a debug stacktrace for fast/media/print-restores-previous-mediatype.html which I past below:

Program terminated with signal SIGTRAP, Trace/breakpoint trap.
#0  g_logv (log_domain=0x7f908a03414c &quot;Gtk&quot;, log_level=G_LOG_LEVEL_CRITICAL, format=&lt;optimized out&gt;, args=&lt;optimized out&gt;) at ../glib/gmessages.c:1413
1413              g_private_set (&amp;g_log_depth, GUINT_TO_POINTER (depth));
[Current thread is 1 (Thread 0x7f9086c68200 (LWP 891))]

Thread 1 (Thread 0x7f9086c68200 (LWP 891)):
#0  g_logv (log_domain=0x7f908a03414c &quot;Gtk&quot;, log_level=G_LOG_LEVEL_CRITICAL, format=&lt;optimized out&gt;, args=&lt;optimized out&gt;) at ../glib/gmessages.c:1413
#1  0x00007f909d3f8973 in g_log (log_domain=&lt;optimized out&gt;, log_level=&lt;optimized out&gt;, format=&lt;optimized out&gt;) at ../glib/gmessages.c:1451
#2  0x00007f909139406c in IPC::encode(IPC::Encoder&amp;, _GtkPrintSettings*) (encoder=..., printSettings=0x0) at ../../Source/WebKit/Shared/gtk/ArgumentCodersGtk.cpp:204
#3  0x00007f90912b678c in WebKit::PrintInfo::encode(IPC::Encoder&amp;) const (this=0x7ffdc58fd470, encoder=...) at ../../Source/WebKit/Shared/PrintInfo.cpp:45
#4  0x00007f90915259d6 in IPC::ArgumentCoder&lt;WebKit::PrintInfo, void&gt;::encode&lt;IPC::Encoder&gt;(IPC::Encoder&amp;, WebKit::PrintInfo const&amp;) (encoder=..., t=...) at ../../Source/WebKit/Platform/IPC/ArgumentCoder.h:49
#5  0x00007f909151ffee in IPC::Encoder::operator&lt;&lt; &lt;WebKit::PrintInfo const&amp;&gt;(WebKit::PrintInfo const&amp;) (this=0x7f9070332900, t=...) at ../../Source/WebKit/Platform/IPC/Encoder.h:68
#6  0x00007f9091515e8e in IPC::TupleEncoder&lt;1ul, WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt; const&amp;, WebKit::PrintInfo const&amp;&gt;::encode&lt;IPC::Encoder&gt;(IPC::Encoder&amp;, std::tuple&lt;WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt; const&amp;, WebKit::PrintInfo const&amp;&gt; const&amp;) (encoder=..., tuple=std::tuple containing = {...}) at ../../Source/WebKit/Platform/IPC/ArgumentCoders.h:276
#7  0x00007f909150b5ec in IPC::TupleEncoder&lt;2ul, WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt; const&amp;, WebKit::PrintInfo const&amp;&gt;::encode&lt;IPC::Encoder&gt;(IPC::Encoder&amp;, std::tuple&lt;WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt; const&amp;, WebKit::PrintInfo const&amp;&gt; const&amp;) (encoder=..., tuple=std::tuple containing = {...}) at ../../Source/WebKit/Platform/IPC/ArgumentCoders.h:277
#8  0x00007f909150119f in IPC::ArgumentCoder&lt;std::tuple&lt;WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt; const&amp;, WebKit::PrintInfo const&amp;&gt;, void&gt;::encode&lt;IPC::Encoder&gt;(IPC::Encoder&amp;, std::tuple&lt;WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt; const&amp;, WebKit::PrintInfo const&amp;&gt; const&amp;) (encoder=..., tuple=std::tuple containing = {...}) at ../../Source/WebKit/Platform/IPC/ArgumentCoders.h:350
#9  0x00007f90914f5514 in IPC::Encoder::operator&lt;&lt; &lt;std::tuple&lt;WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt; const&amp;, WebKit::PrintInfo const&amp;&gt; const&amp;&gt;(std::tuple&lt;WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt; const&amp;, WebKit::PrintInfo const&amp;&gt; const&amp;) (this=0x7f9070332900, t=std::tuple containing = {...}) at ../../Source/WebKit/Platform/IPC/Encoder.h:68
#10 0x00007f90914e4a21 in IPC::MessageSender::send&lt;Messages::WebPage::BeginPrinting&gt;(Messages::WebPage::BeginPrinting const&amp;, unsigned long, WTF::OptionSet&lt;IPC::SendOption&gt;) (this=0x7f90789fc040, message=..., destinationID=201, sendOptions=...) at ../../Source/WebKit/Platform/IPC/MessageSender.h:48
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1861445</commentid>
    <comment_count>1</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2022-04-14 04:59:41 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 196542 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>