Debian Bug report logs -
#498216
ffmpeg,mplayer (mipsel/loongson2f) stops with the error message "Segmentation fault." and fix patch
Reported by: "刘世伟" <liushiwei@gmail.com>
Date: Mon, 8 Sep 2008 08:36:02 UTC
Severity: critical
Tags: help, moreinfo, patch
Found in version ffmpeg-debian/0.svn20080206-12
Fixed in version ffmpeg-debian/0.svn20080206-13
Done: Reinhard Tartler <siretart@tauware.de>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#498216; Package ffmpeg.
(full text, mbox, link).
Acknowledgement sent to "刘世伟" <liushiwei@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
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
Information forwarded to debian-bugs-dist@lists.debian.org, Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#498216; Package ffmpeg.
(full text, mbox, link).
Acknowledgement sent to Fabian Greffrath <greffrath@leat.rub.de>:
Extra info received and forwarded to list. Copy sent to Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #10 received at submit@bugs.debian.org (full text, mbox, reply):
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@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@leat.ruhr-uni-bochum.de
Information forwarded to debian-bugs-dist@lists.debian.org, Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#498216; Package ffmpeg.
(full text, mbox, link).
Acknowledgement sent to Fabian Greffrath <greffrath@leat.rub.de>:
Extra info received and forwarded to list. Copy sent to Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#498216; Package ffmpeg.
(full text, mbox, link).
Acknowledgement sent to Reinhard Tartler <siretart@tauware.de>:
Extra info received and forwarded to list. Copy sent to Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #20 received at 498216@bugs.debian.org (full text, mbox, reply):
Fabian, please make sure that you don't accidentally CC'
submit@bugs.debian.org.
Fabian Greffrath <greffrath@leat.rub.de> writes:
> 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;
>>
That's, uhm, interesting. I've done some tests with the following
program:
#include<stdio.h>
void print() {
static int s;
printf("s: %d\n", s);
}
int main () {
print();
}
I've compiled it on morales.debian.org, a mipsel porter machine with
CFLAGS set to -O0, -O2, O3 and -Os, all returned 0. AFAIR, static
variables are always initialized to 0, but I don't have the C standard
at hand right now.
刘世伟, TBH, this looks rather like a miscompilation issue here. Is
there something special with gcc on mispel? Perhaps can the mips porter
list help here?
--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4
Information forwarded to debian-bugs-dist@lists.debian.org, Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#498216; Package ffmpeg.
(full text, mbox, link).
Acknowledgement sent to Fabian Greffrath <greffrath@leat.rub.de>:
Extra info received and forwarded to list. Copy sent to Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #25 received at 498216@bugs.debian.org (full text, mbox, reply):
Reinhard Tartler schrieb:
> Fabian, please make sure that you don't accidentally CC'
> submit@bugs.debian.org.
Oops, sorry!
> I've compiled it on morales.debian.org, a mipsel porter machine with
> CFLAGS set to -O0, -O2, O3 and -Os, all returned 0. AFAIR, static
> variables are always initialized to 0, but I don't have the C standard
> at hand right now.
But then the code in allcodecs.c look rather senseless to me. Why
should you test 'if (inited)' when you've just set it yourself to 0 by
initializing it?
--
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@leat.ruhr-uni-bochum.de
Information forwarded to debian-bugs-dist@lists.debian.org, Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#498216; Package ffmpeg.
(full text, mbox, link).
Acknowledgement sent to Reinhard Tartler <siretart@tauware.de>:
Extra info received and forwarded to list. Copy sent to Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #30 received at 498216@bugs.debian.org (full text, mbox, reply):
Fabian Greffrath <greffrath@leat.rub.de> writes:
> But then the code in allcodecs.c look rather senseless to me. Why should
> you test 'if (inited)' when you've just set it yourself to 0 by
> initializing it?
In order to ensure that no matter how often that function is called, the
code below that if is executed exatly once. Think Singleton-Pattern.
--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4
Information forwarded to debian-bugs-dist@lists.debian.org, Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#498216; Package ffmpeg.
(full text, mbox, link).
Acknowledgement sent to Fabian Greffrath <greffrath@leat.rub.de>:
Extra info received and forwarded to list. Copy sent to Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #35 received at 498216@bugs.debian.org (full text, mbox, reply):
Reinhard Tartler schrieb:
> In order to ensure that no matter how often that function is called, the
> code below that if is executed exatly once. Think Singleton-Pattern.
Will the code be executed more than once if initialize it with "static
int inited=0;" (which is the proposed fix)? I fear so...
--
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@leat.ruhr-uni-bochum.de
Information forwarded to debian-bugs-dist@lists.debian.org, Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#498216; Package ffmpeg.
(full text, mbox, link).
Acknowledgement sent to Julien Cristau <jcristau@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #40 received at 498216@bugs.debian.org (full text, mbox, reply):
On Tue, Sep 9, 2008 at 09:38:22 +0200, Fabian Greffrath wrote:
> Reinhard Tartler schrieb:
>> In order to ensure that no matter how often that function is called, the
>> code below that if is executed exatly once. Think Singleton-Pattern.
>
> Will the code be executed more than once if initialize it with "static
> int inited=0;" (which is the proposed fix)? I fear so...
>
No. The variable is static, it's initialized only once. (But then, the
proposed 'fix' looks like a no-op to me.)
Cheers,
Julien
Information forwarded to debian-bugs-dist@lists.debian.org, Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#498216; Package ffmpeg.
(full text, mbox, link).
Acknowledgement sent to Thiemo Seufer <ths@networkno.de>:
Extra info received and forwarded to list. Copy sent to Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #45 received at 498216@bugs.debian.org (full text, mbox, reply):
Reinhard Tartler wrote:
[snip]
> >> (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;
As already mentioned, this shouldn't change the program logic. It
moves the variable from .bss to .data, though.
> >>
> >> if (inited)
> >> return;
> >>
>
> That's, uhm, interesting. I've done some tests with the following
> program:
>
> #include<stdio.h>
>
> void print() {
> static int s;
>
> printf("s: %d\n", s);
> }
>
> int main () {
> print();
> }
>
> I've compiled it on morales.debian.org, a mipsel porter machine with
> CFLAGS set to -O0, -O2, O3 and -Os, all returned 0. AFAIR, static
> variables are always initialized to 0, but I don't have the C standard
> at hand right now.
>
> ?????????, TBH, this looks rather like a miscompilation issue here. Is
> there something special with gcc on mispel? Perhaps can the mips porter
> list help here?
I figure the .bss isn't properly zeroed at startup of the program.
Since the same Lenny binaries work fine on other mipsel systems I
figure this is a problem connected to the Longsoon kernel.
Thiemo
Information forwarded to debian-bugs-dist@lists.debian.org, Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#498216; Package ffmpeg.
(full text, mbox, link).
Acknowledgement sent to Fabian Greffrath <greffrath@leat.rub.de>:
Extra info received and forwarded to list. Copy sent to Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #50 received at 498216@bugs.debian.org (full text, mbox, reply):
Julien Cristau schrieb:
> No. The variable is static, it's initialized only once. (But then, the
> proposed 'fix' looks like a no-op to me.)
Ah! Thx ;)
--
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@leat.ruhr-uni-bochum.de
Information forwarded to debian-bugs-dist@lists.debian.org, Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#498216; Package ffmpeg.
(full text, mbox, link).
Acknowledgement sent to Reinhard Tartler <siretart@tauware.de>:
Extra info received and forwarded to list. Copy sent to Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #55 received at 498216@bugs.debian.org (full text, mbox, reply):
tags 498216 moreinfo help
stop
I've been giving a bit more thought on this issue.
"刘世伟" <liushiwei@gmail.com> writes:
> (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)
In any case, I have strong doubts that this is really the correct place
where the segfault happens. inited being static goes to bss, which is
initialized to 0 by the loader in the linux kernel. Even if he would
fail to initialize, it shouldn't segfault, but go on (and crash
elsewhere). The only thing I could imagine that could cause a crash here
is if the kernel failed to map the .bss segment, which would be pretty
fatal and make you very unlikely to even get so far.
Could you please recheck that the source does really match the
executable? NB: You need to apply the quilt patches before running gdb!
> 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;
As already indicated, this should no have any change to semantics of
that function and as such is a no-op. Can you please try recompiling
ffmpeg without this patch, read: without any modification? Please also
state what exact compiler version you are using.
> -- System Information:
> Debian Release: lenny/sid
> APT prefers testing
> APT policy: (500, 'testing')
> Architecture: mipsel (mips64)
lenny with a debian/etch kernel? Uh?
> Kernel: Linux 2.6.18.8-loongson2f-v1.02a (PREEMPT)
Debian does not ship such a kernel, nor is the loongson architecture
supported. Based on the information you've given, I'm inclined to
conclude that the problem is in that kernel. Please clarify.
> 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
There is no such version of ffmpeg. What changes (other than the patch
above) have been made to the package?
> 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
>
--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4
Tags added: moreinfo, help
Request was from Reinhard Tartler <siretart@tauware.de>
to control@bugs.debian.org.
(Wed, 10 Sep 2008 05:06:04 GMT) (full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#498216; Package ffmpeg.
(full text, mbox, link).
Acknowledgement sent to Fabian Greffrath <greffrath@leat.rub.de>:
Extra info received and forwarded to list. Copy sent to Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #62 received at 498216@bugs.debian.org (full text, mbox, reply):
Reinhard Tartler schrieb:
> Debian does not ship such a kernel, nor is the loongson architecture
> supported. Based on the information you've given, I'm inclined to
> conclude that the problem is in that kernel. Please clarify.
Should a bug in a kernel/architecture that is not even supported by
Debian really be considered RC?
--
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@leat.ruhr-uni-bochum.de
Information forwarded to debian-bugs-dist@lists.debian.org, Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#498216; Package ffmpeg.
(full text, mbox, link).
Acknowledgement sent to Reinhard Tartler <siretart@tauware.de>:
Extra info received and forwarded to list. Copy sent to Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #67 received at 498216@bugs.debian.org (full text, mbox, reply):
Fabian Greffrath <greffrath@leat.rub.de> writes:
> Should a bug in a kernel/architecture that is not even supported by
> Debian really be considered RC?
Most Probably not. However I currently suspect this bug to be a
duplicate Bug #498397. In that case, we would indeed have RC bug that
would affect both mips and mispel.
I'm currently waiting for the original submitters of the bugs to respond
to my questions.
--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4
Information forwarded to debian-bugs-dist@lists.debian.org, Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#498216; Package ffmpeg.
(full text, mbox, link).
Acknowledgement sent to Christophe Mutricy <xtophe@chewa.net>:
Extra info received and forwarded to list. Copy sent to Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #72 received at 498216@bugs.debian.org (full text, mbox, reply):
Sorry to be horribly pragmatic and short-sighted. but if 刘世伟's patch
*does* fix the issue on mips an mipsel and allow package linking libavcodec
to not segfault and not FTBFS (thinking of vlc) then i think it should
be commited and a -13 uploaded.
We'll have plenty of time to get it theoritically and pedantically right
before lenny+1
my 2 cents,
--
Xtophe
Information forwarded to debian-bugs-dist@lists.debian.org, Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#498216; Package ffmpeg.
(full text, mbox, link).
Acknowledgement sent to Reinhard Tartler <siretart@tauware.de>:
Extra info received and forwarded to list. Copy sent to Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #77 received at 498216@bugs.debian.org (full text, mbox, reply):
Christophe Mutricy <xtophe@chewa.net> writes:
> Sorry to be horribly pragmatic and short-sighted. but if 刘世伟's patch
> *does* fix the issue on mips an mipsel and allow package linking libavcodec
> to not segfault and not FTBFS (thinking of vlc) then i think it should
> be commited and a -13 uploaded.
In principle yes, but I'm still waiting for confirmation if not also a
mere rebuild of the ffmpeg-debian was sufficient. In that case, we would
only have to request binNMUs for the package.
Moreover, I think that actually bugs #498647, #498216 and #498397 are
the same bugs.
--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4
Information forwarded to debian-bugs-dist@lists.debian.org, Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#498216; Package ffmpeg.
(full text, mbox, link).
Acknowledgement sent to Fabian Greffrath <greffrath@leat.rub.de>:
Extra info received and forwarded to list. Copy sent to Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #82 received at 498216@bugs.debian.org (full text, mbox, reply):
Reinhard Tartler schrieb:
> In principle yes, but I'm still waiting for confirmation if not also a
> mere rebuild of the ffmpeg-debian was sufficient. In that case, we would
> only have to request binNMUs for the package.
We need a new upload anyway because of #498764. However, it would
still be nice if the bugs would resolve without patching.
--
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@leat.ruhr-uni-bochum.de
Information forwarded to debian-bugs-dist@lists.debian.org, Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#498216; Package ffmpeg.
(full text, mbox, link).
Acknowledgement sent to peter green <plugwash@p10link.net>:
Extra info received and forwarded to list. Copy sent to Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #87 received at 498216@bugs.debian.org (full text, mbox, reply):
>> Should a bug in a kernel/architecture that is not even supported by
>> Debian really be considered RC?
>
>Most Probably not. However I currently suspect this bug to be a
>duplicate Bug #498397. In that case, we would indeed have RC bug that
>would affect both mips and mispel.
This patch was one of the first things I tried when trying to deal with the bug in vlc. It didn't help.
A possible workarround for the bug that impacts vlc may be to disable the cleanup on unload code completely on mips
(I haven't got arround to testing this yet though). It would mean a memory leak but only if an app unloads libavcodec at a point where the app isn't dying anyway.
Blocking bugs of 498397 added: 498647 and 498216
Request was from "Christophe Mutricy" <xtophe@videolan.org>
to control@bugs.debian.org.
(Fri, 19 Sep 2008 09:39:13 GMT) (full text, mbox, link).
Tags added: patch
Request was from Thiemo Seufer <ths@networkno.de>
to control@bugs.debian.org.
(Sun, 21 Sep 2008 14:24:09 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#498216; Package ffmpeg.
(Sun, 21 Sep 2008 16:42:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Reinhard Tartler <siretart@tauware.de>:
Extra info received and forwarded to list. Copy sent to Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(Sun, 21 Sep 2008 16:42:02 GMT) (full text, mbox, link).
Message #96 received at 498216@bugs.debian.org (full text, mbox, reply):
# Automatically generated email from bts, devscripts version 2.10.26ubuntu12
#
# ffmpeg-debian (0.svn20080206-13) unstable; urgency=low
#
# * Since gcc-4.3 mips/mipsel needs an explicit PIC flag for shared library
# code. (Closes: #498216, 498647, 498397)
#
package libpostproc51 libpostproc-dev libavcodec51 ffmpeg libavdevice52 libavcodec-dev ffmpeg-doc libavdevice-dev ffmpeg-debian libavutil49 ffmpeg-dbg libavformat52 libavformat-dev libswscale0 libswscale-dev libavutil-dev
tags 498647 + pending
tags 498216 + pending
tags 498397 + pending
Tags added: pending
Request was from Reinhard Tartler <siretart@tauware.de>
to control@bugs.debian.org.
(Sun, 21 Sep 2008 16:42:07 GMT) (full text, mbox, link).
Reply sent
to Reinhard Tartler <siretart@tauware.de>:
You have taken responsibility.
(Mon, 22 Sep 2008 07:33:05 GMT) (full text, mbox, link).
Notification sent
to "刘世伟" <liushiwei@gmail.com>:
Bug acknowledged by developer.
(Mon, 22 Sep 2008 07:33:06 GMT) (full text, mbox, link).
Message #103 received at 498216-close@bugs.debian.org (full text, mbox, reply):
Source: ffmpeg-debian
Source-Version: 0.svn20080206-13
We believe that the bug you reported is fixed in the latest version of
ffmpeg-debian, which is due to be installed in the Debian FTP archive:
ffmpeg-dbg_0.svn20080206-13_i386.deb
to pool/main/f/ffmpeg-debian/ffmpeg-dbg_0.svn20080206-13_i386.deb
ffmpeg-debian_0.svn20080206-13.diff.gz
to pool/main/f/ffmpeg-debian/ffmpeg-debian_0.svn20080206-13.diff.gz
ffmpeg-debian_0.svn20080206-13.dsc
to pool/main/f/ffmpeg-debian/ffmpeg-debian_0.svn20080206-13.dsc
ffmpeg-doc_0.svn20080206-13_all.deb
to pool/main/f/ffmpeg-debian/ffmpeg-doc_0.svn20080206-13_all.deb
ffmpeg_0.svn20080206-13_i386.deb
to pool/main/f/ffmpeg-debian/ffmpeg_0.svn20080206-13_i386.deb
libavcodec-dev_0.svn20080206-13_i386.deb
to pool/main/f/ffmpeg-debian/libavcodec-dev_0.svn20080206-13_i386.deb
libavcodec51_0.svn20080206-13_i386.deb
to pool/main/f/ffmpeg-debian/libavcodec51_0.svn20080206-13_i386.deb
libavdevice-dev_0.svn20080206-13_i386.deb
to pool/main/f/ffmpeg-debian/libavdevice-dev_0.svn20080206-13_i386.deb
libavdevice52_0.svn20080206-13_i386.deb
to pool/main/f/ffmpeg-debian/libavdevice52_0.svn20080206-13_i386.deb
libavformat-dev_0.svn20080206-13_i386.deb
to pool/main/f/ffmpeg-debian/libavformat-dev_0.svn20080206-13_i386.deb
libavformat52_0.svn20080206-13_i386.deb
to pool/main/f/ffmpeg-debian/libavformat52_0.svn20080206-13_i386.deb
libavutil-dev_0.svn20080206-13_i386.deb
to pool/main/f/ffmpeg-debian/libavutil-dev_0.svn20080206-13_i386.deb
libavutil49_0.svn20080206-13_i386.deb
to pool/main/f/ffmpeg-debian/libavutil49_0.svn20080206-13_i386.deb
libpostproc-dev_0.svn20080206-13_i386.deb
to pool/main/f/ffmpeg-debian/libpostproc-dev_0.svn20080206-13_i386.deb
libpostproc51_0.svn20080206-13_i386.deb
to pool/main/f/ffmpeg-debian/libpostproc51_0.svn20080206-13_i386.deb
libswscale-dev_0.svn20080206-13_i386.deb
to pool/main/f/ffmpeg-debian/libswscale-dev_0.svn20080206-13_i386.deb
libswscale0_0.svn20080206-13_i386.deb
to pool/main/f/ffmpeg-debian/libswscale0_0.svn20080206-13_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 498216@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Reinhard Tartler <siretart@tauware.de> (supplier of updated ffmpeg-debian package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 21 Sep 2008 17:03:50 +0200
Source: ffmpeg-debian
Binary: ffmpeg ffmpeg-dbg ffmpeg-doc libavutil49 libavcodec51 libavdevice52 libpostproc51 libavformat52 libswscale0 libavutil-dev libavcodec-dev libavdevice-dev libpostproc-dev libavformat-dev libswscale-dev
Architecture: all i386 source
Version: 0.svn20080206-13
Distribution: unstable
Urgency: low
Maintainer: Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Changed-By: Reinhard Tartler <siretart@tauware.de>
Closes: 498216 498397 498647
Description:
ffmpeg-dbg - Debug symbols for ffmpeg related packages
ffmpeg-doc - documentation of the ffmpeg API
ffmpeg - multimedia player, server and encoder
libavcodec51 - ffmpeg codec library
libavcodec-dev - development files for libavcodec
libavdevice52 - ffmpeg device handling library
libavdevice-dev - development files for libavdevice
libavformat52 - ffmpeg file format library
libavformat-dev - development files for libavformat
libavutil49 - ffmpeg utility library
libavutil-dev - development files for libavutil
libpostproc51 - ffmpeg video postprocessing library
libpostproc-dev - development files for libpostproc
libswscale0 - ffmpeg video scaling library
libswscale-dev - development files for libswscale
Changes:
ffmpeg-debian (0.svn20080206-13) unstable; urgency=low
.
[Thiemo Seufer]
* compile shared libavcodec explicitly with $(PIC), since gcc-4.3
mips/mipsel needs an explicit PIC flag for shared library
code.
.
Until gcc-4.2 Linux/MIPS always used PIC code, even for executables.
This changed with gcc-4.3, and with it the compiler default changed
to non-PIC. As a result, -fPIC now needs to be explicitly supplied
for shared library builds.
.
(Closes: #498216, 498647, 498397)
Checksums-Sha1:
5eafbcec566b8c1e3c9f88b7cbb3ab2f2a25604c 155740 libswscale0_0.svn20080206-13_i386.deb
5fbf982178f8cccb8f64ff4234c4fb350ff63985 1960634 libavcodec-dev_0.svn20080206-13_i386.deb
682afd17450243299994223ca71ab42ba6528ad1 46976 libavdevice-dev_0.svn20080206-13_i386.deb
808548d86143496722eecb46b88143f50b498f66 387872 libavformat-dev_0.svn20080206-13_i386.deb
8424d8342b61d818b8de48606760b687bd8f66ef 7999536 ffmpeg-dbg_0.svn20080206-13_i386.deb
8e2bbf2774be139e6f9dbd373a7dcb4c541c0bba 12114292 ffmpeg-doc_0.svn20080206-13_all.deb
195c005e8b346d5741a12065e241037f82d76a5c 2092 ffmpeg-debian_0.svn20080206-13.dsc
985badde6debe0a732bda78b25f4213f4557f7b6 622832 libavformat52_0.svn20080206-13_i386.deb
addcfdbbf9d004bb93fe90bc661d3d210ae1e530 235178 ffmpeg_0.svn20080206-13_i386.deb
b3f1281c268b15feeaa0f225afeae4911b3a4c99 75808 libavutil49_0.svn20080206-13_i386.deb
d4d87603bc11e3e1742847cc9980beb3a70fe419 66666 libavutil-dev_0.svn20080206-13_i386.deb
d63504facf68dabfc17faccb4a2b213560417384 69506 libpostproc51_0.svn20080206-13_i386.deb
dea20afd6848f1556f89644af02f099b1a40e602 98754 libswscale-dev_0.svn20080206-13_i386.deb
e00f01c637996d403f155c5ca7760333608a50e8 28560 ffmpeg-debian_0.svn20080206-13.diff.gz
e8fc88674a842c503539166c250a35a24ea3916d 3503882 libavcodec51_0.svn20080206-13_i386.deb
e940e97188b5e54c1dfa6b9aedd685f16d8f8f8d 60702 libavdevice52_0.svn20080206-13_i386.deb
fbffca5abbf21c081afea1f68483adf37012a6c4 51182 libpostproc-dev_0.svn20080206-13_i386.deb
Checksums-Sha256:
00a5864cd659647a0cb04d05dd54e7a7efd80ddc39838609a16e429b2a777111 60702 libavdevice52_0.svn20080206-13_i386.deb
0d56f9769ec11e2161c5680815c73c86ccb1fc8e7ee7e8d93d1f8c9d04c9aeae 98754 libswscale-dev_0.svn20080206-13_i386.deb
10d814805bdb6f0ea815df5acf13ba06ccdfa241bf6c6392eb1c8e330c52dfe6 75808 libavutil49_0.svn20080206-13_i386.deb
30188386aa3eba7399fd2311550d460fdc3b2c9cc75d37053e388f6d4a663546 3503882 libavcodec51_0.svn20080206-13_i386.deb
3f8731a3a4d0490dfe95701ed1e7c1be2d83f5a196c30ace8bb46f3c9651eafc 387872 libavformat-dev_0.svn20080206-13_i386.deb
4cc5d9c18bb2eca396d635b1fe489055a98f90f7e65ef40d819848a391a4603c 7999536 ffmpeg-dbg_0.svn20080206-13_i386.deb
53d33e4a6b31d48cda01622d403ce78ec6d75cbba00506b5e52cbb51c0e8658a 51182 libpostproc-dev_0.svn20080206-13_i386.deb
634b32218c8eb370fbabb9b878bc8a963c5d5e3ab00e31004cbad4562a7f0d78 28560 ffmpeg-debian_0.svn20080206-13.diff.gz
64c7b01c1508e5e948ada4b1d90894667b3416dd907946d2ea931ba50e585d39 622832 libavformat52_0.svn20080206-13_i386.deb
77bf5b88d416e50f9b7612de84fa96249ebb329b0954be1051ef6896817391c3 12114292 ffmpeg-doc_0.svn20080206-13_all.deb
9c43eb2236cdacc8e5d34b100444d3174a8d12fa6c77dec26f5918e057932f83 46976 libavdevice-dev_0.svn20080206-13_i386.deb
90470cb11b8a3df88d5ed0680089ff8dc803f98bd81e8169ea3bea07b08f74cd 2092 ffmpeg-debian_0.svn20080206-13.dsc
b2f69ab760938b876679430c3dfa2729a6282fd97105cfe7991e8b9c70c5f762 66666 libavutil-dev_0.svn20080206-13_i386.deb
bbcefe8f3de84cdae12111b6b925b82c27f6ba38f4eb20acbedaa59471a56faf 235178 ffmpeg_0.svn20080206-13_i386.deb
becd2ed367f7ed34cc8b0f794e0e2b91447f15f8df5277f4e606b6387ae6b6df 155740 libswscale0_0.svn20080206-13_i386.deb
d817bc320085a64ec1b97f83997a501f8a4807cf8e1f63243539cc7d736c4eeb 69506 libpostproc51_0.svn20080206-13_i386.deb
fbc947ebc1880e988ab4359f4991b5a055956fc9f63692b17b462dbe0afc0dcf 1960634 libavcodec-dev_0.svn20080206-13_i386.deb
Files:
0f09210a6b9015f48c2f483ac456c9ad 155740 libs optional libswscale0_0.svn20080206-13_i386.deb
1ff04bce04cc06ea32291386d89e1b52 60702 libs optional libavdevice52_0.svn20080206-13_i386.deb
3047bc33bc380056da38930cbe080d22 7999536 libs extra ffmpeg-dbg_0.svn20080206-13_i386.deb
35c5ea7ab989462add46c043e98d87cd 28560 libs optional ffmpeg-debian_0.svn20080206-13.diff.gz
3a385b34c295dd6d368ef5830cea2c77 387872 libdevel optional libavformat-dev_0.svn20080206-13_i386.deb
3e8a89e02dfd23907be13ba012b4d079 51182 libdevel optional libpostproc-dev_0.svn20080206-13_i386.deb
eb7a9d1a42504306e1d0ce4dfbf87c4d 2092 libs optional ffmpeg-debian_0.svn20080206-13.dsc
5d51efb35aed25bf1cc0357b0d2de458 98754 libdevel optional libswscale-dev_0.svn20080206-13_i386.deb
822f9590433f28e23a22af5e3ae51b08 235178 graphics optional ffmpeg_0.svn20080206-13_i386.deb
82920849a086eeb5eb93fe6490b30782 12114292 doc optional ffmpeg-doc_0.svn20080206-13_all.deb
b1a59a25448ca6c1c1b4cd8669fd113d 75808 libs optional libavutil49_0.svn20080206-13_i386.deb
b3dc658781d0bb91387dee46b6ff3b66 46976 libdevel optional libavdevice-dev_0.svn20080206-13_i386.deb
bc8acde487eb1c0dc878ef74b3b9f5d9 1960634 libdevel optional libavcodec-dev_0.svn20080206-13_i386.deb
c3fb347b0fdbdf4d798f865cce76a240 69506 libs optional libpostproc51_0.svn20080206-13_i386.deb
d018f8ce89c7918f2c7e222f260b9f5b 66666 libdevel optional libavutil-dev_0.svn20080206-13_i386.deb
ddaff6cabbb0efe165e948c93779c9b2 622832 libs optional libavformat52_0.svn20080206-13_i386.deb
f39a35b67ecc135019ac755ed870da35 3503882 libs optional libavcodec51_0.svn20080206-13_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Debian Powered!
iEYEARECAAYFAkjXPuIACgkQmAg1RJRTSKQz2wCggMF+UWmkGUBXxPHlmhpV+pe2
O0QAmwQCnYgy38RIiijU8TtYDz/883jf
=pBm2
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 31 Oct 2008 07:26:30 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Fri Apr 5 22:29:49 2024;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.