When we compile an application loading Oracle client 9.2.0.4 from a dynamically (dlopen) loaded library, we get a segmentation fault in teh exit method, at the very end of the application. This does not happen when loading libclntsh.so dynamically directly from teh main method, before starting the application. This does not happen with oracle 10g client, which must have been compiled with a more recent compiler...
-- Summary: Segmentation fault in exit when loading oracle client in a dynamically loaded library Product: gcc Version: 4.2.1 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dvt at isoft dot fr GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34286