[aspectc-user] Segmentation fault parsing a C++ header file

Olaf Spinczyk Olaf.Spinczyk at informatik.uni-erlangen.de
Mon Jan 2 14:50:17 CET 2006

Happy New Year!

Jorge, I can reproduce the segmentation fault when I try to compile the 
OmniORB examples with ag++. The gdb backtrace yields the same stack dump 
as the one you've posted earlier. I'll try to fix it...

- Olaf

jorgefm at cirsa.com wrote:
> Hi all and happy New Year!
> Do you remember my last posts in the list ? I attached a piece
> from the last email.
>  >>
>  >> > 4) I'm able to generate a new segmentation fault with -O2 and -O0. !!
>  >>
>  >> Not fine. Could you reproduce the crash if you preprocess the file with
>  >> g++ -E and run ccparser on the preprocessed code?
>  >>
>  >
>  >I have pre-processed the CORBA 'all include' file, and parsing the
>  >new header works ok.
>  >
>  >$ g++ -E IXaviTest.hh -I/usr/local/omni/include >> IXaviTest.hhh
>  >$ ./ccparse IXaviTest.hhh
>  >
>  >... a lot of parsing for a 587592 bytes long file ...
>  >
>  >No errors
>  >Statistics: +344293 -344293
>  >$
>  >
>  >Maybe, a bug in the recursive parsing from Puma ?
>  >
> Well, I've tested my problem against the new release 1.0pre2 with the
> same result. Do you have any clue about this behaviour in the recursive
> parsing in the Puma library ??
> Regards
> Jorge
> Aviso de Confidencialidad de E-mail La información incluida en el 
> presente correo electrónico es CONFIDENCIAL, siendo de uso exclusivo 
> para el destinatario arriba mencionado. Si Ud. lee este mensaje y no es 
> el destinatario al que va dirigido o el agente, empleado responsable de 
> entrega del mensaje al destinatario; le informamos que está prohibida 
> cualquier divulgación, distribución o reproducción de cualquier modo y 
> le rogamos que se nos notifique y devuelva el mensaje a la dirección de 
> origen, procediendo a continuación a su 
> eliminación.--------------------------------------------------------------------------------------------------------------------------------------------------------Confidentiality 
> E-mail Warning The information included in this electronic mail is 
> CONFIDENTIAL, being for of exclusive use for the recipient mentioned. If 
> you read this message and he/she is not the recipient to whon is 
> directed neither the agent, employee responsible for delivery of the 
> message to the addressee; we inform you that it is forbidden any 
> distribution or reproduction by any means and we request you to notified 
> and return the message to the sender, proceeding after that to delet it.
> ------------------------------------------------------------------------
> _______________________________________________
> aspectc-user mailing list
> aspectc-user at aspectc.org
> http://www.aspectc.org/mailman/listinfo/aspectc-user

More information about the aspectc-user mailing list