Bug 270698

Summary: [GStreamer] Crash after 10 seconds on watchdog thread due to hang in WebCore::deinitializeGStreamer/WebCore::unregisterPipeline
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bugs-noreply, mcatanzaro, philn
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
See Also: https://bugs.webkit.org/show_bug.cgi?id=259504
Attachments:
Description Flags
All-threads backtrace none

Michael Catanzaro
Reported 2024-03-08 06:59:12 PST
Created attachment 470247 [details] All-threads backtrace This is a sequel to bug #257551. With WebKitGTK 2.43.4 and GStreamer 1.22.10, the main thread deadlocks when calling WebCore::unregisterPipeline instead a call to WebCore::deinitializeGStreamer, causing the watchdog thread to crash the process after 10 seconds. However, the backtrace is different than it was in bug #257551. Backtrace attached. Notably, only the main thread is using GStreamer here, which seems unusual. In the many other GStreamer deadlocks I've reported, there are usually at least two GStreamer threads visible in the backtrace. Perhaps some other thread left the mutex locked by mistake? I've hit this crash three times in the past hour, but I don't know what website is triggering it.
Attachments
All-threads backtrace (42.29 KB, text/plain)
2024-03-08 06:59 PST, Michael Catanzaro
no flags
Philippe Normand
Comment 1 2024-03-08 07:08:40 PST
And you have the fix from #257551 or not?
Michael Catanzaro
Comment 2 2024-03-08 08:17:00 PST
Yes, because that bug was closed on January 1 but I'm using WebKitGTK 2.43.4 which was released in February.
Philippe Normand
Comment 3 2024-03-08 09:37:56 PST
(In reply to Michael Catanzaro from comment #2) > Yes, because that bug was closed on January 1 but I'm using WebKitGTK 2.43.4 > which was released in February. I was referring to https://commits.webkit.org/275032@main which landed on February 20th.
Philippe Normand
Comment 4 2024-03-08 09:40:24 PST
*** This bug has been marked as a duplicate of bug 264824 ***
Note You need to log in before you can comment on or make changes to this bug.