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 557610 - udpsrc fails to bind() on Mac OS X (IPv4 vs. IPv6 problem)
udpsrc fails to bind() on Mac OS X (IPv4 vs. IPv6 problem)
Status: RESOLVED DUPLICATE of bug 553191
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.10
Other Mac OS
: Normal blocker
: 0.10.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-10-23 13:47 UTC by Anders Ödlund
Modified: 2008-10-23 13:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Anders Ödlund 2008-10-23 13:47:44 UTC
Please describe the problem:
The udpsrc component (used by the rtsp source componet) fails with the following error on Mac OS X (10.5)

udpsrc gstudpsrc.c:763:gst_udpsrc_start:<udpsrc0> allocating socket for 0.0.0.0:0
udpsrc gstudpsrc.c:780:gst_udpsrc_start:<udpsrc0> binding on port 0
udpsrc gstudpsrc.c:887:gst_udpsrc_start:<udpsrc0> error: bind failed -1: Invalid argument (22)

The error is due to the address_len being the wrong size: sizeof(src->myaddr) instead of sizeof(struct sockaddr_in), I'd guess this is due to differences between IPv4 and IPv6.

I'm pretty sure this is related to what's described in #534243

Steps to reproduce:
1. Use the rtspsrc filter to access a UDP rtsp url on Mac OS X 10.5


Actual results:
The pipeline fails to start

Expected results:
The pipeline would start

Does this happen every time?
Yes

Other information:
Comment 1 Wim Taymans 2008-10-23 13:53:11 UTC

*** This bug has been marked as a duplicate of 553191 ***