Hi,

I would also check you're compiling / linking consistently with the -mt flag. I'm pretty sure the OCI libraries were compiled for multi-threading, so you build of XercesC and application (plus any other third-party libs) must be built and linked with -mt. Also check you're using the latest compiler, linker and runtime patches.

Do you have a small example that you can post that reproduces the issue?

The symptoms you describe make me think there is potentially corruption in the application somewhere, and that linking vs not linking something in just might mask the problem. You might try running it in the latest gdb with heap and memory checking enabled.


Jerry


Sean Johnston wrote:
On Thu, May 29, 2008 at 6:29 PM, David Bertoni <[EMAIL PROTECTED]> wrote:

Sean Johnston wrote:

I'm struggling with an unexpected crash. It seems that when I link with
Oracle OCI libraries on HPUX ia64 the parser crashes. It is fine when
linking with ODBC (easysoft) libraries.

I would check two things:
1. Verify that all of your binaries are linking with the same -A option.
 That is, make sure you aren't mixing -AA and -AP.  I would suspect the
Oracle library was built with -AP.

2. Verify that the Oracle library you're using isn't also linking with
Xerces-C or some variant of the Xerces-C library.

Dave


I'll have a look at that, thanks. Linking against the shared version of the
Oracle libraries seems OK so the build of the Oracle static libraries
certainly looks like a likely culprit here. Or of course that is fine and I
need to change my build and possibly my Xerces-C build too.

Sean.

Reply via email to