[gstreamer-bugs] [Bug 361584] [mpeg2dec] framerate=0/0 on caps leads to crash

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Nov 2 01:04:42 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=361584

  GStreamer | gst-plugins-ugly | Ver: HEAD CVS


Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|totem-gstreamer-            |gstreamer-
                   |maint at gnome.bugs            |bugs at lists.sourceforge.net
             Status|NEEDINFO                    |NEW
          Component|GStreamer backend           |gst-plugins-ugly
     Ever Confirmed|0                           |1
            Product|totem                       |GStreamer
          QAContact|totem-gstreamer-            |gstreamer-
                   |maint at gnome.bugs            |bugs at lists.sourceforge.net
            Summary|crash in Movie Player:      |[mpeg2dec] framerate=0/0 on
                   |Opening an old .MPG file... |caps leads to crash
   Target Milestone|---                         |HEAD
            Version|2.16.x                      |HEAD CVS




------- Comment #3 from Tim-Philipp Müller  2006-11-02 09:03 UTC -------
Thanks! Looks like an mpeg2dec problem:


(totem:2114): GStreamer-CRITICAL **: gst_value_set_fraction: assertion
`denominator != 0' failed

GStreamer-ERROR **: file gstvalue.c: line 3709 (gst_value_compare_fraction):
should not be reached

(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb71bd770 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb71beef3 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb73d8122 in IA__g_logv (log_domain=<value optimized out>,
log_level=G_LOG_LEVEL_ERROR, format=0xb7402870 "file %s: line %d (%s): should
not be reached", 
    args1=0xb45e07cc "��t�}\016") at gmessages.c:497
#4  0xb73d8159 in IA__g_log (log_domain=0xb773f314 "GStreamer",
log_level=G_LOG_LEVEL_ERROR, format=0xb7402870 "file %s: line %d (%s): should
not be reached")
    at gmessages.c:517
#5  0xb73d81d6 in IA__g_assert_warning (log_domain=0xb773f314 "GStreamer",
file=0xb774e6df "gstvalue.c", line=3709, 
    pretty_function=0xb774ee55 "gst_value_compare_fraction", expression=0x0) at
gmessages.c:552
#6  0xb772a9b4 in gst_value_compare_fraction (value1=0xb45e095c,
value2=0x84f5200) at gstvalue.c:3709
#7  0xb772a7e9 in gst_value_compare (value1=0xb45e095c, value2=0x84f5200) at
gstvalue.c:2779
#8  0xb7730da8 in gst_value_subtract (dest=0xb45e0948, minuend=0xb45e095c,
subtrahend=0x84f5200) at gstvalue.c:3060
#9  0xb7730f69 in gst_value_subtract (dest=0xb45e09d8, minuend=0x85a4dc4,
subtrahend=0x854329c) at gstvalue.c:2579
#10 0xb76e874f in gst_caps_structure_subtract_field (field_id=1980,
value=0x854329c, user_data=0xb45e0a34) at gstcaps.c:1251
#11 0xb77166cb in gst_structure_foreach (structure=0x8543130, func=0xb76e86e0
<gst_caps_structure_subtract_field>, user_data=0xb45e0a34) at
gststructure.c:878
#12 0xb76e8569 in gst_caps_structure_subtract (into=0xb45e0a88, minuend=0x6,
subtrahend=0x886) at gstcaps.c:1275
#13 0xb76ea423 in gst_caps_subtract (minuend=0x84152c0, subtrahend=0x80f9b80)
at gstcaps.c:1339
#14 0xb76ea5b5 in gst_caps_is_subset (subset=0x84152c0, superset=0x80f9b80) at
gstcaps.c:1013
#15 0xb7702db9 in gst_pad_get_caps_unlocked (pad=0x84cc8d8) at gstpad.c:1945
#16 0xb77060e0 in gst_pad_get_caps (pad=0x84cc8d8) at gstpad.c:2018
#17 0xb76fab09 in gst_proxy_pad_do_getcaps (pad=0x8466e20) at gstghostpad.c:226
#18 0xb7702d6f in gst_pad_get_caps_unlocked (pad=0x8466e20) at gstpad.c:1930
#19 0xb77060e0 in gst_pad_get_caps (pad=0x8466e20) at gstpad.c:2018
#20 0xb7707cbb in gst_pad_peer_get_caps (pad=0x84ccbd8) at gstpad.c:2053
#21 0xb60266d6 in gst_stream_selector_getcaps (pad=0x84cc998) at
gststreamselector.c:289
#22 0xb7702d6f in gst_pad_get_caps_unlocked (pad=0x84cc998) at gstpad.c:1930
#23 0xb77060e0 in gst_pad_get_caps (pad=0x84cc998) at gstpad.c:2018
#24 0xb7706435 in gst_pad_acceptcaps_default (pad=0x84cc998, caps=0x84152c0) at
gstpad.c:2170
#25 0xb7706540 in gst_pad_accept_caps (pad=0x84cc998, caps=0x84152c0) at
gstpad.c:2218
---Type <return> to continue, or q <return> to quit---
#26 0xb770668d in gst_pad_configure_src (pad=0x84cc998, caps=0x84152c0,
dosetcaps=0) at gstpad.c:2396
#27 0xb7706ba8 in gst_pad_alloc_buffer_full (pad=0x84cc998,
offset=18446744073709551615, size=115200, caps=0x84152c0, buf=0xb45e1064,
setcaps=0) at gstpad.c:2691
#28 0xb6026d58 in gst_stream_selector_bufferalloc (pad=0x84ccbd8,
offset=18446744073709551615, size=115200, caps=0x84152c0, buf=0xb45e1064)
    at gststreamselector.c:313
#29 0xb7706afd in gst_pad_alloc_buffer_full (pad=0x8466e20,
offset=18446744073709551615, size=115200, caps=0x84152c0, buf=0xb45e1064,
setcaps=0) at gstpad.c:2606
#30 0xb76f9016 in gst_proxy_pad_do_bufferalloc (pad=0x8467650,
offset=18446744073709551615, size=115200, caps=0x84152c0, buf=0xb45e1064) at
gstghostpad.c:178
#31 0xb7706afd in gst_pad_alloc_buffer_full (pad=0x84cc8d8,
offset=18446744073709551615, size=115200, caps=0x84152c0, buf=0xb45e1064,
setcaps=1) at gstpad.c:2606
#32 0xb47bcacc in gst_mpeg2dec_chain (pad=0x84cc818, buf=0x845f148) at
gstmpeg2dec.c:449
#33 0xb7706fe9 in gst_pad_chain_unchecked (pad=0x84cc818, buffer=0x845f148) at
gstpad.c:3395
#34 0xb77076db in gst_pad_push (pad=0x8472610, buffer=0x845f148) at
gstpad.c:3561
#35 0xb600d82c in gst_type_find_element_chain (pad=0x84720d0, buffer=0x845f148)
at gsttypefindelement.c:570
#36 0xb7706fe9 in gst_pad_chain_unchecked (pad=0x84720d0, buffer=0x845f148) at
gstpad.c:3395
#37 0xb77076db in gst_pad_push (pad=0x8467588, buffer=0x845f148) at
gstpad.c:3561
#38 0xb76f8fca in gst_proxy_pad_do_chain (pad=0x8466d40, buffer=0x845f148) at
gstghostpad.c:189
#39 0xb7706fe9 in gst_pad_chain_unchecked (pad=0x8466d40, buffer=0x845f148) at
gstpad.c:3395
#40 0xb77076db in gst_pad_push (pad=0x8472010, buffer=0x845f148) at
gstpad.c:3561
#41 0xb6fa8146 in gst_base_src_loop (pad=0x8472010) at gstbasesrc.c:1570
#42 0xb771f6d6 in gst_task_func (task=0x845ec50, tclass=0x851e438) at
gsttask.c:192
#43 0xb73eece8 in g_thread_pool_thread_proxy (data=0x851cfd0) at
gthreadpool.c:265
#44 0xb73ed38f in g_thread_create_proxy (data=0x80c0f08) at gthread.c:553
#45 0xb72cd504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#46 0xb726151e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb) frame 27
#27 0xb7706ba8 in gst_pad_alloc_buffer_full (pad=0x84cc998,
offset=18446744073709551615, size=115200, caps=0x84152c0, buf=0xb45e1064,
setcaps=0) at gstpad.c:2691
2691        if (G_UNLIKELY (!gst_pad_configure_src (pad, caps, setcaps)))


(gdb) call gst_caps_to_string (caps)

$1 = (gchar *) 0x80c5600 "video/x-raw-yuv, format=(fourcc)I420, width=(int)320,
height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)0/0"


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list