Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 1997 02:45:48 -0500 (EST)
From:      Kenneth Merry <ken@housing1.stucen.gatech.edu>
To:        smp@freebsd.org
Subject:   possible bug
Message-ID:  <199701210745.CAA14073@housing1.stucen.gatech.edu>

next in thread | raw e-mail | index | archive | help

	I ran into this while compiling the perl5 port tonight.  This
little C program is part of the Configure script:

========================================================
#include <sys/types.h>
#include <signal.h>
void blech() { exit(3); }
main()
{
        int i32;
        double f;
        int result = 0;
        signal(SIGFPE, blech);

        f = (double) 0x7fffffff;
        f = 10 * f;
        i32  = (int) f;

        if (i32 != (int) f)
                result |= 1;
        exit(result);
}
========================================================

	In single processor mode, it runs just fine.  When I activate the
second processor and run the program, though, it crashes the machine. (i.e.
no keyboard or mouse input works, everything is hung)  It doesn't (or at
least hasn't for me) produce a crash dump.  (haven't had time to enable
DDB and try to trace it there..)

	I'm running the latest SMP sources, with APIC_IO and SMP_INVLTLB
enabled.  If anyone wants more info, let me know.


Ken
-- 
Kenneth Merry
ken@ulc199.residence.gatech.edu
Disclaimer:  I don't speak for GTRI, GT, or Elvis.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701210745.CAA14073>