473,396 Members | 2,076 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

SIGBUS and SIGSEGV Errors in HP-UX 11 and Oracle 9i

What are the possibilities of getting SIGBUS and SIGSEGV errors in the
following scenario?

There is a program (C/C++/Pro*C) that was running fine under HP-UX
11.x and Oracle8i (8.1.6). Oracle database was upgraded to Oracle9i
(9.2.0). The source code, including the project libraries, was
re-compiled with 64-bit HP-UX C/C++ compiler options, the Pro*C code
was pre-compiled with Oracle9i precompiler, and linked with 64-bit
Oracle9i libraries.

Also, this program runs as a daemon, spawns processes, allocates and
deallocates memory (through new and delete). Furthermore, the program
runs fine for some time. However, if I increase the number of records
from Oracle9i to be processed, the daemon stops and logs either SIGBUS
or SIGSEGV error.

What are the possible reasons of getting SIGBUS or SIGSEGV error in
the above scenario?

Thank you.
Jul 19 '05 #1
0 3513

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dieter Maurer | last post by:
Python 2.3.3, Linux 2.4.x: It looks as if a SIGSEGV in a thread of a multi threaded application does not kill the complete process under some circumstances but only one thread (unrelated to the...
7
by: USUN_TO | last post by:
Hi, i got problem when i bind in this way: local_addr.sin_family = AF_INET; local_addr.sin_addr.s_addr = inet_addr("127.0.0.1"); local_addr.sin_port = htons(CLIENT_PORT); i can easly bind...
4
by: junky_fellow | last post by:
what is the difference between signals SIGBUS and SIGSEGV ? when does an application program receive SIGBUS and in which cases SIGSEGV ? thanx in advance for any help ...
13
by: vashwath | last post by:
Hi all, In my current project I am using signals for error handling. Since I cannot show full code, I have just shown important piece of code which is relevant. void sigsegenv() {...
20
by: sunilkjin | last post by:
Hi, What is wrong with the reverse function, gives a segmentatiion violation. I think it is relates to data alignment.(4 bytes ...). Thanks Slashdot void main() { char *s="abcdexgh";...
4
by: Bin Chen | last post by:
Hi, I don't know what's wrong with my program, it causes SIGSEGV: #include <vector> using namespace std; int main(void) {
10
by: contactmayankjain | last post by:
Hi, I am getting the following error. Can you tell me any solution to this problem and the reason for this 298 Program received signal SIGBUS, Bus error. 0x000000080137ae02 in...
1
by: alpha77 | last post by:
Hi, I am getting frequent SIGSEV/SIGBUS while my main returns. I am using C++ Forte Compiler : CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-20 2004/03/19 The core stack trace shows that the...
1
by: krazedkid | last post by:
I am trying to get my code to handle SIGSEGV multiple times, it will handle one of them but then nothing else. void sigHandler( int signum ) { if ( signum == SIGSEGV ) { printf("got a...
1
by: milindras | last post by:
Hi, I have ftp client doen by using C program, when I complie its comin with a warning: data definition has no type or storage class & when i run it it comes as Segmentation fault Pls...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.