[Mplayer-advusers] segfault in play_tree_parser_get_line (was: [MPlayer-users] segfault on wmv streams)

Bertrand Baudet bertrand_baudet at yahoo.com
Thu Jan 2 17:34:26 CET 2003


Should be fixed in CVS.

Bertrand

On Wednesday 01 January 2003 03:36 pm, Attila Kinali wrote:
> Begin forwarded message:
>
> Date: Sun, 15 Dec 2002 23:22:46 +0100
> From: Zaphod Beeblebrox <zaphod-b at herz--aus--gold.de>
> To: mplayer-users at mplayerhq.hu
> Subject: [MPlayer-users] segfault on wmv streams
>
>
> mms://www.kika.de/vorgucker/bibi_blocksberg.wmv
>
>
> ---schnipp---
> (gdb) run -v mms://www.kika.de/vorgucker/bibi_blocksberg.wmv
> Starting program: /home/attila/src/mplayer/main/mplayer -v
> mms://www.kika.de/vorgucker/bibi_blocksberg.wmv [New Thread 1024 (LWP
> 25410)]
> Using GNU internationalization
> Original domain: messages
> Original dirname: /usr/share/locale
> Current domain: mplayer
> Current dirname: /usr/local/share/locale
>
>
> MPlayer CVS-021017-12:02-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS)
>
> CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 1)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
> Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
>
> Reading config file /usr/local/etc/mplayer/mplayer.conf: Datei oder
> Verzeichnis nicht gefunden Reading config file /home/attila/.mplayer/config
> Reading /home/attila/.mplayer/codecs.conf: can't open
> '/home/attila/.mplayer/codecs.conf': Datei oder Verzeichnis nicht gefunden
> Reading /usr/local/etc/mplayer/codecs.conf: 49 audio & 126 video codecs
> CommandLine: '-v' 'mms://www.kika.de/vorgucker/bibi_blocksberg.wmv'
> get_path('font/font.desc') -> '/home/attila/.mplayer/font/font.desc' Font
> /home/attila/.mplayer/font/font.desc loaded successfully! (140 chars) Using
> MMX (with tiny bit MMX2) Optimized OnScreenDisplay
> Failed to open /dev/rtc: Keine Berechtigung (mplayer should be setuid root
> or /dev/rtc should be readable by the user.) Using usleep() timing
> get_path('input.conf') -> '/home/attila/.mplayer/input.conf'
> Can't open input config file /home/attila/.mplayer/input.conf : Datei oder
> Verzeichnis nicht gefunden Can't open input config file
> /usr/local/etc/mplayer/input.conf : Datei oder Verzeichnis nicht gefunden
> Falling back on default (hardcoded) input config
> get_path('bibi_blocksberg.wmv.conf') ->
> '/home/attila/.mplayer/bibi_blocksberg.wmv.conf'
>
> Playing mms://www.kika.de/vorgucker/bibi_blocksberg.wmv
> Trying ASF/HTTP...
> Resolving www.kika.de ...
> Connecting to server www.kika.de[193.22.36.176]:80 ...
> =====> ASF Redirector
> Connected to server: www.kika.de
> Parsing playlist mms://www.kika.de/vorgucker/bibi_blocksberg.wmv...
> Trying asx...
> Trying winamp playlist...
> Trying extended m3u playlist...
> Trying plaintext playlist...
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1024 (LWP 25410)]
> 0x40466915 in memmove () from /lib/libc.so.6
> (gdb) bt
> #0  0x40466915 in memmove () from /lib/libc.so.6
> #1  0x0805b038 in play_tree_parser_get_line (p=0x682f3c0a)
>     at playtreeparser.c:107
> #2  0x74682f3c in ?? ()
> Cannot access memory at address 0x203e6c
> (gdb) up
> #1  0x0805b038 in play_tree_parser_get_line (p=0x682f3c0a)
>     at playtreeparser.c:107
> 107           memmove(p->buffer,end,p->buffer_end);
> (gdb) p p
> $2 = (play_tree_parser_t *) 0x83881c8
> (gdb) p *p
> $1 = {stream = 0x203e6c,
>   buffer = 0x74682f3c <Address 0x74682f3c out of bounds>,
>   iter = 0x203e6c6d <Address 0x203e6c6d out of bounds>,
>   line = 0x682f3c00 <Address 0x682f3c00 out of bounds>,
>   buffer_size = 1047293300, buffer_end = 792461344, deep = 1819112552,
>   keep = 1006641214}
> (gdb) l
> 102         end++;
> 103
> 104       if(!p->keep) {
> 105         if(end[0] != '\0') {
> 106           p->buffer_end -= end-p->iter;
> 107           memmove(p->buffer,end,p->buffer_end);
> 108         } else
> 109           p->buffer_end = 0;
> 110         p->iter = p->buffer;
> 111       } else
> ---schnapp---
>
>
> 		Attila	Kinali



More information about the MPlayer-advusers mailing list