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 791329 - srt: Post error message for NULL host
srt: Post error message for NULL host
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.13.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-12-07 02:07 UTC by Seungha Yang
Modified: 2017-12-07 19:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
srt: Post error message for NULL host (884 bytes, patch)
2017-12-07 02:10 UTC, Seungha Yang
committed Details | Review

Description Seungha Yang 2017-12-07 02:07:59 UTC
... instead of crash without any information
Comment 1 Seungha Yang 2017-12-07 02:10:19 UTC
Created attachment 365174 [details] [review]
srt: Post error message for NULL host

if I tried to this mistakenly, crash happened 
gst-launch-1.0 playbin uri="srt://:7001"

(gdb) bt
  • #0 __strchr_sse2
    at ../sysdeps/x86_64/multiarch/../strchr.S line 32
  • #1 g_inet_socket_address_new_from_string
    at ginetsocketaddress.c line 416
  • #2 gst_srt_client_connect_full
    at gstsrt.c line 47
  • #3 gst_srt_client_src_start
    at gstsrtclientsrc.c line 243
  • #4 gst_base_src_start
    at gstbasesrc.c line 3381

Comment 2 Olivier Crête 2017-12-07 19:07:19 UTC
Patch looks good, merged!

Attachment 365174 [details] pushed as 80f03b4 - srt: Post error message for NULL host