| | |
Signal Handler for arithmetical error (overflow, underflow, div by zero)
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Mar 2007
Posts: 13
Reputation:
Solved Threads: 0
Hi all, someone can tell me where i can find an example of this kind of signal handler?
i try to use fenv.h but on cygwin doesn't work (cygwin don't have it) and this program must run on cygwin and on solaris.
i try also with SIGFPE, but when i test a div by zero, he only report this:
[main] memory2 3456 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
Segmentation fault (core dumped)
i try to use fenv.h but on cygwin doesn't work (cygwin don't have it) and this program must run on cygwin and on solaris.
i try also with SIGFPE, but when i test a div by zero, he only report this:
[main] memory2 3456 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
Segmentation fault (core dumped)
![]() |
Similar Threads
- Winsock Multi-Client Servers (C++)
- Send data on a serial port (C++)
- Hyperlink a div (JavaScript / DHTML / AJAX)
- C++ GUI (Graphical User Interface) for beginners (C++)
- Signal error from mathematical operation in C (C)
- overflow or under flow in arithmetic operation (C#)
- How to be Crash Free (C++)
Other Threads in the C Forum
- Previous Thread: "Break"
- Next Thread: shri code:
Views: 1811 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for C
#include * append array arrays bash binarysearch changingto char character cm copyanyfile copypdffile createprocess() database directory drawing dynamic execv feet fgets file floatingpointvalidation fork framework function functions getlogicaldrivestrin givemetehcodez global grade graphics gtkwinlinux histogram homework i/o ide include infiniteloop initialization input interest intmain() iso keyboard kilometer lazy license linked linkedlist linux list looping loopinsideloop. lowest matrix meter microsoft mqqueue mysql oddnumber odf open openwebfoundation overwrite pause pdf pointer pointers posix power process program programming pyramidusingturboccodes read recursion recv recvblocked reversing segmentationfault single socket socketprogramming spoonfeeding standard strchr string student suggestions system test testing threads unix urboc user whythiscodecausesegmentationfault win32api windowsapi





