[omniORB] orb->destroy SIGSEGV (Related Question)

Johan Cronje jcronje at dsp.sun.ac.za
Sat Dec 6 10:11:35 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 05 December 2003 19:38, Duncan Grisby wrote:
> Are you able to run your code under valgrind to see if
> that traps it?
>

Are there any special parameters that must be passed to valgrind when
running a CORBA servant through it?

I ask because a while back I had some strange errors in my program,
and tried to run my program in valgrind, but valgrind kept aborting before
my server could get to orb->run() (when running it without valgrind it 
worked OK). (Turned out the error occured because I didn't do string_dup
somewhere in my servant implementation, but that's irrelevant now)

So I thought that running CORBA apps in valgrind is a no-go.

Now, after your post, I tried to run my (now working) server in valgrind,
and it (valgrind) also aborts before my server starts to wait for requests.
I get: 

omniORB: AsyncInvoker: Warning: unexpected exception caught while executing a 
task.

And then just: Aborted

So I gave up all hope of using valgrind for my CORBA apps :)

Regards
Johan

PS. I found the answer to my previous question about unbinding here:

http://www.omniorb-support.com/pipermail/omniorb-list/2002-July/021262.html

- -- 
"There is beauty in simplicity"		-- Johan Cronje
- ---------------------------------------------------------------
Johan Cronje
Digital Signal Processing / Telecommunications Group
Electrical and Electronic Engineering Department
University of Stellenbosch
http://www.dsp.sun.ac.za/~jcronje
- ---------------------------------------------------------------
GNUPG Key: http://www.dsp.sun.ac.za/~jcronje/jcronje.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iQEVAwUBP9GPPOEeclgONaRbAQKfFQgApb1KA7k2mHPNoAlUJqollwj1IDmPzrcu
nQRQj13LrYGFkajRXBj/KekF6zlWOy2gPPyxqW+NzZJPiVFRvgBIjhZgmyDnWmVj
iQwHA7aTcNgRH7QsjdEDEvDqYKkMme5qCuOZvROaZnYVR4chNNFtmskz3fKRIzBy
gtFtt7G98FGFUJFwbsrH3Yeas3/5CaU/lvRhGKq9seEm8vnZSVOeVTqpdbTmbgZj
VpaEV3wuAv7+Y+5OF8zE9YkUEY7W3ZTLOp+80+w3uovM3iOOaa9vCO/sEFd5blcz
nsQ8DlZFoAlWJJZ8VhYW8/klpy2MtUSwdZBcJzq/tMJBWDcpsTBWnw==
=RH1E
-----END PGP SIGNATURE-----




More information about the omniORB-list mailing list