[omniORB] Tcl Tk together with omniORB2

Ole Storm storm@ifad.dk
Mon, 18 May 1998 11:32:14 +0200


Hi,

I am using omniORB 2.5 on linux. The compiler I use is gcc 2.7.2.

I am trying to use omniORB2 in an application that uses Tcl for the
graphical user interface. However, when my application starts, I get the
following error message:

XIO:  fatal IO error 0 (Unknown error) on X server "albani:0.0"
      after 0 requests (0 known processed) with 0 events remaining.

- and the application is terminated. The application code is newer reached,
the problem occurs during initialization.

I use Tcl v. 7.6, with Tix and itcl 2.2.

Everything works fine when compiling and linking my application without any
omniORB2 code and omniORB2 libraries!

I have used "strace" on my application, and here are the last few system
calls before my application is terminated. It makes very little sense to
me, but maybe to some of you?


(...)
mmap(0, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|0x20, 4294967295, 0) =
0x40155
000
read(6, "\0\0\0\4\202\341\210\31\0\0010\0"..., 8192) = 98
read(6, "", 8192)                       = 0
close(6)                                = 0
munmap(0x40155000, 8192)                = 0
SYS_146(0x5, 0xbffff270, 0x1, 0x5, 0)   = 12
fcntl(5, F_SETFL, O_RDONLY|O_NONBLOCK)  = 0
read(5, 0xbffff36c, 8)                  = -1 EAGAIN (Try again)
write(2, "XIO:  fatal IO error 0 (Unknown "..., 65XIO:  fatal IO error 0
(Unkn
own error) on X server "albani:0.0"
) = 65
write(2, "      after 0 requests (0 known "..., 69      after 0 requests (0
kn
own processed) with 0 events remaining.
) = 69
_exit(1)                                = ?





Have any of you experienced similar problems? Any input will be highly
appreciated!!!


Regards,

	Ole.


---------------------------------------------------------------
Ole Storm
The Institute of Applied Computer Science (IFAD)
Forskerparken 10, DK-5230 Odense M, Denmark
Phone: +45 6315 7134, Fax: +45 6593 2999, Email: storm@ifad.dk
WWW: http://www.ifad.dk
---------------------------------------------------------------