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 673350 - Coglogoinsert segfaults
Coglogoinsert segfaults
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.x
Other Linux
: Normal critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-04-02 11:00 UTC by Francesco Bruni
Modified: 2012-10-03 00:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30



Description Francesco Bruni 2012-04-02 11:00:25 UTC
I coded a python script to overlay on a screen a graph made with matplotlib, using coglogoinsert plugin. 
I structured my script in this way:
1st step: create a graph and saving it onto "file1", displaying it
2nd step: (while plugin thread is overlaying the image) create a graph and saving it onto "file2", displaying it.

I need to overlay these graphs dynamically on the screen. In order to do this I use "glib.timeout_add(s,f)". 

Here I attach what I get using gdb:

"
[New Thread 0x7fffd8cf5700 (LWP 2647)]

Program received signal SIGSEGV, Segmentation fault.

Thread 140736884373248 (LWP 2645)

  • #0 ??
    from /usr/lib/gstreamer-0.10/libgstcog.so
  • #1 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #2 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #3 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #4 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #5 ??
    from /usr/lib/gstreamer-0.10/libgstpango.so
  • #6 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #7 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #8 ??
    from /usr/lib/gstreamer-0.10/libgstpango.so
  • #9 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #10 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #11 ??
    from /usr/lib/gstreamer-0.10/libgstvp8.so
  • #12 ??
    from /usr/lib/gstreamer-0.10/libgstvp8.so
  • #13 ??
    from /usr/lib/gstreamer-0.10/libgstvp8.so
  • #14 ??
    from /usr/lib/gstreamer-0.10/libgstvp8.so
  • #15 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #16 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #17 ??
    from /usr/lib/gstreamer-0.10/libgstcoreelements.so
  • #18 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #19 g_thread_pool_thread_proxy
    at gthreadpool.c line 309
  • #20 g_thread_proxy
    at gthread.c line 801

Regards, 
Francesco Bruni
Comment 1 Francesco Bruni 2012-04-04 16:32:16 UTC
I installed another packe on my machine that should be useful in debug phase. 
I attach here what I get now.


  • #0 gst_logoinsert_transform_ip
    at gstlogoinsert.c line 294
  • #1 gst_base_transform_handle_buffer
    at gstbasetransform.c line 2050
  • #2 gst_base_transform_chain
    at gstbasetransform.c line 2169
  • #3 gst_pad_chain_data_unchecked
    at gstpad.c line 4176
  • #4 gst_pad_push_data
    at gstpad.c line 4405
  • #5 ??
    from /usr/lib/gstreamer-0.10/libgstmpeg2dec.so
  • #6 ??
    from /usr/lib/gstreamer-0.10/libgstmpeg2dec.so
  • #7 gst_pad_chain_data_unchecked
    at gstpad.c line 4176
  • #8 gst_pad_push_data
    at gstpad.c line 4405
  • #9 gst_queue_push_one
    at gstqueue.c line 1083
  • #10 gst_queue_loop
    at gstqueue.c line 1185
  • #11 gst_task_func
    at gsttask.c line 271
  • #12 g_thread_pool_thread_proxy
    at gthreadpool.c line 309
  • #13 g_thread_proxy
    at gthread.c line 801
  • #14 start_thread
    from /lib/libpthread.so.0
  • #15 clone
    from /lib/libc.so.6
  • #16 ??

Comment 2 Vincent Penquerc'h 2012-06-07 14:17:22 UTC
Nothing obviously wrong at the place where it allegedly crashes.
There's a suspicious looking buffer pointer in the stack trace, but it might be gdb not getting the correct value, it often happens.

Please post the python script for further debugging, as well as a log made by running your script, like this:
GST_DEBUG=2,*cog*:5  $normalcommandline  2> gst.log

Then compress gst.log and attach it here.
Comment 3 Vincent Penquerc'h 2012-06-13 09:24:27 UTC
Or, might be easier to upload the python script (and test files, if any).
Comment 4 Tim-Philipp Müller 2012-06-13 09:33:32 UTC
Not that that helps with the bug, but there's also gdkpixbufoverlay in -good, which does the same thing, but supports more formats.
Comment 5 Tobias Mueller 2012-10-03 00:03:39 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!