From: Jochen Kuepper <jochen@uni-duesseldorf.de>
To: axp-list@redhat.com
Subject: Re: [Fwd: Mozilla]
Date: Mon, 28 Jun 2134 19:48:18 +0200 [thread overview]
Message-ID: <98052213215700.28064@bacchus.pc1.uni-duesseldorf.de> (raw)
On Fri, 22 May 1998, Chad Campbell wrote:
>Anyone had problems with SIGFPE like this?:
>
>Program received signal SIGFPE, Arithmetic exception.
>0x1205fd2ac in JS_DefineConstDoubles (cx=0x120c20400, obj=0x120c39d70,
> cds=0x120b72ad0) at jsapi.c:1182
>1182 jsint i = (jsint)d;
Yes, same here. Linux-2.0.33, glibc-2.0.7, egcs-1.0.3.
>I've been trying to fix this with the help of one of the Netscape
Good boy.
>people. He suggested using _MD_EarlyInit set like that of freebsd.c:
>
>void _MD_EarlyInit(void)
>{
> struct sigaction act;
>
> act.sa_handler = SIG_IGN;
> sigemptyset(&act.sa_mask);
> act.sa_flags = SA_RESTART;
> sigaction(SIGFPE, &act, 0);
>}
>
>to ignore SIGFPE. However, even though this function is called before
>JS_DefineConstDoubles, and nothing is restoring the default SIGFPE
>handler, SIGFPE is still not being ignored. Can anyone point me towards
>a solution? I'm using egcs 1.03a in RedHat 5.0 with lesstif.
>
>jsapi.c is in mozilla/js/src
>_MD_EarlyInit is defined in mozilla/nsprpub/pr/src/md/unix
>
>Apparently, jsint i = (jsint)d; is ending up trying to cast NaN to
>integer.
Would compiling with -mieee help eventually ?
Wish you good luck,
-- Jochen
-----------------------------------------------------------------------
Jochen K"upper
Heinrich-Heine-Universit"at D"usseldorf jochen@uni-duesseldorf.de
Institut f"ur Physikalische Chemie I
Universit"atsstr. 1, Geb 26.43 Raum 02.29 phone ++49-211-8113681
40225 D"usseldorf fax ++49-211-8115195
Germany http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------
next reply other threads:[~1998-05-22 11:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-22 11:23 Jochen Kuepper [this message]
1998-05-22 14:55 ` [Fwd: Mozilla] Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
1998-05-22 10:29 Chad Campbell
1998-05-22 19:48 ` Uncle George
1998-05-24 19:04 ` Christoph Zens
1998-05-25 9:52 ` Uncle George
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox