I've had a heck of a time trying to narrow this down for the past day
+1/2. I have a program that used to run fine on a dual P3-1G. The
machine had other issues, so we upgraded the MB/CPU/RAM to a P4-3G. My
program no longer runs. It bombs with "Floating Point Exception" when
it tries to call Imager::Font::Wrap->wrap_text. (but only if there is a
space in the text it is trying to write.)
I've stripped down the program to basically the command that causes the
failure. I can run it on another system (Sempron 64, 32bit linux) with
the same version of Perl, Imager, libm, etc. Can anyone else try it on
a few different machines? I'm curious to know if I'm tickling a bug in
the P4, or if we just have bad hardware.
The CPU it fails on is:
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Pentium(R) 4 CPU 3.06GHz
stepping : 9
cpu MHz : 3065.768
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm
constant_tsc up pni monitor ds_cpl tm2 cid cx16 xtpr lahf_lm
bogomips : 6139.12
And the program is attached. You will need to edit the "font" line to
point at a valid font file on your system.
Thanks.
ttyl
srw
This archive was generated by hypermail 2.1.8 : Fri Sep 08 2006 - 23:26:38 CST