- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Oracle 9.0.2.3 OCCI & multithread
Operating System - HP-UX
1752806
Members
5963
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2003 07:59 AM
тАО06-20-2003 07:59 AM
Oracle 9.0.2.3 OCCI & multithread
we have developed an Oracle OCCI application which run using Oracle 9.2.0.3 on HP-UX
B.11.11 U 9000/800 .
The compilation step terminate successfully, but at runtime the application
fails with "Bus error(coredump)" error.
The problem occurred during the OCI Environment
Creation(Environment::createEnvironment( Environment::OBJECT )), in particular
when use the follow library "/lib/pa20_64/libpthread.1"
This problem occurred on another machine (test machine) in 9.2.0.1 environment
and we solved it installing Oracle patch 2457956 .
Now Oracle said that there's no patch available for 9.2.0.3 environment and the only workaround is to compile the software using "-mt" option (multithreaded)
-------------------------------------------
Due to the way the linker works on HPUX, if any library is present that has a
dependency on libpthread.sl, then the thread-safe code from the Standard C++
Library will be linked in whereas during compilation, non-thread-safe code
from the Standard C++ Library is used (at least from a user's point-of-view,
for a more complete and detailed description, please contact HPUX).
-------------------------------------------
Do we have to compile using "-mt" option ?
which kind of check in the source code we have to perform to be sure to avoid
unexpected behaviour, problems ?
B.11.11 U 9000/800 .
The compilation step terminate successfully, but at runtime the application
fails with "Bus error(coredump)" error.
The problem occurred during the OCI Environment
Creation(Environment::createEnvironment( Environment::OBJECT )), in particular
when use the follow library "/lib/pa20_64/libpthread.1"
This problem occurred on another machine (test machine) in 9.2.0.1 environment
and we solved it installing Oracle patch 2457956 .
Now Oracle said that there's no patch available for 9.2.0.3 environment and the only workaround is to compile the software using "-mt" option (multithreaded)
-------------------------------------------
Due to the way the linker works on HPUX, if any library is present that has a
dependency on libpthread.sl, then the thread-safe code from the Standard C++
Library will be linked in whereas during compilation, non-thread-safe code
from the Standard C++ Library is used (at least from a user's point-of-view,
for a more complete and detailed description, please contact HPUX).
-------------------------------------------
Do we have to compile using "-mt" option ?
which kind of check in the source code we have to perform to be sure to avoid
unexpected behaviour, problems ?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2003 10:04 PM
тАО06-22-2003 10:04 PM
Re: Oracle 9.0.2.3 OCCI & multithread
Hello,
Have you debugged the code and have a backstrace of the coredump ? If the library is threaded compiled then you must compile with -mt option!
Have you debugged the code and have a backstrace of the coredump ? If the library is threaded compiled then you must compile with -mt option!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2003 11:19 PM
тАО06-22-2003 11:19 PM
Re: Oracle 9.0.2.3 OCCI & multithread
We have only to compile with -mt option , or we have also to check / modify the source code to be "mt" compliant ???
In this case which are the rules that we nned to observe to produce an "mt" compiant source code ?
thanks a lot ...
In this case which are the rules that we nned to observe to produce an "mt" compiant source code ?
thanks a lot ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2003 11:38 PM
тАО06-22-2003 11:38 PM
Re: Oracle 9.0.2.3 OCCI & multithread
The only problems that you could have is when using threads( see thread specific programming ) within your application. The library is compiled with threads to suport this programming behavior.
If you aren't using threads then all should work as with the library compiled without threads.
If you aren't using threads then all should work as with the library compiled without threads.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP