Bug 225921 - [GTK] Several printting/ related tests are crashing
Summary: [GTK] Several printting/ related tests are crashing
Status: RESOLVED DUPLICATE of bug 196542
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-18 09:11 PDT by Diego Pino
Modified: 2022-04-14 04:59 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Pino 2021-05-18 09:11:50 PDT
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&suite=layout-tests&suite=layout-tests&test=editing%2FexecCommand%2Fprint.html&test=fast%2Fmedia%2Fprint-restores-previous-mediatype.html&test=printing%2Fprint-close-crash.html&platform=GTK&platform=WPE

All tests share the same stacktrace. There'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 "Gtk", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1413
1413              g_private_set (&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 "Gtk", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1413
#1  0x00007f909d3f8973 in g_log (log_domain=<optimized out>, log_level=<optimized out>, format=<optimized out>) at ../glib/gmessages.c:1451
#2  0x00007f909139406c in IPC::encode(IPC::Encoder&, _GtkPrintSettings*) (encoder=..., printSettings=0x0) at ../../Source/WebKit/Shared/gtk/ArgumentCodersGtk.cpp:204
#3  0x00007f90912b678c in WebKit::PrintInfo::encode(IPC::Encoder&) const (this=0x7ffdc58fd470, encoder=...) at ../../Source/WebKit/Shared/PrintInfo.cpp:45
#4  0x00007f90915259d6 in IPC::ArgumentCoder<WebKit::PrintInfo, void>::encode<IPC::Encoder>(IPC::Encoder&, WebKit::PrintInfo const&) (encoder=..., t=...) at ../../Source/WebKit/Platform/IPC/ArgumentCoder.h:49
#5  0x00007f909151ffee in IPC::Encoder::operator<< <WebKit::PrintInfo const&>(WebKit::PrintInfo const&) (this=0x7f9070332900, t=...) at ../../Source/WebKit/Platform/IPC/Encoder.h:68
#6  0x00007f9091515e8e in IPC::TupleEncoder<1ul, WTF::ObjectIdentifier<WebCore::FrameIdentifierType> const&, WebKit::PrintInfo const&>::encode<IPC::Encoder>(IPC::Encoder&, std::tuple<WTF::ObjectIdentifier<WebCore::FrameIdentifierType> const&, WebKit::PrintInfo const&> const&) (encoder=..., tuple=std::tuple containing = {...}) at ../../Source/WebKit/Platform/IPC/ArgumentCoders.h:276
#7  0x00007f909150b5ec in IPC::TupleEncoder<2ul, WTF::ObjectIdentifier<WebCore::FrameIdentifierType> const&, WebKit::PrintInfo const&>::encode<IPC::Encoder>(IPC::Encoder&, std::tuple<WTF::ObjectIdentifier<WebCore::FrameIdentifierType> const&, WebKit::PrintInfo const&> const&) (encoder=..., tuple=std::tuple containing = {...}) at ../../Source/WebKit/Platform/IPC/ArgumentCoders.h:277
#8  0x00007f909150119f in IPC::ArgumentCoder<std::tuple<WTF::ObjectIdentifier<WebCore::FrameIdentifierType> const&, WebKit::PrintInfo const&>, void>::encode<IPC::Encoder>(IPC::Encoder&, std::tuple<WTF::ObjectIdentifier<WebCore::FrameIdentifierType> const&, WebKit::PrintInfo const&> const&) (encoder=..., tuple=std::tuple containing = {...}) at ../../Source/WebKit/Platform/IPC/ArgumentCoders.h:350
#9  0x00007f90914f5514 in IPC::Encoder::operator<< <std::tuple<WTF::ObjectIdentifier<WebCore::FrameIdentifierType> const&, WebKit::PrintInfo const&> const&>(std::tuple<WTF::ObjectIdentifier<WebCore::FrameIdentifierType> const&, WebKit::PrintInfo const&> const&) (this=0x7f9070332900, t=std::tuple containing = {...}) at ../../Source/WebKit/Platform/IPC/Encoder.h:68
#10 0x00007f90914e4a21 in IPC::MessageSender::send<Messages::WebPage::BeginPrinting>(Messages::WebPage::BeginPrinting const&, unsigned long, WTF::OptionSet<IPC::SendOption>) (this=0x7f90789fc040, message=..., destinationID=201, sendOptions=...) at ../../Source/WebKit/Platform/IPC/MessageSender.h:48
...
Comment 1 Claudio Saavedra 2022-04-14 04:59:41 PDT

*** This bug has been marked as a duplicate of bug 196542 ***