<?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>280603</bug_id>
          
          <creation_ts>2024-09-30 02:29:47 -0700</creation_ts>
          <short_desc>[WPE][GStreamer] webgl/2.0.0/conformance2/textures/video/ tests have flaky crashes</short_desc>
          <delta_ts>2024-09-30 05:32:48 -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>WPE WebKit</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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>zsun</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2064173</commentid>
    <comment_count>0</comment_count>
    <who name="">zsun</who>
    <bug_when>2024-09-30 02:29:47 -0700</bug_when>
    <thetext>Many threads are open (over 100). This is the last part of the log:
.....

Thread 1 (Thread 0x7fc70ff176c0 (LWP 868296)):
#0  g_log_structured_array (log_level=log_level@entry=G_LOG_LEVEL_ERROR, fields=fields@entry=0x7fc70ff15db0, n_fields=4) at ../glib/gmessages.c:555
#1  0x00007fcd7fc0656c in g_log_default_handler (log_domain=log_domain@entry=0x7fcd7fc5e0be &quot;GLib&quot;, log_level=log_level@entry=6, message=message@entry=0x7fcb200228b0 &quot;Creating pipes for GWakeup: Too many open files&quot;, unused_data=unused_data@entry=0x0) at ../glib/gmessages.c:3284
#2  0x00007fcd7fc074c0 in g_logv (log_domain=0x7fcd7fc5e0be &quot;GLib&quot;, log_level=G_LOG_LEVEL_ERROR, format=&lt;optimized out&gt;, args=args@entry=0x7fc70ff15f10) at ../glib/gmessages.c:1391
#3  0x00007fcd7fc077a3 in g_log (log_domain=&lt;optimized out&gt;, log_level=&lt;optimized out&gt;, format=&lt;optimized out&gt;) at ../glib/gmessages.c:1460
#4  0x00007fcd7fc57bfa in g_wakeup_new () at ../glib/gwakeup.c:164
#5  0x00007fcd7fbfc4af in g_main_context_new_with_flags (flags=flags@entry=G_MAIN_CONTEXT_FLAGS_NONE) at ../glib/gmain.c:770
#6  0x00007fcd7fbfc54b in g_main_context_new () at ../glib/gmain.c:713
#7  0x00007fcd7c0f3c7c in gst_gl_window_init (window=0x7fcb200084f0) at ../gst-libs/gst/gl/gstglwindow.c:187
#8  0x00007fcd7f3091f3 in g_type_create_instance (type=&lt;optimized out&gt;) at ../gobject/gtype.c:1977
#9  0x00007fcd7f2ee774 in g_object_new_internal (class=0x7fcac80288e0, params=0x0, n_params=0) at ../gobject/gobject.c:2246
#10 0x00007fcd7f2efd96 in g_object_new_internal (n_params=&lt;optimized out&gt;, params=&lt;optimized out&gt;, class=&lt;optimized out&gt;) at ../gobject/gobject.c:2243
#11 g_object_new_with_properties (object_type=&lt;optimized out&gt;, n_properties=&lt;optimized out&gt;, names=names@entry=0x0, values=values@entry=0x0) at ../gobject/gobject.c:2409
#12 0x00007fcd7f2f0d41 in g_object_new (object_type=&lt;optimized out&gt;, first_property_name=first_property_name@entry=0x0) at ../gobject/gobject.c:2055
#13 0x00007fcd7c0f58e5 in gst_gl_dummy_window_new () at ../gst-libs/gst/gl/gstglwindow.c:1201
#14 0x00007fcd7c0f88cd in gst_gl_window_new (display=0x55ee20f9fbd0 [GstGLDisplay|gldisplayegl862]) at ../gst-libs/gst/gl/gstglwindow.c:339
#15 0x00007fcd7c0d1587 in gst_gl_display_create_window (display=0x55ee20f9fbd0 [GstGLDisplay|gldisplayegl862]) at ../gst-libs/gst/gl/gstgldisplay.c:693
#16 0x00007fcd7c0d17cc in _ensure_window (context=0x7fcb2001e5c0 [GstGLContext|glcontextegl887]) at ../gst-libs/gst/gl/gstglcontext.c:279
#17 _ensure_window (context=0x7fcb2001e5c0 [GstGLContext|glcontextegl887]) at ../gst-libs/gst/gl/gstglcontext.c:272
#18 gst_gl_context_create (context=0x7fcb2001e5c0 [GstGLContext|glcontextegl887], other_context=other_context@entry=0x0 [GstGLContext], error=error@entry=0x7fc70ff16470) at ../gst-libs/gst/gl/gstglcontext.c:1060
#19 0x00007fcd7c0d19df in gst_gl_display_create_context (display=display@entry=0x55ee20f9fbd0 [GstGLDisplay|gldisplayegl862], other_context=other_context@entry=0x0 [GstGLContext], p_context=p_context@entry=0x55ee20fa2778, error=error@entry=0x7fc70ff16470) at ../gst-libs/gst/gl/gstgldisplay.c:664
#20 0x00007fcd7c0d268e in gst_gl_display_ensure_context (display=0x55ee20f9fbd0 [GstGLDisplay|gldisplayegl862], other_context=0x0 [GstGLContext], context=0x55ee20fa2778, error=0x7fc70ff16470) at ../gst-libs/gst/gl/gstgldisplay.c:1061
#21 0x00007fcd7c0c7cca in gst_gl_base_filter_find_gl_context_unlocked (filter=filter@entry=0x55ee20fa2530 [GstGLBaseFilter|gldownloadelement861]) at ../gst-libs/gst/gl/gstglbasefilter.c:562
#22 0x00007fcd7c0c82a3 in gst_gl_base_filter_decide_allocation (trans=0x55ee20fa2530 [GstBaseTransform|gldownloadelement861], query=0x7fcb20008df0) at ../gst-libs/gst/gl/gstglbasefilter.c:431
#23 0x00007fcd7c20444f in gst_base_transform_do_bufferpool (outcaps=0x7fcb20012db0, trans=0x55ee20fa2530 [GstBaseTransform|gldownloadelement861]) at ../libs/gst/base/gstbasetransform.c:957
#24 gst_base_transform_setcaps (trans=trans@entry=0x55ee20fa2530 [GstBaseTransform|gldownloadelement861], pad=&lt;optimized out&gt;, incaps=&lt;optimized out&gt;) at ../libs/gst/base/gstbasetransform.c:1351
#25 0x00007fcd7c205163 in gst_base_transform_sink_eventfunc (trans=0x55ee20fa2530 [GstBaseTransform|gldownloadelement861], event=0x7fcb2000c6f0) at ../libs/gst/base/gstbasetransform.c:1951
#26 0x00007fcd7fa1d2ed in gst_pad_send_event_unchecked (pad=pad@entry=0x55ee202ec770 [GstPad|sink], event=event@entry=0x7fcb2000c6f0, type=&lt;optimized out&gt;, type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at ../gst/gstpad.c:5971
#27 0x00007fcd7fa1d9cd in gst_pad_push_event_unchecked (pad=pad@entry=0x55ee212d9c90 [GstPad|src], event=0x7fcb2000c6f0, type=&lt;optimized out&gt;, type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at ../gst/gstpad.c:5604
#28 0x00007fcd7fa1e198 in push_sticky (pad=pad@entry=0x55ee212d9c90 [GstPad|src], ev=ev@entry=0x7fc70ff16820, user_data=user_data@entry=0x7fc70ff16890) at ../gst/gstpad.c:4083
#29 0x00007fcd7fa12655 in events_foreach (pad=0x55ee212d9c90 [GstPad|src], func=0x7fcd7fa1e0f0 &lt;push_sticky&gt;, user_data=0x7fc70ff16890) at ../gst/gstpad.c:613
#30 0x00007fcd7fa21271 in check_sticky (event=0x7fcb2000c6f0, pad=0x55ee212d9c90 [GstPad|src]) at ../gst/gstpad.c:4142
#31 gst_pad_push_event (pad=0x55ee212d9c90 [GstPad|src], event=0x7fcb2000c6f0) at ../gst/gstpad.c:5737
#32 0x00007fcd7c202d2f in gst_base_src_set_caps (src=src@entry=0x55ee20317d70 [GstBaseSrc|appsrc861], caps=caps@entry=0x55ee201f5150) at ../libs/gst/base/gstbasesrc.c:1030
#33 0x00007fcd7c881fa6 in gst_app_src_do_negotiate (basesrc=basesrc@entry=0x55ee20317d70 [GstBaseSrc|appsrc861]) at ../gst-libs/gst/app/gstappsrc.c:1349
#34 0x00007fcd7c8847d8 in gst_app_src_create (bsrc=0x55ee20317d70 [GstBaseSrc|appsrc861], offset=&lt;optimized out&gt;, size=4096, buf=0x7fc70ff16a68) at ../gst-libs/gst/app/gstappsrc.c:1546
#35 0x00007fcd7c1fb8cd in gst_base_src_get_range (src=src@entry=0x55ee20317d70 [GstBaseSrc|appsrc861], offset=&lt;optimized out&gt;, length=&lt;optimized out&gt;, buf=buf@entry=0x7fc70ff16b50) at ../libs/gst/base/gstbasesrc.c:2630
#36 0x00007fcd7c1fea3a in gst_base_src_loop (pad=0x55ee212d9c90 [GstPad|src]) at ../libs/gst/base/gstbasesrc.c:2961
#37 0x00007fcd7fa537d4 in gst_task_func (task=0x55ee208a6730 [GstTask|appsrc861:src]) at ../gst/gsttask.c:399
#38 0x00007fcd7fc354f2 in g_thread_pool_thread_proxy (data=&lt;optimized out&gt;) at ../glib/gthreadpool.c:350
#39 0x00007fcd7fc32862 in g_thread_proxy (data=0x7fcd0c002c30) at ../glib/gthread.c:831
#40 0x00007fcd7f3b8e39 in start_thread (arg=&lt;optimized out&gt;) at pthread_create.c:444
#41 0x00007fcd7f4408c4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100

STDERR: 
STDERR: warning: Can&apos;t open file /memfd:mesa-shared (deleted) during file-backed mapping note processing
STDERR: 
STDERR: warning: Can&apos;t open file /memfd:WebKitSharedMemory (deleted) during file-backed mapping note processing
STDERR: 
STDERR: warning: Section `.reg-xstate/868296&apos; in core file too small.
STDERR: 
STDERR: warning: Section `.reg-xstate/868296&apos; in core file too small.
STDERR: 
STDERR: (WPEWebProcess:864566): GLib-ERROR **: 08:33:07.980: Creating pipes for GWakeup: Too many open files
STDERR: WPEWebProcess terminated (pid 864566) for reason: crash</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2064178</commentid>
    <comment_count>1</comment_count>
    <who name="">zsun</who>
    <bug_when>2024-09-30 02:53:31 -0700</bug_when>
    <thetext>*** Bug 280267 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2064215</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-09-30 05:32:44 -0700</bug_when>
    <thetext>Committed 284446@main (8c7f2f5140aa): &lt;https://commits.webkit.org/284446@main&gt;

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

    </bug>

</bugzilla>