Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gst-rtsp-server
gst-rtsp-server
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 80
    • Issues 80
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 11
    • Merge Requests 11
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gst-rtsp-servergst-rtsp-server
  • Issues
  • #46

Closed
Open
Opened Jul 27, 2018 by Bugzilla Migration User@bugzilla-migration

Leaks various objects and asserts on shutdown

Submitted by Sebastian Dröge @slomo

Link to original bug (#796881)

Description

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@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
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gstreamer/gst-rtsp-server#46