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 645333 - Pipeline 'videotestsrc ! queue ! tee name=t ! queue ! textoverlay text=video0 ! xvimagesink t. ! queue ! textoverlay text=video1 ! xvimagesink' crashes
Pipeline 'videotestsrc ! queue ! tee name=t ! queue ! textoverlay text=video0...
Status: RESOLVED DUPLICATE of bug 412678
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.32
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-20 21:10 UTC by Peter Seiderer
Modified: 2011-03-20 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Peter Seiderer 2011-03-20 21:10:31 UTC
The following gstreamer pipeline/command crashes with SIGSEGV on openSUSE 11.2 (i586):

gst-launch videotestsrc ! queue ! tee name=t ! queue ! textoverlay text=video0 ! xvimagesink t. ! queue ! textoverlay text=video1 ! xvimagesink
Setting pipeline to PAUSED ...
Caught SIGSEGV accessing address 0x184
Pipeline is PREROLLING ...
Killed


(gdb) run videotestsrc ! queue ! tee name=t ! queue ! textoverlay text=video0 ! xvimagesink t. ! queue ! textoverlay text=video1 ! xvimagesink
Starting program: /home/seiderer/Work/zeiss/gstreamer/gst-install/bin/gst-launch videotestsrc ! queue ! tee name=t ! queue ! textoverlay text=video0 ! xvimagesink t. ! queue ! textoverlay text=video1 ! xvimagesink
Setting pipeline to PAUSED ...
[New Thread 0xb741db70 (LWP 8063)]
[New Thread 0xb6c1cb70 (LWP 8064)]
[New Thread 0xb641bb70 (LWP 8065)]
[New Thread 0xb5c1ab70 (LWP 8066)]
[New Thread 0xb5419b70 (LWP 8067)]
[New Thread 0xb4c18b70 (LWP 8068)]

Program received signal SIGSEGV, Segmentation fault.

Thread 3049368432 (LWP 8066)

  • #0 ??
    from /usr/lib/libfontconfig.so.1
  • #1 FcFontMatch
    from /usr/lib/libfontconfig.so.1
  • #2 pango_fc_patterns_get_font_pattern
    at pangofc-fontmap.c line 761
  • #3 pango_fc_fontset_load_next_font
    at pangofc-fontmap.c line 847
  • #4 pango_fc_fontset_get_font_at
    at pangofc-fontmap.c line 879
  • #5 pango_fc_fontset_foreach
    at pangofc-fontmap.c line 1003
  • #6 pango_fontset_foreach
    at pango-fontset.c line 101
  • #7 get_shaper_and_font
    at pango-context.c line 1198
  • #8 itemize_state_process_run
    at pango-context.c line 1422
  • #9 pango_itemize_with_base_dir
    at pango-context.c line 1527
  • #10 pango_layout_check_lines
    at pango-layout.c line 3818
  • #11 pango_layout_get_extents_internal
    at pango-layout.c line 2431
  • #12 pango_layout_get_pixel_extents
    at pango-layout.c line 2635
  • #13 gst_text_overlay_render_pangocairo
    at gsttextoverlay.c line 1246
  • #14 gst_text_overlay_render_text
    at gsttextoverlay.c line 1736
  • #15 gst_text_overlay_video_chain
    at gsttextoverlay.c line 2291
  • #16 gst_pad_chain_data_unchecked
    at gstpad.c line 4231
  • #17 gst_pad_push_data
    at gstpad.c line 4463
  • #18 gst_pad_push
    at gstpad.c line 4685
  • #19 gst_queue_push_one
    at gstqueue.c line 1137
  • #20 gst_queue_loop
    at gstqueue.c line 1245
  • #21 gst_task_func
    at gsttask.c line 318
  • #22 default_func
    at gsttaskpool.c line 70
  • #23 g_thread_pool_thread_proxy
    at gthreadpool.c line 265
  • #24 g_thread_create_proxy
    at gthread.c line 635
  • #25 start_thread
    at pthread_create.c line 297
  • #26 ??
    at pthread_create.c line 216

Comment 1 Tim-Philipp Müller 2011-03-20 21:15:15 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.

*** This bug has been marked as a duplicate of bug 412678 ***
Comment 2 Peter Seiderer 2011-03-20 21:47:30 UTC
Thank your for the quick reply. Commit/patch 9ac74c59db5b2cb7090b9e18fda1894c8511e881 (textoverlay: use a class wide mutex to work around pango reentrance issues) works for me ;-) too.