[Bug 796881] New: Leaks various objects and asserts on shutdown

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 27 09:41:36 UTC 2018


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

            Bug ID: 796881
           Summary: Leaks various objects and asserts on shutdown
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: slomo at coaxion.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

See attached patch to test-launch. Run with "videotestsrc ! x264enc !
rtph264pay name=pay0" and make sure to attach a client before 10s are over.

First observation: it only actually quits once the client disconnects.
gst_deinit() hangs:

Thread 1 (Thread 0x7f2420859680 (LWP 19897)):
#0  0x00007f242265da79 in syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f2422c4ee0f in g_cond_wait (cond=cond at entry=0x55f87474ef40,
mutex=0x55f87474f850) at ../../../../glib/gthread-posix.c:1402
#2  0x00007f2422c31f3c in g_thread_pool_free (pool=0x55f87474ef20, immediate=0,
wait_=<optimized out>)
    at ../../../../glib/gthreadpool.c:776
#3  0x00007f24235b977a in default_cleanup (pool=0x55f87474a910 [GstTaskPool])
at gsttaskpool.c:88
#4  0x00007f24235b890d in init_klass_pool (klass=<optimized out>) at
gsttask.c:161
#5  0x00007f24235b8b52 in gst_task_cleanup_all () at gsttask.c:381
#6  0x00007f242353c6c4 in gst_deinit () at gst.c:1095
#7  0x000055f8728292f4 in main (argc=<optimized out>, argv=<optimized out>) at
test-launch.c:102

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