[omniORB] It does not catch the exception

ERIKSSON,TOBIAS (A-Sweden,ex1) tobias_eriksson@agilent.com
Fri, 24 Nov 2000 16:59:39 +0100


Hi Stefan
 Thanx, did this happen while you were running on Linux? I read through the
man page for the gcc, and it said something about that incase it was a
certain hardware (didn't say which) and the -O option (optimization) was
used, then the -fomit-frame-pointer was also turned on. Do you know if this
applies to Intel, Linux and gcc.

 Regards


-----Original Message-----
From: Stefan Seefeld [mailto:seefelds@MAGELLAN.UMontreal.CA]
Sent: den 24 november 2000 15:23
To: omniorb-list@uk.research.att.com
Subject: Re: [omniORB] It does not catch the exception


"ERIKSSON,TOBIAS (A-Sweden,ex1)" wrote:
> 
> Hi
>  I am struggling with that the omniOrbORB::run method throws an exception
> but I cant catch it, I catch all exceptions with a catch(...) but it does
> not help, the program dies, with the following stacktrace. I am running on
> Linux (debian).

we had such a problem as well, and we figured out that it was (is) a bug in
gcc in conjunction with the optimization flag -fomit-frame-pointer. Without
that flag, all works fine.

Regards,	Stefan 
_______________________________________________________              
              
Stefan Seefeld
Departement de Physique
Universite de Montreal
email: seefelds@magellan.umontreal.ca

_______________________________________________________

      ...ich hab' noch einen Koffer in Berlin...