[Bug 351017] Re: mpeg2enc crashes with SIGILL on non-p4 architectures.
Andreas Moog
andreas-launchpad at warperbbs.de
Tue Apr 21 00:38:43 UTC 2009
** Summary changed:
- mpeg2enc crashed with SIGILL in init_fdct()
+ mpeg2enc crashes with SIGILL on non-p4 architectures.
** Description changed:
Binary package hint: mjpegtools
When trying to encode a DVB recording to mpeg2, the mpeg2enc program
crashes, with "Illegal Instruction" signal.
Perhaps the mjpegtools available in Ubuntu Jaunty's multiverse is
compiled with processor architecture settings that are incompatible with
the CPU on this machine (/proc/cpuinfo listed below).
- *** Log file:
+ model name : AMD Athlon(TM) XP 3200+
- [render] + mpeg2enc -f 8 -n p -o /tmp/vdr-burn.Colour_of_Magic.hUCTlv/menu-background.m2v
- [render] INFO: [mpeg2enc] SETTING EXTENDED MMX for MOTION!
- [render] INFO: [mpeg2enc] SETTING SSE and MMX for TRANSFORM!
- [render] INFO: [png2yuv] Image dimensions are 720x576
- [render] INFO: [png2yuv] Movie frame rate is: 25.000000 frames/second
- [render] INFO: [png2yuv] Interlaced frames, top field first.
- [render] INFO: [png2yuv] Frame size: 720 x 576
- [render] INFO: [png2yuv] Now generating YUV4MPEG stream.
- [render] Illegal instruction (core dumped)
- [render] Illegal instruction (core dumped)
- [vdr] process render (pid = 20877) exited gracefully (exit code 132)
+ SRU-Testcase:
- *** /proc/cpuinfo:
+ Using the version of mjpegtools available in the archive, every
+ encoding-process on non-pentium4 architectures is terminated with
+ SIGILL. Further investigation shows that the build-architecture runs on
+ P4-processors. See http://launchpadlibrarian.net/21608730
+ /buildlog_ubuntu-jaunty-i386.mjpegtools_1%3A1.9.0-0.0_FULLYBUILT.txt.gz
+ for the buildlog.
- processor : 0
- vendor_id : AuthenticAMD
- cpu family : 6
- model : 10
- model name : AMD Athlon(TM) XP 3200+
- stepping : 0
- cpu MHz : 2200.282
- cache size : 512 KB
- fdiv_bug : no
- hlt_bug : no
- f00f_bug : no
- coma_bug : no
- fpu : yes
- fpu_exception : yes
- cpuid level : 1
- wp : yes
- flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up
- bogomips : 4400.56
- clflush size : 32
- power management: ts
+ Comparing this build-log to a build done locally on an AMD-Athlon shows
+ that on the athlon the option "-mno-sse2" is given to the compiler, as
+ the Athlon does not understand SSE2.
- ProblemType: Crash
- Architecture: i386
- CrashCounter: 1
- DistroRelease: Ubuntu 9.04
- ExecutablePath: /usr/bin/mpeg2enc
- NonfreeKernelModules: nvidia
- Package: mjpegtools 1:1.9.0-0.0
- ProcCmdline: mpeg2enc -f 8 -n p -o /tmp/vdr-burn.Colour_of_Magic.hUCTlv/menu-background.m2v
- ProcEnviron:
- LANGUAGE=fi_FI
- PATH=(custom, no user)
- LANG=fi_FI.UTF-8
- Signal: 4
- SourcePackage: mjpegtools
- StacktraceTop:
- init_fdct () from /usr/lib/libmpeg2encpp-1.9.so.0
- init_transform () from /usr/lib/libmpeg2encpp-1.9.so.0
- MPEG2Encoder::SIMDInitOnce ()
- MPEG2Encoder::MPEG2Encoder ()
- ?? ()
- Title: mpeg2enc crashed with SIGILL in init_fdct()
- Uname: Linux 2.6.28-11-generic i686
- UserGroups: cdrom video
+ Using a locally built-version shows that the package now works as
+ expected.
+
+ SRU-Justification:
+
+ As there are many non-Pentium4 users out there they will all run into
+ this problem. And with a fix for bug 270976 on the way, there is a high-
+ probability of more user's having this crash.
+
+ SRU-Regression-potential:
+
+ The potential for regressions is very low to non-existent as there is no
+ code-change involved here.
** Summary changed:
- mpeg2enc crashes with SIGILL on non-p4 architectures.
+ [SRU] mpeg2enc crashes with SIGILL on non-p4 architectures.
** Description changed:
Binary package hint: mjpegtools
When trying to encode a DVB recording to mpeg2, the mpeg2enc program
crashes, with "Illegal Instruction" signal.
Perhaps the mjpegtools available in Ubuntu Jaunty's multiverse is
compiled with processor architecture settings that are incompatible with
the CPU on this machine (/proc/cpuinfo listed below).
model name : AMD Athlon(TM) XP 3200+
- SRU-Testcase:
+ SRU TEST CASE:
Using the version of mjpegtools available in the archive, every
encoding-process on non-pentium4 architectures is terminated with
SIGILL. Further investigation shows that the build-architecture runs on
P4-processors. See http://launchpadlibrarian.net/21608730
/buildlog_ubuntu-jaunty-i386.mjpegtools_1%3A1.9.0-0.0_FULLYBUILT.txt.gz
for the buildlog.
Comparing this build-log to a build done locally on an AMD-Athlon shows
that on the athlon the option "-mno-sse2" is given to the compiler, as
the Athlon does not understand SSE2.
Using a locally built-version shows that the package now works as
expected.
- SRU-Justification:
+ SRU JUSTIFICATION:
As there are many non-Pentium4 users out there they will all run into
this problem. And with a fix for bug 270976 on the way, there is a high-
probability of more user's having this crash.
- SRU-Regression-potential:
+ SRU REGRESSION POTENTIAL:
The potential for regressions is very low to non-existent as there is no
code-change involved here.
--
[SRU] mpeg2enc crashes with SIGILL on non-p4 architectures.
https://bugs.launchpad.net/bugs/351017
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list