After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 708742 - tests: test_play_multithreaded_timeout_client fails
tests: test_play_multithreaded_timeout_client fails
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
git master
Other Linux
: Normal normal
: 1.2.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-09-25 12:40 UTC by Ognyan Tonchev (redstar_)
Modified: 2014-02-25 22:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Don't try writing to a connection which has closed (2.02 KB, patch)
2013-09-25 12:53 UTC, Ognyan Tonchev (redstar_)
none Details | Review

Description Ognyan Tonchev (redstar_) 2013-09-25 12:40:15 UTC
test_play_multithreaded_timeout_client fails with:

Unexpected critical/warning: gst_rtsp_message_parse_response: assertion 'msg->type == GST_RTSP_MESSAGE_RESPONSE || msg->type == GST_RTSP_MESSAGE_HTTP_RESPONSE' failed

The test is wrong since it's trying to use the GstRTSPConnection while the other end has closed due to session timeout. The bug was revealed after fixing a file descriptor leak on the server side:

https://bugzilla.gnome.org/show_bug.cgi?id=708667
Comment 1 Ognyan Tonchev (redstar_) 2013-09-25 12:53:44 UTC
Created attachment 255683 [details] [review]
Don't try writing to a connection which has closed
Comment 2 Wim Taymans 2013-09-26 12:37:54 UTC
commit 39dceb77ff7adfdf48814faf4ff52ea905188b2e
Author: Ognyan Tonchev <ognyan@axis.com>
Date:   Thu Sep 26 14:36:58 2013 +0200

    tests: fix unit test
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=708742