Opened 16 years ago

Last modified 13 years ago

#1218 closed defect (invalid)

mplayer segfaults on playing RTSP stream

Reported by: lars.g.kjellberg@… Owned by: r_togni@…
Priority: normal Component: demuxer
Version: HEAD Severity: normal
Keywords: Cc: compn
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

When playing the stream at URL: rtsp://streamer-01.dr.nordija.dk:80/dr1high, mplayer gives op with SIGSEGV.

VLC plays the stream just fine. It reports that the stream has one audio stream (mpga codec) and one video stream (h264 codec).

Debug information follows below:

lars@LARST60:~/mplayer$ gdb ./mplayer
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) run rtsp://streamer-01.dr.nordija.dk:80/dr1high
Starting program: /home/lars/mplayer/mplayer rtsp://streamer-01.dr.nordija.dk:80/dr1high
[Thread debugging using libthread_db enabled]
MPlayer dev-SVN-r27347-4.2.3 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing rtsp://streamer-01.dr.nordija.dk:80/dr1high.
Resolving streamer-01.dr.nordija.dk for AF_INET6...
[New Thread 0xb79f26c0 (LWP 15164)]
Couldn't resolve name for AF_INET6: streamer-01.dr.nordija.dk
Resolving streamer-01.dr.nordija.dk for AF_INET...
Connecting to server streamer-01.dr.nordija.dk[86.58.143.194]: 80...
rtsp_session: unsupported RTSP server. Server type is 'DSS/5.5.5b1 (Build/489.14; Platform/Linux; Release/Darwin; state/beta; )'.
STREAM_LIVE555, URL: rtsp://streamer-01.dr.nordija.dk:80/dr1high
Stream not seekable!

file format detected.

Initiated "video/MP2T" RTP subsession on port 35656

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb79f26c0 (LWP 15164)]
new_demuxers_demuxer (vd=0x0, ad=0x0, sd=0x0) at libmpdemux/demux_demuxers.c:35
35 ret->seekable = vd->seekable && ad->seekable && sd->seekable;
(gdb) bt
#0 new_demuxers_demuxer (vd=0x0, ad=0x0, sd=0x0)

at libmpdemux/demux_demuxers.c:35

#1 0x082647e5 in demux_open_rtp (demuxer=0x8ac2420)

at libmpdemux/demux_rtp.cpp:261

#2 0x0816ac34 in demux_open_stream (stream=0x8ac1a68, file_format=21,

force=0, audio_id=-1, video_id=-1, dvdsub_id=-2,
filename=0x8aad248 "rtsp://streamer-01.dr.nordija.dk:80/dr1high")
at libmpdemux/demuxer.c:789

#3 0x0816ada7 in demux_open (vs=0x8ac1a68, file_format=21, audio_id=-1,

video_id=-1, dvdsub_id=-2,
filename=0x8aad248 "rtsp://streamer-01.dr.nordija.dk:80/dr1high")
at libmpdemux/demuxer.c:998

#4 0x080b86ac in main (argc=2, argv=0xbfc76834) at mplayer.c:3238
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x8175f94 to 0x8175fd4:
0x08175f94 <new_demuxers_demuxer+20>: or %al,(%eax)
0x08175f96 <new_demuxers_demuxer+22>: add %al,%bh
0x08175f98 <new_demuxers_demuxer+24>: add $0x24,%al
0x08175f9a <new_demuxers_demuxer+26>: add %eax,(%eax)
0x08175f9c <new_demuxers_demuxer+28>: add %al,(%eax)
0x08175f9e <new_demuxers_demuxer+30>: call 0x80b33b0 <calloc@plt>
0x08175fa3 <new_demuxers_demuxer+35>: movl $0xc,(%esp)
0x08175faa <new_demuxers_demuxer+42>: mov %eax,%ebx
0x08175fac <new_demuxers_demuxer+44>: call 0x80b35d0 <malloc@plt>
0x08175fb1 <new_demuxers_demuxer+49>: mov 0x10(%ebp),%edx
0x08175fb4 <new_demuxers_demuxer+52>: mov 0x40(%esi),%ecx
0x08175fb7 <new_demuxers_demuxer+55>: movl $0x10000,0x3c(%ebx)
0x08175fbe <new_demuxers_demuxer+62>: movl $0x10000,0x38(%ebx)
0x08175fc5 <new_demuxers_demuxer+69>: test %ecx,%ecx
0x08175fc7 <new_demuxers_demuxer+71>: mov %esi,(%eax)
0x08175fc9 <new_demuxers_demuxer+73>: mov %edi,0x4(%eax)
0x08175fcc <new_demuxers_demuxer+76>: mov %edx,0x8(%eax)
0x08175fcf <new_demuxers_demuxer+79>: mov %eax,0x8e0(%ebx)
End of assembler dump.
(gdb) info all-registers
eax 0x8ac9590 145528208
ecx 0xc 12
edx 0x0 0
ebx 0x8aca200 145531392
esp 0xbfc75470 0xbfc75470
ebp 0xbfc75488 0xbfc75488
esi 0x0 0
edi 0x0 0
eip 0x8175fb4 0x8175fb4 <new_demuxers_demuxer+52>
eflags 0x10282 [ SF IF RF ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
st0 0 (raw 0x00000000000000000000)
st1 0 (raw 0x00000000000000000000)
st2 0 (raw 0x00000000000000000000)
st3 0 (raw 0x00000000000000000000)
st4 1 (raw 0x3fff8000000000000000)
st5 6.78125 (raw 0x4001d900000000000000)
st6 1216940413.0986602306365966796875 (raw 0x401d911212fa32839800)
st7 -9223372036854775808 (raw 0xc03e8000000000000000)
fctrl 0x37f 895
fstat 0x20 32
ftag 0xffff 65535
fiseg 0x73 115
fioff 0x8169db0 135699888
foseg 0x7b 123
fooff 0x8aca228 145531432
fop 0x55e 1374
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},

v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},

---Type <return> to continue, or q <return> to quit---

uint128 = 0x00000000000000000000000000000000}

xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},

v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},

uint128 = 0x00000000000000000000000000000000}

xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},

v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},

uint128 = 0x00000000000000000000000000000000}

xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},

v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},

uint128 = 0x00000000000000000000000000000000}

xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},

v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},

uint128 = 0x00000000000000000000000000000000}

xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},

v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},

uint128 = 0x00000000000000000000000000000000}

xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},

v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},

uint128 = 0x00000000000000000000000000000000}

xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},

v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},

uint128 = 0x00000000000000000000000000000000}

mxcsr 0x1f80 [ IM DM ZM OM UM PM ]
mm0 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,

0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}

mm1 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,

0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}

mm2 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,

0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}

---Type <return> to continue, or q <return> to quit---
mm3 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,

0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}

mm4 {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000},

v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x80}}

mm5 {uint64 = 0xd900000000000000, v2_int32 = {0x0, 0xd9000000},

v4_int16 = {0x0, 0x0, 0x0, 0xd900}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0xd9}}

mm6 {uint64 = 0x911212fa32839800, v2_int32 = {0x32839800,

0x911212fa}, v4_int16 = {0x9800, 0x3283, 0x12fa, 0x9112}, v8_int8 = {0x0,
0x98, 0x83, 0x32, 0xfa, 0x12, 0x12, 0x91}}

mm7 {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000},

v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x80}}

(gdb) quit

Change History (1)

comment:1 by compn, 13 years ago

Resolution: invalid
Status: newclosed, patriotact@gmail.com

stream is 404, bug closed.

Note: See TracTickets for help on using tickets.