From owner-freebsd-hackers Wed May 21 09:10:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA18093 for hackers-outgoing; Wed, 21 May 1997 09:10:36 -0700 (PDT) Received: from mail.crl.com (mail.crl.com [165.113.1.22]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id JAA18070 for ; Wed, 21 May 1997 09:10:32 -0700 (PDT) Received: from conceptual.com ([209.60.202.194]) by mail.crl.com with SMTP id AA22018 (5.65c/IDA-1.5 for ); Wed, 21 May 1997 09:07:14 -0700 Received: from kofa (kofa.100mb.conceptual.com [10.0.1.3]) by conceptual.com (8.8.5/8.6.9) with ESMTP id JAA01536; Wed, 21 May 1997 09:09:43 -0700 (MST) Message-Id: <33831E47.5E89A044@consys.com> Date: Wed, 21 May 1997 09:09:44 -0700 From: "Russell L. Carter" Organization: Conceptual Systems & Software X-Mailer: Mozilla 4.0b4 [en] (WinNT; I) Mime-Version: 1.0 To: "Eric J. Chet" Cc: Amancio Hasty , Jake Hamby , dob@bazzle.com, hackers@FreeBSD.ORG Subject: thread problem, RELENG_2_2: Re: omniORB port to FreeBSD X-Priority: 3 (Normal) References: Content-Type: text/plain; charset=iso-8859-1 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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