After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 92261 - Crashing when using threads
Crashing when using threads
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal major
: 0.4.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-09-01 15:03 UTC by Cameron Hutchison
Modified: 2012-07-25 16:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
2012-07-25 Claudio Saavedra <csaavedra@igalia.com> (5.53 KB, patch)
2012-07-25 16:39 UTC, Claudio Saavedra
rejected Details | Review

Description Cameron Hutchison 2002-09-01 15:03:16 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.
Comment 1 Christian Fredrik Kalager Schaller 2002-09-09 21:12:07 UTC
Assume this is fixed after SMP patch was commited.
Comment 2 Claudio Saavedra 2012-07-25 16:39:44 UTC
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 3 Claudio Saavedra 2012-07-25 16:41:53 UTC
Comment on attachment 219638 [details] [review]
2012-07-25  Claudio Saavedra  <csaavedra@igalia.com>

Wrong bugzilla! Sorry!