Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 1997 09:09:44 -0700
From:      "Russell L. Carter" <rcarter@consys.com>
To:        "Eric J. Chet" <ejc@bazzle.com>
Cc:        Amancio Hasty <hasty@rah.star-gate.com>, Jake Hamby <jehamby@lightside.com>, dob@bazzle.com, hackers@FreeBSD.ORG
Subject:   thread problem, RELENG_2_2: Re: omniORB port to FreeBSD
Message-ID:  <33831E47.5E89A044@consys.com>
References:  <Pine.BSF.3.95q.970519133213.2720A-100000@gargoyle.bazzle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Seems Amancio and Eric got omniORB working on 3.0, but I havea problem
on RELENG_2_2.  I needed to add
uthread_attr_create.c and uthread_attr_destroy.c to
lib/libc_r/uthread/Makefile.inc
and change an underscore in lib/libc/stdtime/localtime.c,
(pthread_key_create()),
now everything builds fine (with scads of warnings, but none look
relevant).

but running omniNames hangs hard on exit,
here is the output from gdb:

(gdb) run
Starting program: /u1/local/pkg/net/corba/omniORB_2.2.0/bin/omniNames
-start 22222

Tue May 20 17:11:07 1997:

Starting omniNames for the first time.
Wrote initial log file.
Read log file successfully.
Root context is
IOR:010000002000000049444c3a436f734e616d696e672f4e616d696e67436f6e746578743a312e3000010000000000000024000000010100000900000031302e302e322e350000ce560c00000033823d9b995ab31600000001

Checkpointing Phase 1: Prepare.
Checkpointing Phase 2: Commit.
Checkpointing completed.       // at this point hangs
^C
Program received signal SIGINT, Interrupt.
0x812d471 in _thread_sys_select ()
(gdb)  where
#0  0x812d471 in _thread_sys_select ()
#1  0x81025dc in _thread_kern_sched_state ()
#2  0x8101c9f in _thread_kern_sched ()
#3  0x8102158 in _thread_kern_sched_state ()
#4  0x80f5aea in accept ()
#5  0x6f26e in tcpSocketRendezvous::accept (this=0xbc280)
    at tcpSocket_UNIX.cc:737
#6  0x626f5 in tcpsock_rendezvouser::run (this=0xbd1c0, arg=0x0) at
orb.cc:516
#7  0x90930 in omni_thread::wrapper (ptr=0xbd1c0) at posix.cc:475
#8  0x8102f01 in _thread_start ()
(gdb)

Any clues?  I would prefer to get this going under RELENG_2_2, as the
system I have available (at work) keeps a slew of NT boxes under
control...  If not, is it possible to push my way to 3.0 without a
complete reinstall? (2.1->2.2 went fine with some coaxing)

Thanks,
Russell




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33831E47.5E89A044>