GNOME Bugzilla – Bug 92261
Crashing when using threads
Last modified: 2012-07-25 16:41:53 UTC
Gstreamer is crashing when I am using threads. The bug can be reproduced with the command: $ gst-launch sinesrc ! { queue ! fakesink } The error reported is: GStreamer-CRITICAL **: file gstdata.c: line 196 (gst_data_unref): assertion `GST_DATA_REFCOUNT_VALUE (data) > 0' failed The amount of time it takes to crash is quite variable. If I pipe the output of the command to "wc -l", I've got these results: 494, 5286, 4763, 4934, 1506, 19520, 2349 This does not crash if you take out the queue and the thread. NOTE: this is running on a SMP box. I haven't tried it on a UP box.
Assume this is fixed after SMP patch was commited.
Created attachment 219638 [details] [review] 2012-07-25 Claudio Saavedra <csaavedra@igalia.com> [Gtk] Add WK1 API for snapshot retrieval https://bugs.webkit.org/show_bug.cgi?id=92261 Reviewed by NOBODY (OOPS!). Added a method to ChromeClientGtk that paints the webview contents into a cairo_surface and add the public API to WebKitWebView for this. * WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::paintWebViewInSurface): Paint the ChromeClient in a given cairo_surface. * WebCoreSupport/ChromeClientGtk.h: (ChromeClient): Ditto. * webkit/webkitwebview.cpp: (webkit_web_view_get_snapshot): New method to paint a webview snapshot. * webkit/webkitwebview.h: Ditto.
Comment on attachment 219638 [details] [review] 2012-07-25 Claudio Saavedra <csaavedra@igalia.com> Wrong bugzilla! Sorry!