Comment 21 for bug 351017

Revision history for this message
Aitor Moreno (aitormoreno) wrote :

Hi,
I also have the same kind of crashes with the mjpegtools, but not only with mpeg2enc.

Precisely, the utility ppmtoy4m crashes in the same way. I noticed, because this utility is used frequently by the DVD authoring tools (QDVDAuthor, KmediaFactory).

Here I cp all the info I have:

$ uname -srm
Linux 2.6.28-13-generic i686

$ grep name /proc/cpuinfo
model name : AMD Athlon(tm) XP 2600+

$ ppmtoy4m image001.pnm -n 675 -r -S 420mpeg2 -F 25:1 -A 59:54 -I t -L >out.y4m
   INFO: [ppmtoy4m] Command-line Parameters:
   INFO: [ppmtoy4m] framerate: 25:1
   INFO: [ppmtoy4m] pixel aspect ratio: 59:54
   INFO: [ppmtoy4m] pixel packing: RGB
   INFO: [ppmtoy4m] interlace: top-field-first (interleaved PPM input)
   INFO: [ppmtoy4m] starting frame: 0
   INFO: [ppmtoy4m] # of frames: 675, repeat last frame until done
   INFO: [ppmtoy4m] chroma subsampling: 4:2:0 MPEG-2 (horiz. cositing)
   INFO: [ppmtoy4m] Output Stream parameters:
   INFO: [ppmtoy4m] frame size: 800x600 pixels (720000 bytes)
   INFO: [ppmtoy4m] chroma: 4:2:0 MPEG-2 (horiz. cositing)
   INFO: [ppmtoy4m] frame rate: 25/1 fps (~25.000000)
   INFO: [ppmtoy4m] interlace: top-field-first
   INFO: [ppmtoy4m] sample aspect ratio: 59:54
Illegal instruction

Debugging information

$ gdb ppmtoy4m
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
(gdb) r image001.pnm -n 675 -r -S 420mpeg2 -F 25:1 -A 59:54 -I t -L >out.y4m
Starting program: /usr/bin/ppmtoy4m image001.pnm -n 675 -r -S 420mpeg2 -F 25:1 -A 59:54 -I t -L >out.y4m
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
   INFO: [ppmtoy4m] Command-line Parameters:
   INFO: [ppmtoy4m] framerate: 25:1
   INFO: [ppmtoy4m] pixel aspect ratio: 59:54
   INFO: [ppmtoy4m] pixel packing: RGB
   INFO: [ppmtoy4m] interlace: top-field-first (interleaved PPM input)
   INFO: [ppmtoy4m] starting frame: 0
   INFO: [ppmtoy4m] # of frames: 675, repeat last frame until done
   INFO: [ppmtoy4m] chroma subsampling: 4:2:0 MPEG-2 (horiz. cositing)
   INFO: [ppmtoy4m] Output Stream parameters:
   INFO: [ppmtoy4m] frame size: 800x600 pixels (720000 bytes)
   INFO: [ppmtoy4m] chroma: 4:2:0 MPEG-2 (horiz. cositing)
   INFO: [ppmtoy4m] frame rate: 25/1 fps (~25.000000)
   INFO: [ppmtoy4m] interlace: top-field-first
   INFO: [ppmtoy4m] sample aspect ratio: 59:54
[New Thread 0xb7d74b00 (LWP 432)]

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0xb7d74b00 (LWP 432)]
0x0804a80b in ?? ()
(gdb) bt
#0 0x0804a80b in ?? ()
#1 0x0804a476 in ?? ()
#2 0xb7d8b775 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#3 0x08049111 in ?? ()
(gdb) display /i $pc
1: x/i $pc
0x804a80b <y4m_si_set_chroma@plt+5939>: cvttsd2si -0x20(%ebp),%eax
(gdb)