Operating System - HP-UX
1847326 Members
2637 Online
110264 Solutions
New Discussion

cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with signal 11.

 
marko asplund
Frequent Advisor

cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with signal 11.

i'm having problems compiling the Fedora directory server on HP-UX 11i v1 using HP C/ANSI C compiler B.11.11.12 (PHSS_32509 and PHSS_32510 are installed). here's the compilation command that fails:

cc -Ae -o ldapsearch.o -c +ESlit +DA2.0W +DS2.0 -O -g +Z -DDEBUG_aspa -DDEBUG=1 -DXP_UNIX=1 -DHPUX=1 -D_HPUX_SOURCE=1 -Dhppa=1 -DHAVE_POINTER_LOCALTIME_R=1 -DHPUX10=1 -DHPUX11=1 -D_LARGEFILE64_SOURCE=1 -D_PR_HAVE_OFF64_T=1 -DHAVE_FCNTL_FILE_LOCKING=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_POSIX_C_SOURCE=199506L -D_PR_HAVE_THREADSAFE_GETHOST=1 -DNET_SSL -DNO_LIBLCACHE -DLDAP_REFERRALS -DNS_DOMESTIC -Dhpux -D_REENTRANT -DLDAP_TOOL_ARGPIN -DLDAP_TOOL_PKCS11 -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -I../../../dist/./include -I../../../../../dist/include/obsolete -I../../../../../dist/include/nspr -I../../../../../dist/HP-UXB.11.11_64_OPT.OBJ/include -I../../../../../dist/include -I../../../../../dist/public/security -I../../../../../dist/public/nss -I../../../../../dist/public/ldap -I../../../ldap/include -I../../../../../dist/public/svrcore ldapsearch.c
cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with signal 11.
gmake[2]: *** [ldapsearch.o] Error 9


this looks like a compiler problem, any ideas on how to fix or workaround this issue?

br. aspa
9 REPLIES 9
Steve Steel
Honored Contributor

Re: cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with signal 11.

Hi

Sig 11 is SIGSEGV

Try inceasing the maxdsiz maxssiz for 32 and 64 bit on the machine



Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
marko asplund
Frequent Advisor

Re: cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with signal 11.

i tried reconfiguring the kernel parameters mentioned via the SAM gui but accessing any parameters through the gui resulted in the following error message:

UNEXPECTED EXIT: process LANG=C LC_ALL=C /usr/sam/lbin/samx -C -p 27561 -s kc_sa_param /usr/sam/lib//kc.ui exited with a non-zero exit status.

sh: 27676 Memory fault

what could have caused this error? are there other explanations apart from actual hardware memory problems?

i also tried with the terminal version of SAM and i was able to change the following kernel parameter values:
maxdsiz = 268435456 ==> 536870912
maxdsiz_64bit = 1073741824
maxssiz = 8388608 ==> 67108864
maxssiz_64bit = 8388608 ==> 67108864

after commanding the system to 'Process New Kernel' i received similar error messages as with the SAM gui. This operation resulted in a shutdown after which the system doesn't boot anymore (i'm not able to access it via the console right now)!

can i somehow reboot the system with the last working kernel?

other suggestions on how to recover are welcome.


br. aspa
Mel Burslan
Honored Contributor

Re: cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with signal 11.

Marco,

to boot to an alternate kernel, interrupt your boot process in the 10 seconds given to you and at the prompt, type

boot primary

answer with "y" to the question if you want to interact with IPL.

when you drop to ISL prompt use this format:

ISL> hpux boot disk(2/4.0.0;0)/stand/vmunix.prev

the hardware path is your primary boot disk's h/w path. and assuming your previous kernel was stored as vmunix.prev, which it should be if you compiled your kernel using sam.

when it comes to your main problem, the question is, what type of system (model) is this one and how much physical memory does it have ?
________________________________
UNIX because I majored in cryptology...
DCE
Honored Contributor

Re: cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with signal 11.

If you know the name of the old (good) kernel, you can boot from it.

Interrupt the boot process during the 10 second window

enter the command

boot pri

answer yes to interact with ISL

enter the name of the backup kernel i.e. vmunix.prev



marko asplund
Frequent Advisor

Re: cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with signal 11.


the system is a rp3410 with 1 GB of memory.
Tom Schroll
Frequent Advisor

Re: cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with signal 11.

Now here's the tricky part...once you boot using vmunix.prev, you need to immediately make a manual backup of this *good* kernel (cp vmunix.prev vmunix.good) so that when you attempt to recompile the kernel a third time, you don't lose the only good kernel you have left! You could also try to copy it back to vmunix.

This can all be found in /stand.

Hope this helps.
If it ain't broke, it needs optimized.
marko asplund
Frequent Advisor

Re: cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with signal 11.

is there any good tools i could use for diagnosing whether the system memory is working properly?

br. aspa
ranganath ramachandra
Esteemed Contributor

Re: cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with signal 11.

about the original problem: it could also be an actual compiler problem (regardless of kernel parameter settings).

can you provide a .i file (preprocessor output - you can get this by adding -E to the compile line, you have to redirect the stdout to the .i file).

can you try compiling without the -g flag and see if it resolves the SIGSEGV ?

in general for problems in development, you can contact the compiler team and other developers through the hpux-devtools mailing list:
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1859,00.html#forum
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

marko asplund
Frequent Advisor

Re: cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with signal 11.

i'll post results from your suggestion once i get the system back up. it'll take about 3 weeks as i'm not at the office right now.

thanks for all the suggestions.

br. aspa