On Thu, Jul 4, 2013 at 4:32 PM, Christian Marillat <marillat@???> wrote:
> Javier Vasquez <j.e.vasquez.v@???> writes:
>
> [...]
>
>> Program received signal SIGILL, Illegal instruction.
>> 0x76876948 in ?? () from /usr/lib/mipsel-linux-gnu/libavcodec.so.54
>> (gdb) bt
>> #0 0x76876948 in ?? () from /usr/lib/mipsel-linux-gnu/libavcodec.so.54
>> warning: GDB can't find the start of the function at 0x76876948.
>
> Exactly what I thought. Could you install ffmpeg-dbg and do another
> gdb bt ?
>
> Christian
>
Here it goes the gdb output:
-------------------
# gdb /usr/bin/mpd
...
This GDB was configured as "mipsel-linux-gnu".
...
Reading symbols from /usr/bin/mpd...Reading symbols from
/usr/lib/debug/.build-id/e1/7ae727e30ac52994447ae735a7acdcffdc7ef7.debug...done.
done.
(gdb) run
Starting program: /usr/bin/mpd
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/mipsel-linux-gnu/loongson2f/libthread_db.so.1".
Program received signal SIGILL, Illegal instruction.
ff_dsputil_static_init () at libavcodec/dsputil.c:2618
2618 libavcodec/dsputil.c: No such file or directory.
(gdb) bt
#0 ff_dsputil_static_init () at libavcodec/dsputil.c:2618
#1 0x76d7ccc0 in avcodec_init () at libavcodec/utils.c:142
#2 avcodec_register (codec=<optimized out>) at libavcodec/utils.c:158
#3 0x768f42f4 in avcodec_register_all () at libavcodec/allcodecs.c:96
#4 0x7754ee60 in av_register_all () at libavformat/allformats.c:60
#5 0x00440fa8 in ffmpeg_init (param=<optimized out>) at
src/decoder/ffmpeg_decoder_plugin.c:182
#6 0x0043a3fc in decoder_plugin_init (param=0x0, plugin=0x464444
<ffmpeg_decoder_plugin>) at src/decoder_plugin.h:121
#7 decoder_plugin_init_all () at src/decoder_list.c:226
#8 0x004252a4 in mpd_main (argc=<optimized out>, argv=<optimized
out>) at src/main.c:408
#9 0x75a9e934 in __libc_start_main () from
/lib/mipsel-linux-gnu/loongson2f/libc.so.6
#10 0x004106a0 in __start ()
-------------------
And you can notice ffmpeg comes from dmo as well:
% dpkg --list ffmpeg
...
+++-=================================-=====================-=====================-========================================================================
ii ffmpeg 8:1.2.1-dmo4 mipsel
audio/video encoder, streaming server & audio/video file
converter.
Thanks,
--
Javier.