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 726837 - rtspsrc segfault
rtspsrc segfault
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 1.3.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-21 17:36 UTC by Nicola
Modified: 2014-03-24 13:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicola 2014-03-21 17:36:30 UTC
pipeline:

gst-launch-1.0 playbin uri=rtsp://root:sintel@192.168.2.90/axis-media/media.amp

segfault

Program received signal SIGSEGV, Segmentation fault.

Thread 140737278457600 (LWP 10728)

  • #0 __strchr_sse2
    from /usr/lib/libc.so.6
  • #1 gst_rtspsrc_parse_rtpmap
    at gstrtspsrc.c line 1643
  • #2 gst_rtspsrc_media_to_caps
    at gstrtspsrc.c line 1776
  • #3 gst_rtspsrc_collect_payloads
    at gstrtspsrc.c line 1343
  • #4 gst_rtspsrc_create_stream
    at gstrtspsrc.c line 1436
  • #5 gst_rtspsrc_open_from_sdp
    at gstrtspsrc.c line 6227
  • #6 gst_rtspsrc_open
    at gstrtspsrc.c line 6445
  • #7 gst_rtspsrc_thread
    at gstrtspsrc.c line 7217
  • #8 gst_task_func
    at gsttask.c line 319
  • #9 ??
    from /usr/lib/libglib-2.0.so.0
  • #10 ??
    from /usr/lib/libglib-2.0.so.0
  • #11 start_thread
    from /usr/lib/libpthread.so.0
  • #12 clone
    from /usr/lib/libc.so.6

wireshark show that no data arrive, it crash after describe response


DESCRIBE rtsp://192.168.2.90/axis-media/media.amp RTSP/1.0
CSeq: 3
Accept: application/sdp
Authorization: Basic cm9vdDpzaW50ZWw=
Date: Fri, 21 Mar 2014 17:33:45 GMT

RTSP/1.0 200 OK
CSeq: 3
Content-Type: application/sdp
Content-Base: rtsp://192.168.2.90/axis-media/media.amp/
Date: Fri, 21 Mar 2014 17:33:46 GMT
Content-Length: 538

v=0
o=- 1395423226623136 1395423226623136 IN IP4 192.168.2.90
s=Media Presentation
e=NONE
b=AS:1424
t=0 0
a=control:*
a=range:npt=0.000000-
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:1360
a=framerate:15.0
a=transform:0.916667,0.000000,0.000000;0.000000,1.000000,0.000000;0.000000,0.000000,1.000000
a=control:trackID=1
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; profile-level-id=420014; sprop-parameter-sets=Z0IAFOKQLBLYEnBQEF4eJEVA,aM48gA==
m=audio 0 RTP/AVP 0
c=IN IP4 0.0.0.0
b=AS:64
a=control:trackID=2
Comment 1 Wim Taymans 2014-03-24 13:42:49 UTC
commit d6c5fbc87c989ff4eb574a49aa12104f7afa4a80
Author: Wim Taymans <wtaymans@redhat.com>
Date:   Thu Mar 20 11:12:51 2014 +0100

    rtspsrc: handle NULL rtpmap and parse error better