[gstreamer-bugs] [Bug 352958] New: pad_alloc_buffer and stream lock

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Aug 26 01:47:19 PDT 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=352958
 GStreamer | gstreamer (core) | Ver: HEAD CVS

           Summary: pad_alloc_buffer and stream lock
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Were we going to do something about this:

~/gst-ffmpeg/tests/check$ G_DEBUG=fatal_warnings make
generic/libavcodec-locking.forever
Running suite(s): Pipelines
GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps)
> 0' failed
aborting...

THREAD 1:
....
#4  0x4027703a in IA__g_log (log_domain=0x0, log_level=0, format=0x0) at
gmessages.c:517
#5  0x4027710a in IA__g_return_if_fail_warning (log_domain=0x0,
pretty_function=0x40098552 "gst_caps_ref", expression=0x0) at gmessages.c:532
#6  0x4004583f in gst_caps_ref (caps=0x87f3580) at gstcaps.c:368
#7  0x40047513 in gst_caps_replace (caps=0x88ffdb8, newcaps=0x87f3580) at
gstcaps.c:1566
#8  0x40042f64 in gst_buffer_set_caps (buffer=0x6, caps=0x0) at gstbuffer.c:339
#9  0x4006300a in gst_pad_alloc_buffer_full (pad=0x8191a48,
offset=18446744073709551615, size=115200, caps=0x87f3580, buf=0x40d41e94,
setcaps=1) at gstpad.c:2598
#10 0x405f4c97 in gst_ffmpegdec_frame (ffmpegdec=0x8183a70, data=0x43b00470 "",
size=1535, got_data=0x40d41fcc, inbuf=0x88ffd40, ret=0x40d41fc8)
    at gstffmpegdec.c:1094
#11 0x405f60fa in gst_ffmpegdec_chain (pad=0x0, inbuf=0x88ffd40) at
gstffmpegdec.c:1797
#12 0x400640ab in gst_pad_chain_unchecked (pad=0x8191988, buffer=0x88ffd40) at
gstpad.c:3334

(gdb) frame 9
#9  0x4006300a in gst_pad_alloc_buffer_full (pad=0x8191a48,
offset=18446744073709551615, size=115200, caps=0x87f3580, buf=0x40d41e94,
setcaps=1) at gstpad.c:2598
2598        gst_buffer_set_caps (*buf, caps);
(gdb) print *caps
$1 = {type = 145691648, refcount = 0, flags = 4294967295, structs = 0xffffffff,
_gst_reserved = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}}

THREAD 13:
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x402da2ae in __lll_mutex_lock_wait () from
/lib/tls/i686/cmov/libpthread.so.0
#2  0x402d6fbb in _L_mutex_lock_33 () from /lib/tls/i686/cmov/libpthread.so.0
#3  0xbfe0a818 in ?? ()
#4  0x40103e62 in g_thread_equal_posix_impl (thread1=0xfffffffc,
thread2=0xfffffffc) at gthread-posix.c:412
#5  0x40289d4a in IA__g_static_rec_mutex_lock (mutex=0x8d5) at gthread.c:286
#6  0x4005df8e in post_activate (pad=0x8191988, new_mode=1076753332) at
gstpad.c:598
#7  0x4006157e in gst_pad_activate_push (pad=0x8191988, active=0) at
gstpad.c:861
#8  0x40061a45 in gst_pad_set_active (pad=0x8191988, active=0) at gstpad.c:654
#9  0x4004fb60 in activate_pads (pad=0x8191988, ret=0xfffffffc,
active=0xbfe0a9e8) at gstelement.c:2261
#10 0x4005b214 in gst_iterator_fold (it=0x8bdb618, func=0x4004fb38
<activate_pads>, ret=0xbfe0a988, user_data=0xbfe0a9e8) at gstiterator.c:503
#11 0x4004fc4e in iterator_activate_fold_with_resync (iter=0x8bdb618,
user_data=0xbfe0a9e8) at gstelement.c:2285
#12 0x4004fcf8 in gst_element_pads_activate (element=0x8183a70, active=0) at
gstelement.c:2327
#13 0x4004ffb0 in gst_element_change_state_func (element=0x8183a70,
transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstelement.c:2386
#14 0x405f2f04 in gst_ffmpegdec_change_state (element=0x8183a70,
transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstffmpegdec.c:1862
#15 0x4004f21d in gst_element_change_state (element=0x8183a70,
transition=1076753332) at gstelement.c:2182
#16 0x4004f815 in gst_element_set_state_func (element=0x8183a70,
state=GST_STATE_READY) at gstelement.c:2144
#17 0x4004e57d in gst_element_set_state (element=0x8183a70, state=4294967292)
at gstelement.c:2054
#18 0x40040905 in gst_bin_change_state_func (element=0x8196880,
transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbin.c:1759
#19 0x40067b8a in gst_pipeline_change_state (element=0x8196880,
transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstpipeline.c:490
#20 0x4004f21d in gst_element_change_state (element=0x8196880,
transition=1076753332) at gstelement.c:2182
#21 0x4004f2ee in gst_element_change_state (element=0x8196880,
transition=<value optimized out>) at gstelement.c:2215
#22 0x4004f815 in gst_element_set_state_func (element=0x8196880,
state=GST_STATE_NULL) at gstelement.c:2144
#23 0x4004e57d in gst_element_set_state (element=0x8196880, state=4294967292)
at gstelement.c:2054
#24 0x08049072 in test_libavcodec_locks () at generic/libavcodec-locking.c:93


Please close if not, just didn't want it to get lost.


-- 
Configure bugmail: http://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