A
Alfred.Cheong
I am building a NSS module on Solaris 10 64bit (amd64). It is a dynamic
linked library to be invoked by the other programs like the system
command ps.
The dynamic linked library is build on C++. Exception are thrown when
errors are detected. The exceptions actually are handled inside the
dynamic linked library. It is found that the exception can't be caught
when the DLL is invoked by programs like the ps command and lead to
segmentation fault. Yet, the exceptions can be caught when the DLL is
invoked my testing C++ program.
I have try the -fexceptions option in GCC, the problem still exists.
Can anyone give me some suggestions?
Thanks
linked library to be invoked by the other programs like the system
command ps.
The dynamic linked library is build on C++. Exception are thrown when
errors are detected. The exceptions actually are handled inside the
dynamic linked library. It is found that the exception can't be caught
when the DLL is invoked by programs like the ps command and lead to
segmentation fault. Yet, the exceptions can be caught when the DLL is
invoked my testing C++ program.
I have try the -fexceptions option in GCC, the problem still exists.
Can anyone give me some suggestions?
Thanks