[squeak-dev] Re: [4.2] tests status
David T. Lewis
lewis at mail.msen.com
Sun Dec 26 18:17:32 UTC 2010
On Sun, Dec 26, 2010 at 11:41:00AM -0500, David T. Lewis wrote:
> On Sun, Dec 26, 2010 at 12:17:47AM -0800, Markus Lampert wrote:
> >
> > ----- Original Message ----
> > > From: Andreas Raab <andreas.raab at gmx.de>
> > > To: The general-purpose Squeak developers list
> > ><squeak-dev at lists.squeakfoundation.org>
> > > Sent: Sat, December 25, 2010 11:16:22 PM
> > > Subject: [squeak-dev] Re: [4.2] tests status
> > >
> > > On 12/24/2010 9:35 PM, David T. Lewis wrote:
> > > > On Fri, Dec 24, 2010 at 03:41:23PM -0300, Jecel Assumpcao Jr. wrote:
> > > >> Ken G. Brown wrote on Wed, 22 Dec 2010 23:19:45 -0800
> > > >>> I think too, that it would be good to coordinate with Matthew F.
> > > >>> To be sure the Croquet stuff is operational in 4.2.
> > > >>
> > > >> Yes, this was actually mentioned in the last meeting report -
> > > >>
> > > >> http://squeakboard.wordpress.com/2010/12/21/meeting-report-for-december-
> > > >> 21-2010/
> > > >>
> > > >> If I understood correctly, he will continue to track Trunk and doesn't
> > > >> feel that an incomplete merge in 4.2 will be a problem. He did mention
> > > >> the "FloatMath plugin issue" and that it would be good to have that
> > > >> solved in 4.2, but I have not been paying attention to this discussion.
> > > >
> > > > I think that the "FloatMath plugin issue" is Mantis 0007583: Float does
> > > > not use FloatMathPlugin for bit-consistent float math across platforms.
> > > >
> > > > http://bugs.squeak.org/view.php?id=7583
> > >
> > > I went ahead and pushed the changes. They do look reasonable to me but
> > > please everyone give it a shot and run all the float tests to ensure it
> > > works on your favorite platform as well. In short, if all the tests in
> > > KernelTests-Numbers pass, we're good, if any fail, please report back
> > > with details.
> > >
> > > Cheers,
> > > - Andreas
> >
> > Updating the image and running the tests takes my vm down :(.
> > Manages to complete 2350 tests (although there are some errors) and then it
> > crashes.
> >
> >
> > Ubuntu 10.04 64bit, Squeak-4.0.3.2202.Linux_i386
> >
> > Markus
>
> Confirmed. It crashes in FloatConsistencyTests>>testCos on the standard
> VM 4.0.3-2202 downloaded from squeakvm.org.
>
> All tests pass on a newer VM (4.4.1-2329) compiled locally on my machine. I'm
> not sure what the difference is, but I'll report back if I figure it out.
>
> Failure conditions:
>
> Linux version 2.6.34.7-0.4-desktop (geeko at buildhost) (gcc version 4.5.0 20100604 [gcc-4_5-branch revision 160292] (SUSE Linux) ) #1 SMP PREEMPT 2010-10-07 19:07:51 +0200
>
> Smalltalk vm versionLabel ==> '4.0.3-2202'
> Smalltalk listBuiltinModules detect: [:e | 'FloatMathPlugin*' match: e] ==> 'FloatMathPlugin 10 April 2010 (i)'
>
> Console output:
>
> lewis at linux-jh8m:~/squeak/Squeak3.10-dev> SQUEAK_ENCODING=UTF-8
> SQUEAK_PATHENC=UTF-8
> SQUEAK_PLUGINS=/usr/local/lib/squeak/4.0.3-2202
> + exec /usr/local/lib/squeak/4.0.3-2202/squeakvm squeak.22
>
> Segmentation fault
>
> -1131387792 FloatConsistencyTests>testCos
> -1131389892 FloatConsistencyTests>floatTest:
> -1131389984 BlockClosure>on:do:
> -1131394348 FloatConsistencyTests>floatTest:
> -1131394440 FloatConsistencyTests>testCos
> -1131394532 TestCase>performTest
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
|