[gstreamer-bugs] [Bug 618644] gst_pad_get_caps() Return pad template if parent element is in GST_STATE_NULL

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jun 14 14:10:19 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=618644
  GStreamer | gstreamer (core) | git

Stefan Kost (gstreamer, gtkdoc dev) <ensonic> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
           Severity|enhancement                 |blocker

--- Comment #16 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2010-06-14 21:10:13 UTC ---
This causes a regression for me in buzztard:

In the revision before your patch (4a5552bf15924d959fe9faa0292208e98a139a07)
things worked fine. I have no other local changes that could cause this.

GStreamer-WARNING **: Pad list returned error on element Filter3_Reverb:tee
aborting...

Program received signal SIGABRT, Aborted.
0xffffe424 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb70d30cf in raise () from /lib/libc.so.6
#2  0xb70d49e7 in abort () from /lib/libc.so.6
#3  0xb727668c in g_logv () from /usr/lib/libglib-2.0.so.0
#4  0xb72766b7 in g_log () from /usr/lib/libglib-2.0.so.0
#5  0xb73e14b7 in gst_pad_proxy_getcaps (pad=0x8903190) at gstutils.c:2749
#6  0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x8903190) at gstpad.c:2198
#7  0xb73ac777 in gst_pad_get_caps_reffed (pad=0x8903190) at gstpad.c:2282
#8  0xb73ac91d in gst_pad_get_caps (pad=0x8903190) at gstpad.c:2307
#9  0xb73ae812 in gst_pad_peer_get_caps (pad=0x89030c8) at gstpad.c:2392
#10 0xb43f8eb0 in gst_queue_getcaps (pad=0x8903000) at gstqueue.c:470
#11 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x8903000) at gstpad.c:2198
#12 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x8903000) at gstpad.c:2282
#13 0xb739ca3d in gst_proxy_pad_do_getcaps (pad=0x88fd6c0) at gstghostpad.c:208
#14 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x88fd6c0) at gstpad.c:2198
#15 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x88fd6c0) at gstpad.c:2282
#16 0xb739ca3d in gst_proxy_pad_do_getcaps (pad=0x8906030) at gstghostpad.c:208
#17 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x8906030) at gstpad.c:2198
#18 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x8906030) at gstpad.c:2282
---Type <return> to continue, or q <return> to quit---
#19 0xb73ae6d2 in gst_pad_peer_get_caps_reffed (pad=0x8903640) at gstpad.c:2349
#20 0xb73e06f2 in getcaps_fold_func (pad=0x8903640, ret=0xbfffbafc,
orig=0x87e1260) at gstutils.c:2642
#21 0xb73a4067 in gst_iterator_fold (it=0xaf402ab0, func=0xb73e06c0
<getcaps_fold_func>, ret=0xbfffbafc, user_data=0x87e1260) at gstiterator.c:549
#22 0xb73e13f1 in gst_pad_proxy_getcaps (pad=0x87e1260) at gstutils.c:2700
#23 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x87e1260) at gstpad.c:2198
#24 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x87e1260) at gstpad.c:2282
#25 0xb73ae6d2 in gst_pad_peer_get_caps_reffed (pad=0x8e19be8) at gstpad.c:2349
#26 0xb7e9dcdc in gst_base_transform_getcaps (pad=0x8e19b20) at
gstbasetransform.c:630
#27 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x8e19b20) at gstpad.c:2198
#28 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x8e19b20) at gstpad.c:2282
#29 0xb73ae6d2 in gst_pad_peer_get_caps_reffed (pad=0x87e13f0) at gstpad.c:2349
#30 0xb7e9dcdc in gst_base_transform_getcaps (pad=0x87e1328) at
gstbasetransform.c:630
#31 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x87e1328) at gstpad.c:2198
#32 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x87e1328) at gstpad.c:2282
#33 0xb73ae6d2 in gst_pad_peer_get_caps_reffed (pad=0x87e10d0) at gstpad.c:2349
#34 0xb7e9dcdc in gst_base_transform_getcaps (pad=0x87e1008) at
gstbasetransform.c:630
#35 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x87e1008) at gstpad.c:2198
#36 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x87e1008) at gstpad.c:2282
#37 0xb73ae6d2 in gst_pad_peer_get_caps_reffed (pad=0x8e19d78) at gstpad.c:2349
---Type <return> to continue, or q <return> to quit---
#38 0xb7e9dcdc in gst_base_transform_getcaps (pad=0x8e19cb0) at
gstbasetransform.c:630
#39 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x8e19cb0) at gstpad.c:2198
#40 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x8e19cb0) at gstpad.c:2282
#41 0xb73ac91d in gst_pad_get_caps (pad=0x8e19cb0) at gstpad.c:2307
#42 0xb73ae812 in gst_pad_peer_get_caps (pad=0x87e1198) at gstpad.c:2392
#43 0xb43c1cbe in gst_adder_sink_getcaps (pad=0x89050d8) at gstadder.c:197
#44 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x89050d8) at gstpad.c:2198
#45 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x89050d8) at gstpad.c:2282
#46 0xb739ca3d in gst_proxy_pad_do_getcaps (pad=0x89044c0) at gstghostpad.c:208
#47 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x89044c0) at gstpad.c:2198
#48 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x89044c0) at gstpad.c:2282
#49 0xb739ca3d in gst_proxy_pad_do_getcaps (pad=0x88ef620) at gstghostpad.c:208
#50 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x88ef620) at gstpad.c:2198
#51 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x88ef620) at gstpad.c:2282
#52 0xb73ae6d2 in gst_pad_peer_get_caps_reffed (pad=0x88f3588) at gstpad.c:2349
#53 0xb7e9dcdc in gst_base_transform_getcaps (pad=0x88f34c0) at
gstbasetransform.c:630
#54 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x88f34c0) at gstpad.c:2198
#55 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x88f34c0) at gstpad.c:2282
#56 0xb73ae6d2 in gst_pad_peer_get_caps_reffed (pad=0x88f33f8) at gstpad.c:2349
---Type <return> to continue, or q <return> to quit---
#57 0xb73e06f2 in getcaps_fold_func (pad=0x88f33f8, ret=0xbfffc73c,
orig=0x88f3330) at gstutils.c:2642
#58 0xb73a4067 in gst_iterator_fold (it=0xaf401088, func=0xb73e06c0
<getcaps_fold_func>, ret=0xbfffc73c, user_data=0x88f3330) at gstiterator.c:549
#59 0xb73e13f1 in gst_pad_proxy_getcaps (pad=0x88f3330) at gstutils.c:2700
#60 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x88f3330) at gstpad.c:2198
#61 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x88f3330) at gstpad.c:2282
#62 0xb73ac91d in gst_pad_get_caps (pad=0x88f3330) at gstpad.c:2307
#63 0xb73ae812 in gst_pad_peer_get_caps (pad=0x88f3268) at gstpad.c:2392
#64 0xb43f8eb0 in gst_queue_getcaps (pad=0x88f31a0) at gstqueue.c:470
#65 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x88f31a0) at gstpad.c:2198
#66 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x88f31a0) at gstpad.c:2282
#67 0xb739ca3d in gst_proxy_pad_do_getcaps (pad=0x88ed690) at gstghostpad.c:208
#68 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x88ed690) at gstpad.c:2198
#69 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x88ed690) at gstpad.c:2282
#70 0xb739ca3d in gst_proxy_pad_do_getcaps (pad=0x89061e0) at gstghostpad.c:208
#71 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x89061e0) at gstpad.c:2198
#72 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x89061e0) at gstpad.c:2282
#73 0xb73ae6d2 in gst_pad_peer_get_caps_reffed (pad=0x8905010) at gstpad.c:2349
#74 0xb73e06f2 in getcaps_fold_func (pad=0x8905010, ret=0xbfffcc9c,
orig=0x8761a68) at gstutils.c:2642
#75 0xb73a4067 in gst_iterator_fold (it=0xaf400678, func=0xb73e06c0
<getcaps_fold_func>, ret=0xbfffcc9c, user_data=0x8761a68) at gstiterator.c:549
---Type <return> to continue, or q <return> to quit---
#76 0xb73e13f1 in gst_pad_proxy_getcaps (pad=0x8761a68) at gstutils.c:2700
#77 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x8761a68) at gstpad.c:2198
#78 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x8761a68) at gstpad.c:2282
#79 0xb73ae6d2 in gst_pad_peer_get_caps_reffed (pad=0x8e4d0d8) at gstpad.c:2349
#80 0xb7e9dcdc in gst_base_transform_getcaps (pad=0x8e4d010) at
gstbasetransform.c:630
#81 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x8e4d010) at gstpad.c:2198
#82 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x8e4d010) at gstpad.c:2282
#83 0xb73ae6d2 in gst_pad_peer_get_caps_reffed (pad=0x8761bf8) at gstpad.c:2349
#84 0xb7e9dcdc in gst_base_transform_getcaps (pad=0x8761b30) at
gstbasetransform.c:630
#85 0xb73a9858 in gst_pad_get_caps_unlocked (pad=0x8761b30) at gstpad.c:2198
#86 0xb73ac777 in gst_pad_get_caps_reffed (pad=0x8761b30) at gstpad.c:2282
#87 0xb73ae6d2 in gst_pad_peer_get_caps_reffed (pad=0x87619a0) at gstpad.c:2349
#88 0xb7e91b06 in gst_base_src_default_negotiate (basesrc=0x86c2af8) at
gstbasesrc.c:2590
#89 0xb7e908b0 in gst_base_src_negotiate (basesrc=<value optimized out>) at
gstbasesrc.c:2655
#90 gst_base_src_start (basesrc=<value optimized out>) at gstbasesrc.c:2738
#91 0xb7e982e7 in gst_base_src_activate_push (pad=0x87619a0, active=1) at
gstbasesrc.c:2910
#92 0xb73b13cf in gst_pad_activate_push (pad=0x87619a0, active=1) at
gstpad.c:924
#93 0xb73b1ed5 in gst_pad_activate_default (pad=0x87619a0) at gstpad.c:591
#94 0xb73b1fd0 in gst_pad_set_active (pad=0x87619a0, active=1) at gstpad.c:680
---Type <return> to continue, or q <return> to quit---
#95 0xb739120b in activate_pads (pad=0x87619a0, ret=0xbfffd31c,
active=0xbfffd37c) at gstelement.c:2626
#96 0xb73a4067 in gst_iterator_fold (it=0xaf402d28, func=0xb73911e0
<activate_pads>, ret=0xbfffd31c, user_data=0xbfffd37c) at gstiterator.c:549
#97 0xb739113f in iterator_activate_fold_with_resync (iter=0xaf402d28,
func=<value optimized out>, user_data=0xbfffd37c) at gstelement.c:2658
#98 0xb739395b in gst_element_pads_activate (element=0x86c2af8, active=1) at
gstelement.c:2740
#99 0xb73963fc in gst_element_change_state_func (element=0x86c2af8,
transition=GST_STATE_CHANGE_READY_TO_PAUSED) at gstelement.c:2820
#100 0xb7e96b2c in gst_base_src_change_state (element=0x86c2af8,
transition=GST_STATE_CHANGE_READY_TO_PAUSED) at gstbasesrc.c:3053
#101 0xb73924e5 in gst_element_change_state (element=0x86c2af8,
transition=GST_STATE_CHANGE_READY_TO_PAUSED) at gstelement.c:2542
#102 0xb73960d4 in gst_element_set_state_func (element=0x86c2af8,
state=GST_STATE_PAUSED) at gstelement.c:2498
#103 0xb7391740 in gst_element_set_state (element=0x86c2af8,
state=GST_STATE_PAUSED) at gstelement.c:2399
#104 0xb7380457 in gst_bin_element_set_state (next=<value optimized out>,
current=<value optimized out>, start_time=<value optimized out>,
base_time=<value optimized out>, 
    element=<value optimized out>, bin=<value optimized out>) at gstbin.c:2121
#105 gst_bin_change_state_func (next=<value optimized out>, current=<value
optimized out>, start_time=<value optimized out>, base_time=<value optimized
out>, 
    element=<value optimized out>, bin=<value optimized out>) at gstbin.c:2420
#106 0xb73924e5 in gst_element_change_state (element=0x8748618,
transition=GST_STATE_CHANGE_READY_TO_PAUSED) at gstelement.c:2542
#107 0xb73960d4 in gst_element_set_state_func (element=0x8748618,
state=GST_STATE_PAUSED) at gstelement.c:2498
#108 0xb7391740 in gst_element_set_state (element=0x8748618,
state=GST_STATE_PAUSED) at gstelement.c:2399
#109 0xb7380457 in gst_bin_element_set_state (next=<value optimized out>,
current=<value optimized out>, start_time=<value optimized out>,
base_time=<value optimized out>, 
    element=<value optimized out>, bin=<value optimized out>) at gstbin.c:2121
#110 gst_bin_change_state_func (next=<value optimized out>, current=<value
optimized out>, start_time=<value optimized out>, base_time=<value optimized
out>, 
---Type <return> to continue, or q <return> to quit---
    element=<value optimized out>, bin=<value optimized out>) at gstbin.c:2420
#111 0xb73b79f8 in gst_pipeline_change_state (element=0x8444098,
transition=GST_STATE_CHANGE_READY_TO_PAUSED) at gstpipeline.c:475
#112 0xb73924e5 in gst_element_change_state (element=0x8444098,
transition=GST_STATE_CHANGE_READY_TO_PAUSED) at gstelement.c:2542
#113 0xb7392272 in gst_element_continue_state (element=0x8444098,
ret=GST_STATE_CHANGE_SUCCESS) at gstelement.c:2216
#114 0xb739256f in gst_element_change_state (element=0x8444098,
transition=GST_STATE_CHANGE_NULL_TO_READY) at gstelement.c:2579
#115 0xb73960d4 in gst_element_set_state_func (element=0x8444098,
state=GST_STATE_PLAYING) at gstelement.c:2498
#116 0xb7391740 in gst_element_set_state (element=0x8444098,
state=GST_STATE_PLAYING) at gstelement.c:2399
#117 0xb7faf57d in bt_song_play (self=0x8672c08) at song.c:742
#118 0x08069bcd in on_toolbar_play_clicked (button=0x84f2858,
user_data=0x8444198) at main-toolbar.c:211
#119 0xb7325e7c in g_cclosure_marshal_VOID__VOID () from
/usr/lib/libgobject-2.0.so.0
#120 0xb7318192 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#121 0xb732dd16 in ?? () from /usr/lib/libgobject-2.0.so.0
#122 0xb732f0e6 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#123 0xb732f3f0 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#124 0xb79af6e0 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#125 0xb7325e7c in g_cclosure_marshal_VOID__VOID () from
/usr/lib/libgobject-2.0.so.0
#126 0xb7318192 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#127 0xb732dd16 in ?? () from /usr/lib/libgobject-2.0.so.0
#128 0xb732f0e6 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#129 0xb732f567 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#130 0xb78188da in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#131 0xb79a4c28 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#132 0xb7325e7c in g_cclosure_marshal_VOID__VOID () from
/usr/lib/libgobject-2.0.so.0
#133 0xb731670e in ?? () from /usr/lib/libgobject-2.0.so.0
#134 0xb7318192 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#135 0xb732d6ba in ?? () from /usr/lib/libgobject-2.0.so.0
#136 0xb732f0e6 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#137 0xb732f567 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#138 0xb781897a in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#139 0xb78189b3 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#140 0xb78d8ba4 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#141 0xb731670e in ?? () from /usr/lib/libgobject-2.0.so.0
#142 0xb7318192 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#143 0xb732daab in ?? () from /usr/lib/libgobject-2.0.so.0
#144 0xb732ef90 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#145 0xb732f567 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#146 0xb79f544e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#147 0xb78d1350 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#148 0xb78d25d9 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#149 0xb774d99a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#150 0xb726c4c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#151 0xb726fd98 in ?? () from /usr/lib/libglib-2.0.so.0
#152 0xb72701ef in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#153 0xb78d2b49 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#154 0x0805e844 in bt_edit_application_run_ui (self=0x8309d38) at
edit-application.c:199
#155 0x0805fdd7 in bt_edit_application_load_and_run (self=0x8309d38,
input_file_name=0x80f68a0 "../share/buzztard/songs/buzz/Aehnatron.bmw") at
edit-application.c:526
#156 0x0805d257 in main (argc=1, argv=0xbfffed54) at bt-edit.c:185

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list