[gstreamer-bugs] [Bug 559049] gstcheck.c:76:F:general:test_state_changes_* failure: GST_IS_CLOCK(clock) assertion fails

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Apr 17 10:07:38 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=559049

  GStreamer | gst-plugins-base | Ver: git




------- Comment #8 from Carlo Wood  2009-04-17 17:07 UTC -------
hikaru:/usr/src/secondlife/gstreamer/git/gst-plugins-base/tests/check>GST_REGISTRY_FORK=no
G_DEBUG=fatal_warnings make generic/states.gdb
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) r
Starting program:
/usr/src/secondlife/gstreamer/git/gst-plugins-base/tests/check/generic/.libs/lt-states 
[Thread debugging using libthread_db enabled]
[New Thread 0x2b29e08e7d90 (LWP 19063)]
Running suite(s): states
[New Thread 0x40f0e950 (LWP 19066)]
[New Thread 0x40969950 (LWP 19067)]
[Thread 0x40969950 (LWP 19067) exited]
[New Thread 0x40969950 (LWP 19068)]
[Thread 0x40969950 (LWP 19068) exited]
[New Thread 0x40969950 (LWP 19069)]
[Thread 0x40969950 (LWP 19069) exited]
[New Thread 0x40969950 (LWP 19070)]
[Thread 0x40969950 (LWP 19070) exited]
[New Thread 0x40969950 (LWP 19071)]
[Thread 0x40969950 (LWP 19071) exited]
[New Thread 0x40969950 (LWP 19072)]
[Thread 0x40969950 (LWP 19072) exited]
[Thread 0x40f0e950 (LWP 19066) exited]
[New Thread 0x40f0e950 (LWP 19104)]
[Thread 0x40f0e950 (LWP 19104) exited]
[New Thread 0x40f0e950 (LWP 19136)]
[Thread 0x40f0e950 (LWP 19136) exited]
[New Thread 0x40f0e950 (LWP 19168)]

GStreamer-CRITICAL **: gst_clock_get_time: assertion `GST_IS_CLOCK (clock)'
failed
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x40f0e950 (LWP 19168)]
0x00002b29dff79ed5 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00002b29dff79ed5 in raise () from /lib/libc.so.6
#1  0x00002b29dff7b3f3 in abort () from /lib/libc.so.6
#2  0x00002b29dfaabb3e in g_logv () from /usr/lib/libglib-2.0.so.0
#3  0x00002b29dfaabbc3 in g_log () from /usr/lib/libglib-2.0.so.0
#4  0x00002b29de979902 in gst_clock_get_time (clock=0x0) at gstclock.c:835
#5  0x00002aaaaebccf62 in gst_v4lsrc_buffer_new (v4lsrc=0x2633810, num=0) at
v4lsrc_calls.c:726
#6  0x00002aaaaebc621c in gst_v4lsrc_create (src=<value optimized out>,
buf=0x40f0e040) at gstv4lsrc.c:727
#7  0x00002b29e0e74e1a in gst_base_src_get_range (src=0x2633810,
offset=18446744073709551615, length=4096, buf=0x40f0e040) at gstbasesrc.c:1943
#8  0x00002b29e0e76f23 in gst_base_src_loop (pad=0x25a6170) at
gstbasesrc.c:2186
#9  0x00002b29de9b8bd6 in gst_task_func (task=0x25b0950, tclass=<value
optimized out>) at gsttask.c:172
#10 0x00002b29dfacc387 in ?? () from /usr/lib/libglib-2.0.so.0
#11 0x00002b29dfacadf4 in ?? () from /usr/lib/libglib-2.0.so.0
#12 0x00002b29dfd32fc7 in start_thread () from /lib/libpthread.so.0
#13 0x00002b29e00175ad in clone () from /lib/libc.so.6
(gdb) fr 5
#5  0x00002aaaaebccf62 in gst_v4lsrc_buffer_new (v4lsrc=0x2633810, num=0) at
v4lsrc_calls.c:726
726       timestamp = gst_clock_get_time (GST_ELEMENT_CAST (v4lsrc)->clock);
(gdb) p *v4lsrc
$2 = {v4lelement = {element = {parent = {element = {object = {object =
{g_type_instance = {g_class = 0x26330b0}, ref_count = 2, qdata = 0x0}, refcount
= 0, 
            lock = 0x2633750, name = 0x25436d0 "v4lsrc", name_prefix = 0x0,
parent = 0x0, flags = 1048578, _gst_reserved = 0x0}, state_lock = 0x2633cc0, 
          state_cond = 0x258a000, state_cookie = 10, current_state =
GST_STATE_PLAYING, next_state = GST_STATE_PAUSED, pending_state =
GST_STATE_PAUSED, 
          last_return = GST_STATE_CHANGE_ASYNC, bus = 0x0, clock = 0x0,
base_time = 0, numpads = 1, pads = 0x2632540, numsrcpads = 1, srcpads =
0x2632600, 
          numsinkpads = 0, sinkpads = 0x0, pads_cookie = 1, abidata = {ABI =
{target_state = GST_STATE_PAUSED}, _gst_reserved = {0x3, 0x0, 0x0, 0x0}}}, 
        srcpad = 0x25a6170, live_lock = 0x2633670, live_cond = 0x2633570,
is_live = 1, live_running = 1, blocksize = 4096, can_activate_push = 1, 
        pad_mode = GST_ACTIVATE_NONE, seekable = 0, random_access = 0, clock_id
= 0x0, end_time = 0, segment = {rate = 1, abs_rate = 1, format =
GST_FORMAT_TIME, 
          flags = GST_SEEK_FLAG_NONE, start = 0, stop = -1, time = 0, accum =
0, last_stop = 0, duration = -1, applied_rate = 1, 
          _gst_reserved = '\0' <repeats 23 times>}, need_newsegment = 0, offset
= 0, size = 0, num_buffers = -1, num_buffers_left = -1, data = {ABI = {
            typefind = 0, running = 1, pending_seek = 0x0}, _gst_reserved =
{0x100000000, 0x0 <repeats 18 times>}}, priv = 0x2633c70}, _gst_reserved =
{0x0, 0x0, 
        0x0, 0x0}}, videodev = 0x2634090 "/dev/video0", video_fd = 8, buffer =
0x2aaaaeffe000 <Address 0x2aaaaeffe000 out of bounds>, vcap = {
      name = "Philips 740
webcam\000\000\000\201��\020\200\034S\001\201��", type = 1, channels =
1, audios = 1, maxwidth = 640, maxheight = 480, minwidth = 160, 
      minheight = 120}, vwin = {x = 0, y = 0, width = 160, height = 120,
chromakey = 0, flags = 524288, clips = 0xffff8101531c8010, clipcount = 1},
vchan = {
      channel = 0, name = "Webcam", '\0' <repeats 25 times>, tuners = 0, flags
= 0, type = 2, norm = 0}, colors = 0x25d2440, norms = 0x25b0340, 
    channels = 0x2580540, xv = 0x0, xwindow_id = 0}, srcpad = 0x0, mmap =
{frame = 1, height = 120, width = 160, format = 15}, mbuf = {size = 925696,
frames = 2, 
    offsets = {0, 462848, 0 <repeats 30 times>}}, buffer_size = 28800,
timestamp_sync = 0, frame_queue_state = 0x2aaab00017c0 "\002\001", 
  mutex_queue_state = 0x2aaab00017e0, cond_queue_state = 0x2aaab0001810,
num_queued = 1, sync_frame = 1, queue_frame = 0, is_capturing = 1,
timestamp_offset = 0, 
  quit = 0, offset = 1, colorspaces = 0x2632260, autoprobe = 1, autoprobe_fps =
1, copy_mode = 1, fps_list = 0x2aaab0001300}
(gdb) 


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=559049.




More information about the Gstreamer-bugs mailing list