[MPlayer-dev-eng] MPlayer interrupted by signal 4 in module:decode_video
Shapiro, Alex (OTTAWA)
Alex.Shapiro at windriver.com
Fri Jun 8 16:02:28 CEST 2007
Siarhei,
>Most likely you can fix this issue by adding extra '--disable-armv6'
configure
>option. But it is interesting to know why cpu features autodetection
fails.
Thanks !
The solution is to add the '--disable-armv6' to configure. The problem
resolved, thanks!
>Can you provide a part of 'configure.log' which contains information
related
>to ARMv6 check (and optionally also ARMv5TE and IWMMXT checks if they
>contain anything interesting too)?
##########################################
============ Checking for ARMv6 (SIMD instructions) ============
int main(void) { __asm__ __volatile__ ("sadd16 r0, r0, r0"); }
ccache arm-wrs-linux-gnueabi-armv5tel-glibc_small-gcc -W -Wall
-Wno-unused-parameter -O2 -g
-I/home/dsodemo/WindRiver/workspace/Nokia-770-LX1.5-Platform_prj/host-cr
oss/arm-wrs-linux-gnueabi/lib/live
-L/home/dsodemo/WindRiver/workspace/Nokia-770-LX1.5-Platform_prj/host-cr
oss/arm-wrs-linux-gnueabi/lib/live -o /tmp/mplayer-conf-7183-6530.o
/tmp/mplayer-conf-22513-6530.c
/tmp/mplayer-conf-22513-6530.c: In function `main':
/tmp/mplayer-conf-22513-6530.c:1: warning: control reaches end of
non-void function
Result is: yes
##########################################
After adding extra '--disable-armv6', the ARMv6 shows:
##########################################
============ Checking for ARMv6 (SIMD instructions) ============
Result is: no
##########################################
Thanks again,
Alex
-----Original Message-----
From: mplayer-dev-eng-bounces at mplayerhq.hu
[mailto:mplayer-dev-eng-bounces at mplayerhq.hu] On Behalf Of Siarhei
Siamashka
Sent: Thursday, June 07, 2007 8:18 PM
To: mplayer-dev-eng at mplayerhq.hu
Subject: Re: [MPlayer-dev-eng] MPlayer interrupted by signal 4 in
module:decode_video
On Friday 08 June 2007 01:19, Shapiro, Alex (OTTAWA) wrote:
> My svn MPlayer crushed with the following debugger message: Signal
> received(SIGILL) in Thread mplayer at
> mplayer-checkout-2007-06-01/libavcodec/armv4l/simple_idct_armv6.S:288
> illegal instruction.
Yes, it is indeed illegal instruction for your processor. You got ARMv6
optimizations compiled in while your cpu supports ARMv5TE only.
> / # cat /proc/cpuinfo
> Processor : ARM926EJ-Sid(wb) rev 3 (v5l)
> BogoMIPS : 125.76
> Features : swp half thumb fastmult edsp java
[...]
> MPlayer interrupted by signal 4 in module: decode_video
> - MPlayer crashed by an 'Illegal Instruction'.
> It usually happens when you run it on a CPU different than the one
> it was
> compiled/optimized for.
> Verify this!
So MPlayer already provides a reasonable error message which explains
how to solve the problem.
Most likely you can fix this issue by adding extra '--disable-armv6'
configure option. But it is interesting to know why cpu features
autodetection fails.
Can you provide a part of 'configure.log' which contains information
related to ARMv6 check (and optionally also ARMv5TE and IWMMXT checks if
they contain anything interesting too)?
Normally you should have something like this in it (unless -mcpu or
-march is set to cpu which can support ARMv6 instructions):
##########################################
============ Checking for ARMv6 (SIMD instructions) ============
int main(void) { __asm__ __volatile__ ("sadd16 r0, r0, r0"); }
cc -Wall -Wno-switch -O4 -pipe -ffast-math -fomit-frame-pointer -o
/var/tmp/mplayer-conf-17897-31363.o /var/tmp/mplayer-conf-10297-31363.c
/var/tmp/mplayer-conf-10297-31363.c: In function `main':
/var/tmp/mplayer-conf-10297-31363.c:1: warning: control reaches end of
non-void function {standard input}: Assembler messages:
{standard input}:14: Error: selected processor does not support `sadd16
r0,r0,r0'
Result is: no
##########################################
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng at mplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
More information about the MPlayer-dev-eng
mailing list