FS#15396 - [mplayer] Illegal instruction

Attached to Project: Arch Linux
Opened by Gilles Bedel (gillux) - Monday, 06 July 2009, 04:11 GMT
Last edited by Hugo Doria (hdoria) - Monday, 06 July 2009, 14:45 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Hugo Doria (hdoria)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

MPlayer immediatley crashes with an "Illegal instruction" error withouy displaying anything. I suspect it was compiled with a CPU extension my CPU lacks, but the disassembled code near the crash don't show special instructions. I'm trying to recompile it, more news in a few hours.

Additional info:
* package version(s) : 29411-2
* full bugreport attached

Steps to reproduce: Run mplayer, with or without args.
This task depends upon

Closed by  Hugo Doria (hdoria)
Monday, 06 July 2009, 14:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed on mplayer 29411-3
Comment by Gerardo Exequiel Pozzi (djgera) - Monday, 06 July 2009, 04:48 GMT
0x081a11a9 <GetRelativeTime+25>: movq %xmm0,0x8(%esp) <<<--- yes this is a SSE2 instruction, you don't have SSE2. Anyway mplayer must be recompiled without this optimization.
Comment by Jan de Groot (JGC) - Monday, 06 July 2009, 06:30 GMT
This is because the runtime CPU detection has been removed, mplayer optimizes for the system that it is compiled on then.
Comment by Gilles Bedel (gillux) - Monday, 06 July 2009, 11:06 GMT
Thank you. Indeed, recompiling it from my machine solved it.

djgera: damn, how did you know about the sse2 instruction ? Are you using some software or you are just x86 experienced ? On my side I only saw that movq was from mmx. Some operand shows it's sse2 ? I would be glad if you tell me more about it.
Comment by Hugo Doria (hdoria) - Monday, 06 July 2009, 11:31 GMT
Remove --enable-runtime-cpudetection was suggested by the mplayer folks on #mplayer@freenode.net . I will add it again, since it is not working for everyone. Rebuilding right now.

Loading...