Operating System - HP-UX
1830300 Members
2104 Online
110000 Solutions
New Discussion

Bug in 11.00 ansi C preprocessor

 
Adam Weinrich
New Member

Bug in 11.00 ansi C preprocessor

Is there a patch for the following defect which causes cpp.ansi to crash? I have installed PHSS_22217 and PHSS_18066 but they did not help.

# make
cc -O -DRUSAGE -DHAVE_uint=1 -DHAVE_uint64_t=1 -DHAVE_int64_t=1 -c par_ops.c
cc: error 1405: "/opt/langtools/lbin/cpp.ansi" terminated abnormally with signal 11.
*** Error exit code 9
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor

Re: Bug in 11.00 ansi C preprocessor

Hi Adam,

I did note there is a newer patch PHSS_23781. The notes seem to indicate 11.11 but they also say 11.X. It definitely replaces cpp.ansi. I would try installing it; in the worse case you might have to roll it back out.

I did try your options on my 11i version and had no problems. Of course, I didn't have your source code.

Clay
If it ain't broke, I can fix that.
Alex Glennie
Honored Contributor

Re: Bug in 11.00 ansi C preprocessor

I suspect not as the patches appear to be the latest & greatest. It may also not necessarily be a bug

-have you considered logging a call with your local HP Response Centre or via the ITRC ?

They could analyse the core file , help isolate where the problem lies .....

useful info would be file core, what cc together with the core file itself and an eg snippet of code which demonstrates the problem.

out of interest have you passed it through say a debugger eg wdb ?
Adam Weinrich
New Member

Re: Bug in 11.00 ansi C preprocessor

The patch would not install begin it is dependent on the 11.11 ansi c and would not install even though the README says its for 11.00 too.

I have attatched the src project. I can add a core file if desired.

I havent tried to contact HP support or use a debugger on it as the coredump occurs in the preprocessor theres nothing too debug. The compiles fine under 10.20.