Link to home
Start Free TrialLog in
Avatar of tferrell
tferrell

asked on

solaris memory concerns

I am porting a c-code based accounting package onto a solaris machine, but I have been having difficulty with memory on the machine.  The current version of the source code runs on a SCO system with no problems.

The program performs core dumps during the running of the program with errors like SIGBUS error or SIGSEGV error.

One of the core dumps stops at a line in the code that reads:

ilfc.cf = ilfb.cf + ilfb.P->blank,

where ilfc.cf is a pointer into memory,
ilfb.cf is also a pointer into memory,
and ilfb.P->blank is an offset factored into ilfb.cf.

Any reason as to why this simple command core dumps?  Other core dumps have occurred in memory to memory transfers, such as:

strcpy(address1, address2);

Are there memory concerns in solaris that are not true of other unix OS's?

Thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of roy020697
roy020697

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial