Signal handling and core file creation
Hello,
we are working on a big application that sometimes decides to create core files and block the rest of the application components to work. The creation of the core file takes long on our v880, becausethe core file is 7-10GB in size.
Now we found the#pragma init (..) to introduce a signal handler into an executable. Now we have a function that is called, if SIGSEGV or SIGBUS happen. We created a smal file containing a funtion for setting the signal handling and the function to be called in case of the two signals. In this funtion we call some p-functions like pfiles, ... This file is compiled to be a shared library and is liked to the application.
But, sometime a core file is created and sometimes not. We did not find out what the reason is. Does someone know?
We want the output of the p-functions and the core file. Is there a way?
Solaris 8
Compiler Collection 7
Sun Fire v880 (6x 900MHz, 12GB, 6x 72GB disk)
Kind regards
Oliver

