<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Installed ffmpeg-dbg and libav-dbg:<br><br>[user@debian 13] ~ > gdb ffmpeg <br>GNU gdb (GDB) 7.3-debian<br>Copyright (C) 2011 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html><br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law. Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "arm-linux-gnueabi".<br>For bug reporting instructions, please see:<br><http://www.gnu.org/software/gdb/bugs/>...<br>Reading symbols from /usr/bin/ffmpeg...Reading symbols from /usr/lib/debug/.build-id/2d/1df8571d341bd8b7ea3d712c24490e74d6ed0d.debug...done.<br>done.<br>(gdb) run<br>Starting program: /usr/bin/ffmpeg <br>[Thread debugging using libthread_db enabled]<br><br>Program received signal SIGILL, Illegal instruction.<br>0x00018cf8 in show_banner () at /build/buildd-libav_0.8-1-armel-M_oTHt/libav-0.8/cmdutils.c:510<br>510 /build/buildd-libav_0.8-1-armel-M_oTHt/libav-0.8/cmdutils.c: No such file or directory.<br> in /build/buildd-libav_0.8-1-armel-M_oTHt/libav-0.8/cmdutils.c<br>(gdb) bt<br>#0 0x00018cf8 in show_banner () at /build/buildd-libav_0.8-1-armel-M_oTHt/libav-0.8/cmdutils.c:510<br>#1 0x0000f910 in main (argc=1, argv=0xbefffc74) at /build/buildd-libav_0.8-1-armel-M_oTHt/libav-0.8/ffmpeg.c:4377<br>(gdb) info program<br> Using the running image of child Thread 0x41decfd0 (LWP 20534).<br>Program stopped at 0x18cf8.<br>It stopped with signal SIGILL, Illegal instruction.<br>(gdb) <br>It stopped with signal SIGILL, Illegal instruction.<br>(gdb) ^Z<br>[1]+ Stopped gdb ffmpeg<br>[04:10 - 0.21]<br>[user@debian 14] ~ > cat /proc/20534/maps <br>00008000-00021000 r-xp 00000000 08:02 130087 /usr/bin/ffmpeg<br>00028000-0002a000 rwxp 00018000 08:02 130087 /usr/bin/ffmpeg<br>0002a000-0004b000 rwxp 00000000 00:00 0 [heap]<br>40000000-4001d000 r-xp 00000000 08:02 212838 /lib/arm-linux-gnueabi/ld-2.13.so<br>4001d000-40024000 rwxp 00000000 00:00 0 <br>40024000-40025000 r-xp 0001c000 08:02 212838 /lib/arm-linux-gnueabi/ld-2.13.so<br>40025000-40026000 rwxp 0001d000 08:02 212838 /lib/arm-linux-gnueabi/ld-2.13.so<br>4002e000-4003b000 r-xp 00000000 08:02 130076 /usr/lib/arm-linux-gnueabi/libavdevice.so.53.2.0<br>4003b000-40042000 ---p 0000d000 08:02 130076 /usr/lib/arm-linux-gnueabi/libavdevice.so.53.2.0<br>40042000-40044000 rwxp 0000c000 08:02 130076 /usr/lib/arm-linux-gnueabi/libavdevice.so.53.2.0<br>40044000-40065000 r-xp 00000000 08:02 130080 /usr/lib/arm-linux-gnueabi/libavfilter.so.2.15.0<br>40065000-4006c000 ---p 00021000 08:02 130080 /usr/lib/arm-linux-gnueabi/libavfilter.so.2.15.0<br>4006c000-40071000 rwxp 00020000 08:02 130080 /usr/lib/arm-linux-gnueabi/libavfilter.so.2.15.0<br>40071000-40141000 r-xp 00000000 08:02 132526 /usr/lib/arm-linux-gnueabi/libavformat.so.53.20.0<br>40141000-40148000 ---p 000d0000 08:02 132526 /usr/lib/arm-linux-gnueabi/libavformat.so.53.20.0<br>40148000-40153000 rwxp 000cf000 08:02 132526 /usr/lib/arm-linux-gnueabi/libavformat.so.53.20.0<br>40153000-407e3000 r-xp 00000000 08:02 132523 /usr/lib/arm-linux-gnueabi/libavcodec.so.53.34.0<br>407e3000-407fb000 rwxp 00690000 08:02 132523 /usr/lib/arm-linux-gnueabi/libavcodec.so.53.34.0<br>407fb000-40d66000 rwxp 00000000 00:00 0 <br>40d66000-40d75000 r-xp 00000000 08:02 132579 /usr/lib/arm-linux-gnueabi/libpostproc.so.52.0.0<br>40d75000-40d7c000 ---p 0000f000 08:02 132579 /usr/lib/arm-linux-gnueabi/libpostproc.so.52.0.0<br>40d7c000-40d7d000 rwxp 0000e000 08:02 132579 /usr/lib/arm-linux-gnueabi/libpostproc.so.52.0.0<br>40d7d000-40dac000 r-xp 00000000 08:02 132604 /usr/lib/arm-linux-gnueabi/libswscale.so.2.1.0<br>40dac000-40db3000 ---p 0002f000 08:02 132604 /usr/lib/arm-linux-gnueabi/libswscale.so.2.1.0<br>..............<br>.............<br>..............<br><br><br><br>Best regards,<br><br>Darwin<br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Sun, 5 Feb 2012 09:02:50 +0100<br>> Subject: Re: Bug#657885: ffmpeg: Illegal instruction on dreamplug (arm cpu)<br>> From: siretart@gmail.com<br>> To: darwin_te@hotmail.com; 657885@bugs.debian.org<br>> <br>> On Sun, Jan 29, 2012 at 5:27 PM, Darwin Te <darwin_te@hotmail.com> wrote:<br>> > Package: ffmpeg<br>> > Version: 4:0.8-1<br>> > Severity: normal<br>> ><br>> ><br>> > Dear Maintainer,<br>> ><br>> ><br>> > [16:16 - 1.25]<br>> > [user@debian 1] ~ > ffmpeg<br>> > Illegal instruction<br>> > [16:16 - 1.25]<br>> > [user@debian 2] ~ > gdb ffmpeg<br>> > GNU gdb (GDB) 7.3-debian<br>> > Copyright (C) 2011 Free Software Foundation, Inc.<br>> > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html><br>> > This is free software: you are free to change and redistribute it.<br>> > There is NO WARRANTY, to the extent permitted by law. Type "show copying"<br>> > and "show warranty" for details.<br>> > This GDB was configured as "arm-linux-gnueabi".<br>> > For bug reporting instructions, please see:<br>> > <http://www.gnu.org/software/gdb/bugs/>...<br>> > Reading symbols from /usr/bin/ffmpeg...(no debugging symbols found)...done.<br>> > (gdb) run<br>> > Starting program: /usr/bin/ffmpeg<br>> > [Thread debugging using libthread_db enabled]<br>> ><br>> > Program received signal SIGILL, Illegal instruction.<br>> > 0x00018cf8 in ?? ()<br>> > (gdb) disassemble $pc, $pc+0x20<br>> > Cannot access memory at address 0x0<br>> > Dump of assembler code from 0x18cf8 to 0x18d18:<br>> > => 0x00018cf8: movw lr, #2011 ; 0x7db<br>> > 0x00018cfc: ldr r2, [pc, #148] ; 0x18d98<br>> > 0x00018d00: ldr r4, [pc, #148] ; 0x18d9c<br>> > 0x00018d04: ldr r12, [r12]<br>> > 0x00018d08: ldr r3, [r3, r2]<br>> > 0x00018d0c: add r4, pc, r4<br>> > 0x00018d10: ldr r2, [pc, #136] ; 0x18da0<br>> > 0x00018d14: str lr, [sp, #4]<br>> > End of assembler dump.<br>> ><br>> ><br>> > More system information:<br>> ><br>> > Initializing cgroup subsys cpu<br>> > Linux version 3.1.10 (kelly@bbb.internal) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #1 PREEMPT Fri Jan 20 10:47:05 MST 2012<br>> > CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977<br>> > CPU: VIVT data cache, VIVT instruction cache<br>> > Machine: Marvell GuruPlug Reference Board<br>> <br>> I see. Your machine is not ARMv7 capable, yet, the baseline flavor of<br>> libavcodec does seem to use ARMv7 instructions. cf.<br>> http://blogs.arm.com/software-enablement/251-how-to-load-constants-in-assembly-for-arm-architecture/<br>> <br>> Can you please retrieve a backtrace with libav-dbg installed? I need<br>> to know where exactly in the code the offending instruction occurs in<br>> order to determine if it's an upstream bug or a configuration issue.<br>> <br>> Thanks<br>> Reinhard<br>> <br>> -- <br>> regards,<br>> Reinhard<br></div> </div></body>
</html>