[Bug 768668] atomicqueue: forever busy-waiting

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jul 11 13:32:19 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=768668

--- Comment #1 from Miguel París Díaz <mparisdiaz at gmail.com> ---
Maybe, it is a memory issue in my program because the "queue pointer" seems to
be invalid.
GDB shows the next values:
(gdb) frame 0
#0  0x00007ffff5cc6477 in gst_atomic_queue_push (queue=0x7fff80201404,
data=0x7fffa00313a0) at gstatomicqueue.c:389
389     in gstatomicqueue.c
(gdb) p *queue
$62 = {refcount = 163641, head_mem = 0x7fff, tail_mem = 0x0, free_list =
0x4000000000}

The curious point is that in frame-1 the value of the "queue pointer" is
different that in the frame-0 (0x7fffb808a7f0 != 0x7fff80201404):
(gdb) frame 1
#1  0x00007ffff5ca1c93 in gst_bus_post (bus=bus at entry=0x7fffb80250c0 [GstBus],
message=message at entry=0x7fffa00313a0) at gstbus.c:349
349     gstbus.c: No such file or directory.
(gdb) p bus->priv->queue
$63 = (GstAtomicQueue *) 0x7fffb808a7f0

In frame-1 the "queue pointer" seems to be valid:
(gdb) p *(bus->priv->queue)
$64 = {refcount = 1, head_mem = 0x7fff802013f0, tail_mem = 0x7fff802013f0,
free_list = 0x7fff98334770}

-- 
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