[squeak-dev] Re: [4.2] tests status
Andreas Raab
andreas.raab at gmx.de
Sun Dec 26 18:36:44 UTC 2010
Hi David -
Can you try to compile an external FloatMathPlugin with CFLAGS=-O0 for
testing? I've found that some optimizations are problematic for the
FloatMathPlugin. On Windows, I've been compiling everything with -O0 for
this very reason and I wouldn't be surprised if that fixes it on Unix as
well.
Cheers,
- Andreas
On 12/26/2010 7:17 PM, David T. Lewis wrote:
> Some further detail:
>
> The test crashes the 4.0.3-2202 VM in iteration 21 of #testCos. Failure
> occurs in the #cos send. The apparently identical call does not fail in a
> workspace.
>
> The following workspace doit sets up the data exactly as it appears
> within #testCos at iteration 21 immediately prior to the failure. When
> running the test case, the crash occurs at the #cos call. When evaluated
> in a workspace, it does not crash.
>
> bytes := #[193 185 104 160 246 115 176 146].
> float := Float basicNew: 2.
> float basicAt: 1 put: (bytes unsignedLongAt: 1 bigEndian: true).
> float basicAt: 2 put: (bytes unsignedLongAt: 5 bigEndian: true).
> float cos ==> 1.0
>
> According to gdb, the crash is happening here:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x08097cc4 in __kernel_rem_pio2 (x=0x0, y=0x0, e0=0, nx=0, prec=0, ipio2=0x0)
> at /home/piumarta/squeak/platforms/Cross/plugins/FloatMathPlugin/fdlibm/k_rem_pio2.c:246
> (gdb) bt
> #0 0x08097cc4 in __kernel_rem_pio2 (x=0x0, y=0x0, e0=0, nx=0, prec=0, ipio2=0x0)
> at /home/piumarta/squeak/platforms/Cross/plugins/FloatMathPlugin/fdlibm/k_rem_pio2.c:246
> #1 0x00000000 in ?? ()
> (gdb)
>
>
> I have not tried rebuilding this version of the VM from source, although that
> might be a good next step.
>
> Dave
>
>
>
More information about the Squeak-dev
mailing list
|