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 624554 - [camerabin] don't call gst_bus_poll() from gst_camerabin_have_img_buffer
[camerabin] don't call gst_bus_poll() from gst_camerabin_have_img_buffer
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Linux
: Normal enhancement
: 0.10.19
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-07-16 17:10 UTC by Tim-Philipp Müller
Modified: 2010-07-16 17:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim-Philipp Müller 2010-07-16 17:10:45 UTC
+++ This bug was initially created as a clone of Bug #624504 +++

It should not be used since it runs the main loop from non main thread.

Here is the relevant part of backtrace:


  • #13 QApplication::x11ProcessEvent
    at qt/src/gui/kernel/qapplication_x11.cpp line 3414
  • #14 x11EventSourceDispatch
    at qt/src/gui/kernel/qguieventdispatcher_glib.cpp line 146
  • #15 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #16 ??
    from /usr/lib/libglib-2.0.so.0
  • #17 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #18 gst_bus_poll
    at gstbus.c line 1058
  • #19 gst_camerabin_preview_convert
    at camerabinpreview.c line 209
  • #20 gst_camerabin_send_preview
    at gstcamerabin.c line 1704
  • #21 gst_camerabin_have_img_buffer
    at gstcamerabin.c line 1755

Comment 1 Tim-Philipp Müller 2010-07-16 17:11:39 UTC
Just for the record, this was fixed in -bad 0.10.19:

commit 58bf3be7307f2636e6a59956f4ca80f162827baf
Author: Lasse Laukkanen <ext-lasse.2.laukkanen@nokia.com>
Date:   Wed Feb 17 11:51:26 2010 +0200

    camerabin: don't use gst_bus_poll() when creating preview image
    
    Avoid using gst_bus_poll() as the docs recommend. Use
    gst_bus_timed_pop_filtered() instead.