From mboxrd@z Thu Jan 1 00:00:00 1970 To: fernanbolando@mailc.net, 9fans@9fans.net Subject: Re: [9fans] signal.h in APE for newbies From: "Russ Cox" Date: Fri, 4 Jul 2008 11:54:04 -0400 In-Reply-To: <1d5d51400807040717xbf9fbf7v7466ae0394b77255@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20080704155159.C61A41E8C26@holo.morphisms.net> Topicbox-Message-UUID: db80e91a-ead3-11e9-9d60-3106f5b1d025 > Any chance this is some 9vx issue? I tried the test code below it > worked in 9grid.jp ,but gave the following message in 9vx You are caught in quite a tangled web. The hardware gets a floating point trap, Linux/BSD/OS X turns it into a SIGFPE, vx32 turns it back into a hardware trap, Plan 9 turns it into a note, APE turns it back into a SIGFPE. Unfortunately for you, vx32 does not do a very good job turning SIGFPEs into the correct hardware trap. Someone needs to go through the various systems and figure out what the right mapping is from info->si_code back to x86 exception code. When I started to do this, I got very confused and didn't care enough to muddle through. Russ