Bug#498216: ffmpeg, mplayer (mipsel/loongson2f) stops with the error message "Segmentation fault." and fix patch

Fabian Greffrath greffrath at leat.rub.de
Mon Sep 8 15:39:24 UTC 2008


Upstream has renamed this variable to 'initialized' in r11920, but 
still has it uninitialized [sic!].

Reinhard, could you please submit this small patch upstream and 
include it in our tree?

Cheers,
Fabian

刘世伟 schrieb:
> Package: ffmpeg
> Version: 0.svn20080206-12
> Severity: critical
> Justification: breaks unrelated software
> 
> *** Please type your report below this line ***
> (gdb) run
> Starting program: /usr/bin/ffmpeg
> [Thread debugging using libthread_db enabled]
> [New Thread 0x2aad0f40 (LWP 26315)]
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x2aad0f40 (LWP 26315)]
> 0x2abe11e8 in avcodec_register_all () at
> /usr/src/ffmpeg/ffmpeg-debian-0.svn20080206/libavcodec/allcodecs.c:58
> warning: Source file is more recent than executable.
> 58          if (inited)
> 
> fix this bug:
> --- ffmpeg-debian-0.svn20080206.orig/libavcodec/allcodecs.c
> +++ ffmpeg-debian-0.svn20080206/libavcodec/allcodecs.c
> @@ -53,7 +53,7 @@
>  */
>  void avcodec_register_all(void)
>  {
> -    static int inited;
> +    static int inited=0;
> 
>    if (inited)
>        return;
> 
> -- System Information:
> Debian Release: lenny/sid
>  APT prefers testing
>  APT policy: (500, 'testing')
> Architecture: mipsel (mips64)
> 
> Kernel: Linux 2.6.18.8-loongson2f-v1.02a (PREEMPT)
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages ffmpeg depends on:
> ii  libavcodec51          0.svn20080206-12.1 ffmpeg codec library
> ii  libavdevice52         0.svn20080206-12.1 ffmpeg device handling library
> ii  libavformat52         0.svn20080206-12.1 ffmpeg file format library
> ii  libavutil49           0.svn20080206-12.1 ffmpeg utility library
> ii  libc6                 2.7-13             GNU C Library: Shared libraries
> ii  libfreetype6          2.3.7-1            FreeType 2 font engine, shared lib
> ii  libimlib2             1.4.0-1.1          powerful image loading and renderi
> ii  libsdl1.2debian       1.2.13-2           Simple DirectMedia Layer
> ii  libswscale0           0.svn20080206-12.1 ffmpeg video scaling library
> 
> ffmpeg recommends no packages.
> 
> ffmpeg suggests no packages.
> 
> -- no debconf information
> 
> 
> 
> _______________________________________________
> pkg-multimedia-maintainers mailing list
> pkg-multimedia-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
> 
> 


-- 
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax:     +49 (0)234 / 32-14227
E-Mail:  greffrath at leat.ruhr-uni-bochum.de





More information about the pkg-multimedia-maintainers mailing list