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

刘世伟 liushiwei at gmail.com
Mon Sep 8 08:33:18 UTC 2008


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





More information about the pkg-multimedia-maintainers mailing list