[MPlayer-dev-eng] [PATCH] libnemesi support in mplayer

Guillaume LECERF foxcore at gmail.com
Thu Sep 6 17:09:18 CEST 2007


2007/9/6, Luca Barbato <lu_zero at gentoo.org>:
> We are in the process of cleaning up the library in order to have its
> first formal release, so tests and feedbacks are more than welcome.

I tested it on my setup, and it segfaults :

$ gdb ./mplayer
<...>
(gdb) r -v rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=219
<...>
Configuration: --enable-nemesi --enable-debug
<...>
STREAM: [rtsp] rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=219
STREAM: Description: RTSP streaming
STREAM: Author: Alessandro Molina
STREAM: Comment: implemented over libnemesi
Stream not seekable!

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1227293888 (LWP 8602)]
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x081a3c83 in stream_fill_buffer (s=0x88443d8) at stream.c:255
#2  0x0814e3b8 in avi_check_file (demuxer=0x8844f40) at ../stream/stream.h:133
#3  0x08143ae3 in demux_open_stream (stream=0x88443d8, file_format=21,
force=0, audio_id=-1, video_id=-1, dvdsub_id=-2, filename=0x8830330
"rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=219") at
demuxer.c:727
#4  0x08144030 in demux_open (vs=0x88443d8, file_format=142882256,
audio_id=-1, video_id=-1, dvdsub_id=-2, filename=0x8830330
"rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=219") at
demuxer.c:872
#5  0x0807d96e in main (argc=3, argv=0xbfbdd3a4) at mplayer.c:2949
(gdb) up
#1  0x081a3c83 in stream_fill_buffer (s=0x88443d8) at stream.c:255
255
len=s->streaming_ctrl->streaming_read(s->fd,s->buffer,STREAM_BUFFER_SIZE,
s->streaming_ctrl);break;
(gdb) p *s->streaming_ctrl
$3 = {url = 0x8844e98, status = streaming_stopped_e, buffering = 0,
prebuffer_size = 0, buffer = 0x0, buffer_size = 0, buffer_pos = 0,
bandwidth = 0, streaming_read = 0, streaming_seek = 0x81b5e30
<rtsp_streaming_seek>, data = 0x0}
(gdb) p *s->streaming_ctrl->streaming_read
Cannot access memory at address 0x0

It seems the s->streaming_ctrl->streaming_read isn't defined.

Hope it helps.

-- 
Guillaume LECERF
GeeXboX developer - www.geexbox.org



More information about the MPlayer-dev-eng mailing list