[Bug 696541] New: tests: test_play_multithreaded doesn't stop listening

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Mar 25 02:51:25 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=696541
  GStreamer | gst-rtsp-server | git

           Summary: tests: test_play_multithreaded doesn't stop listening
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: davidsf at axis.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=239736)
 View: https://bugzilla.gnome.org/attachment.cgi?id=239736
 Review: https://bugzilla.gnome.org/review?bug=696541&attachment=239736

GSocketService cleanup

In gst-rtsp-server, run rtspserver check tests with CK_FORK=no and fatal
warnings:

CK_FORK=no G_DEBUG=fatal-warnings make -C tests/check gst/rtspserver.check

The test fails with "GLib-GIO-WARNING **: fail: Socket is already closed"

In a gdb backtrace, it can be seen that the warning comes when
g_socket_service_ready is called during test_play_multithreaded. The problem is
that no GSocketService is used in that test. It remains from the previous test
test_bind_already_in_use, which hasn't cleaned up properly.

The attached patch is a suggested fix for the problem. g_socket_service_stop is
used in test_bind_already_in_use, so the socket service stops listening for
incoming connections.

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