[omniORB] Segfaults on exceptions. RedHat 7.2

Maged Mokhtar maged.mokhtar@skystream.com
Thu, 6 Dec 2001 09:00:23 -0800


on my RedHat 7.2, gcc -v gives :
gcc version 2.96 20000731 ( Red Hat Linux 7.1 2.96-98 )

if i understand you correctly, compiling the OmniORB libs on redhat 
version 7.1 ( with gcc that comes with it ) is no good.
i'll give it a shot with 7.2, but am not very optimistic as the gcc version
is 
very close to 7.1

thanks a lot.


-----Original Message-----
From: Brenneis, Steve [mailto:steve.brenneis@attws.com]
Sent: Thursday, December 06, 2001 8:49 AM
To: 'omniorb-list@uk.research.att.com'
Cc: Maged Mokhtar
Subject: RE: [omniORB] Segfaults on exceptions. RedHat 7.2


Hello Maged,

What version of gcc are you using? RedHat shipped a custom version of gcc
with 7.1 that had some serious problems, especially in the areas of
exception handling and inheritance. I believe that version will spit out
2.96 (maybe 2.96.something) when you invoke gcc -v. I stepped everything on
my Linux machines back to 2.95.3 and I am using omniORB 3.0.4 with the
2.4.14 kernel without issues. I think RH 7.2 ships with the 2.4.9 kernel,
but I don't think anything happened in between that should give omniORB gas.

Steve Brenneis
WebAXE Middleware Lead Developer
AT&T Wireless Services

> -----Original Message-----
> From: Maged Mokhtar [mailto:maged.mokhtar@skystream.com]
> Sent: Thursday, December 06, 2001 11:32 AM
> To: 'omniorb-list@uk.research.att.com'
> Subject: [omniORB] Segfaults on exceptions. RedHat 7.2
> 
> 
> 
> 
> Hi all,
> 
> I am having problems using OmniORB on RedHat 7.2. 
> 
> Any exception condition will case a segmentation fault, this 
> occurs even
> with the samples shipped.
> Under normal program flow, if no exceptions are thrown, 
> things work fine.
> 
> I have downloaded version 3.04 ( RedHat 6.x ) and am using 
> the libs that
> came with it. 
> 
> Do i have to re-build the libs on the 7.2 platform ? and if 
> so what params
> for the complier and options
> ( should i use gcc / g++  ?, also i read somewhere about a 
> --enable-threads
> flag for thread safe exceptions..not 
> sure if this is related ).
> 
> Thanks for any help, i am new to both Linux and CORBA so 
> please be verbose
> (-v) as much as possible.
> cheers...
> 
> Maged Mokhtar
> Sr. Software Engineer
> SkyStream Networks
> www.skystream.com
> "Building the Broadcast Internet"
> (408) 616-3157
> 
> 
>