[omniORB] Problems with debugging omniORB programs

Bartosz Klimek bartekk@ics.agh.edu.pl
Thu, 27 Jan 2000 12:06:37 +0100 (MET)


Hello.

I have serious programs with debugging omniORB programs on Linux (Redhat
6.1). This what happens:

$ cd /usr/local/omniORB_280/src/examples/echo/
$ gdb eg2_clt
GNU gdb 4.17.0.11 with Linux support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...Segmentation fault

I also tried to run a program which didn't use omniORB at all, it didn't
include omniORB headers even. However, it was linked with omniORB2
libraries (omnithreads, omniORB2, omniGK_stub). Same effect as above. As
soon as I omitted omniORB2 and omniGK_stub in the link stage, the problem
disappeared.

I know this looks like a gdb bug (it is!) but maybe something is
misconfigured on my system?

Any help appreciated. Thanks in advance,

---
Bartosz Klimek

Distributed Systems Research Group
   Institute of Computer Science
University of Mining and Metallurgy
         Cracow, Poland

mailto:bartekk@ics.agh.edu.pl