1761375 Members
3942 Online
108901 Solutions
New Discussion юеВ

Bus error(coredump)

 
SOLVED
Go to solution
SupraTeam
Advisor

Bus error(coredump)

Hello
when i execute a fortran binary, i obtain :

in workstation A:
./xstn001: 3594 Bus error(coredump)
In workstation B:
A good result.

My parameters in workstation A :
>>ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 262144
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 254

>>kmtune -lq maxssiz
Parameter: maxssiz
Current: 0x800000
Planned: 0X800000
Default: 0x00800000
Minimum: -
Module: -
Version: -
Dynamic: No

My parameters in workstation B :
>>ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 392192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 2048

>>kmtune -lq maxssiz
Parameter: maxssiz
Current: 0x17f00000
Planned: 0X17F00000
Default: 0x00800000
Minimum: -
Module: -
Version: -
Dynamic: No

I have no idea !!!!!
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Bus error(coredump)

Typical FORTRAN code requires a larger than default stack size. Use SAM to increase maxssiz and maxdsiz to match your "good" machine's value and then build a new kernel.
If this is a 64-bit version of HP-UX, you also need to make certain that the 64-bit cousin (e.g. maxssiz_64bit) are at least as large as their 32-bit counterparts. After making these changes and rebooting, run ulimit -a again to make sure the values match. It's possible that .profile (or /etc/profile) ulimit entries are also in effect.
If it ain't broke, I can fix that.
SupraTeam
Advisor

Re: Bus error(coredump)

Thanks it's OK