[Bug 2100] SIGFPE

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Mar 26 15:58:19 UTC 2013


https://www.rtems.org/bugzilla/show_bug.cgi?id=2100

--- Comment #1 from Joel Sherrill <joel.sherrill at oarcorp.com> 2013-03-26 10:58:19 CDT ---
I can't tell from this example whether main() is a POSIX pthread or a Classic
API task. If it is a Classic API task, all POSIX signals are masked since that
tasks under that API no nothing about signals.

Assuming the BSP propagates a SIGFPE exception, if this is a pthread, then it
should work.

I can't find the text that requires SIGFPE and other hardware originated
signals to be directed at a thread. I found this in book:

http://books.google.com/books?id=_xvnuFzo7q0C&pg=PA216&lpg=PA216&dq=SIGFPE+thread&source=bl&ots=Kn3SYTY6Uf&sig=4tHRFIbJdjf2MVv98CuN8Y5hGuk&hl=en&sa=X&ei=-MRRUdSwIYSa9QT6pIGgDQ&ved=0CDAQ6AEwAA#v=onepage&q=SIGFPE%20thread&f=false

The question likely comes down to what the default signal mask should be for a
task that is not a POSIX Thread.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list